Template:Desc: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
m (moved Template:NoWikiTemp to Template:Desc: Easier to use this way.)
mNo edit summary
 
Line 22: Line 22:
To use this template, type:
To use this template, type:


::<b><nowiki>{{NoWikiTemp|</nowiki></b><i> Type </i><b>|</b><i> Parameters </i><b><nowiki>}}</nowiki></b>
::<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.