User:Will Pittenger/templates/Template List Row: Difference between revisions
Appearance
Content deleted Content added
added code tags to shortcut sample |
added new lines that appear to be needed. |
||
Line 1: | Line 1: | ||
<noinclude>__TOC__</noinclude><includeonly>|- |
<noinclude>__TOC__</noinclude><includeonly>|- |
||
|valign=top style="width:150px; overflow:auto;"|{{User:Will Pittenger/TLink|{{{Template Name}}}|User={{{User|}}}|Folder Group={{{Folder Group|}}}}}||valign=top|{{{Desc}}}||valign=top style="width:300px; overflow:auto;"|{{{Sample Code|{{User:{{{User|Will Pittenger}}}/{{{Folder Group|templates}}}/{{{Template Name}}}}}}}}{{#if:{{{shortcut|}}}|<nowiki> |
|valign=top style="width:150px; overflow:auto;"|{{User:Will Pittenger/TLink|{{{Template Name}}}|User={{{User|}}}|Folder Group={{{Folder Group|}}}}}||valign=top|{{{Desc}}}||valign=top style="width:300px; overflow:auto;"|{{{Sample Code|{{User:{{{User|Will Pittenger}}}/{{{Folder Group|templates}}}/{{{Template Name}}}}}}}}{{#if:{{{shortcut|}}}|<nowiki> |
||
|</nowiki>valign=top<nowiki>|</nowiki><code>{{tlu|{{{shortcut}}}}}</code>}}{{#if:{{{subst|}}}|<nowiki> |
|||
|</nowiki>valign=top<nowiki>|</nowiki>{{{subst}}}}}</includeonly><noinclude> |
|||
== Usage == |
== Usage == |
Revision as of 02:12, 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. |
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}}