Template:Desc: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(Created page with "{{#vardefine:parameters|{{TempCounter|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}}{{#vardefine:content| {{#switch:{{#var:parameters}} |1=<b>{{!}}</...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 22: | Line 22: | ||
To use this template, type: | To use this template, type: | ||
::<b><nowiki>{{ | ::<b><nowiki>{{Desc|</nowiki></b><i> Type </i><b>|</b><i> Parameters </i><b><nowiki>}}</nowiki></b> | ||
Explanations: | Explanations: |
Latest revision as of 03:23, October 23, 2011
{{Desc}}
Purpose
This template is a shortcut to entering the information of what to type to use a template. It displays it in a easily readable form, the same format as seen below under usage. This template is only to be used in the description sections of other templates, after the <noinclude> tag. This template automatically indents by four "em"'s, which is the same width as two consecutive colons at the beginning of a line would indent in wikicode.
Usage
To use this template, type:
- {{Desc| Type | Parameters }}
Explanations:
- Type
- If you want the template explanation to have "Subst:" before the name, type "Substitute" for this option. For a standard template with multiple parameters, type "Normal". For a template that has the last parameter being optional, type "Optional".
- Parameters
- List the template's parameters here. Separate each one with a vertical line |. This template currently supports up to eight parameters listed in this place.
If there are no parameters, just leave that field blank.