User:Will Pittenger/templates/Template List Row: Difference between revisions
Appearance
Content deleted Content added
allowed {{{shortcut}}}=0 to result in "No Shortcut Available" |
→Parameters: added note about {{{shortcut}}}=0 |
||
Line 19: | Line 19: | ||
|Sample Code||Call the template and pass any required parameters. You can call other helper templates if needed and even call the template multiple times to demo different parameters.||"{{User:{{{User|Will Pittenger}}}/{{{Folder Group|templates}}}/{{{Template Name}}}}}" |
|Sample Code||Call the template and pass any required parameters. You can call other helper templates if needed and even call the template multiple times to demo different parameters.||"{{User:{{{User|Will Pittenger}}}/{{{Folder Group|templates}}}/{{{Template Name}}}}}" |
||
|- |
|- |
||
|shortcut||Is there a shortcut to this item? If so, pass that. It is up to you to specify the complete path. However, {{tl|tlu}} will be called on your behalf to make it look like a link. To use this parameter, you must make {{{Show Shortcuts}}} a non-blank value when calling {{User:Will Pittenger/TLink|Template List Start}} to start this table. The shortcut cell will be hidden if this is blank.||Nothing |
|shortcut||Is there a shortcut to this item? If so, pass that. It is up to you to specify the complete path. However, {{tl|tlu}} will be called on your behalf to make it look like a link. To use this parameter, you must make {{{Show Shortcuts}}} a non-blank value when calling {{User:Will Pittenger/TLink|Template List Start}} to start this table. The shortcut cell will be hidden if this is blank. Note: the value "0" is special. If you pass "0", "No Shortcut Available" will be displayed.||Nothing |
||
|- |
|- |
||
|subst||Should this template be [[WP:SUBST|substed]]? If you made {{{Show Subst Col}}} a non-blank value when you called {{User:Will Pittenger/TLink|Template List Start}}, you should set this to either "Yes" or "No". The shortcut cell will be hidden if this is blank.||Nothing |
|subst||Should this template be [[WP:SUBST|substed]]? If you made {{{Show Subst Col}}} a non-blank value when you called {{User:Will Pittenger/TLink|Template List Start}}, you should set this to either "Yes" or "No". The shortcut cell will be hidden if this is blank.||Nothing |
Revision as of 02:55, 5 February 2007
Usage
Begin a table with {{User:Will Pittenger/templates/Template List Start}}
. Add rows with {{User:Will Pittenger/templates/Template List Row}}
. Use {{User:Will Pittenger/templates/Template List End}}
to end the table. Do put any text between the template calls.
Parameters
Name | Function | Default |
---|---|---|
Template Name | Pass the name of the template without any parent pages or the namespace. | None |
User | Pass the user name, minus the namespace, of the user space where this template can be found. See {{User:Will Pittenger/templates/Create Template Link}} for more information on this parameter. |
"Will Pittenger" |
Folder Group | Where in the user space of {{{User}}} this template is at. See {{User:Will Pittenger/templates/Create Template Link}} for more information on this parameter. |
"templates" |
Desc | Your description of the template. | None |
Sample Code | Call the template and pass any required parameters. You can call other helper templates if needed and even call the template multiple times to demo different parameters. | "{{User:Will Pittenger/templates/{{{Template Name}}}}}" |
shortcut | Is there a shortcut to this item? If so, pass that. It is up to you to specify the complete path. However, {{tlu}} will be called on your behalf to make it look like a link. To use this parameter, you must make {{{Show Shortcuts}}} a non-blank value when calling {{User:Will Pittenger/templates/Template List Start}} to start this table. The shortcut cell will be hidden if this is blank. Note: the value "0" is special. If you pass "0", "No Shortcut Available" will be displayed. |
Nothing |
subst | Should this template be substed? If you made {{{Show Subst Col}}} a non-blank value when you called {{User:Will Pittenger/templates/Template List Start}} , you should set this to either "Yes" or "No". The shortcut cell will be hidden if this is blank. |
Nothing |
See Also
{{User:Will Pittenger/templates/Template List Start}}
{{User:Will Pittenger/templates/Template List End}}