Welcome to Wars Wiki!
Welcome to Wars Wiki. Please log in or create an account to make changes.

Template:NoWikiTemp/doc: Difference between revisions

From Wars Wiki
Jump to navigationJump to search
(New page: ==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. ...)
 
mNo edit summary
 
Line 5: Line 5:
To use this template, type:
To use this template, type:


::<b><nowiki>{{NoWikiTemp|</nowiki></b><i> Type </i><b>|</b><i> Number of Preferences </i><b>|</b><i> Preferences </i><b><nowiki>}}</nowiki></b>
::'''<nowiki>{{NoWikiTemp|</nowiki>''''' Type '''''|''''' Number of Preferences '''''|''''' Preferences '''''<nowiki>}}</nowiki>'''


Explanations
Explanations

Latest revision as of 13:34, 19 April 2023

Purpose[edit source]

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[edit source]

To use this template, type:

{{NoWikiTemp| Type | Number of Preferences | Preferences }}

Explanations

  • Type
    • if you want the template explanation to have "Subst:" before the name, type "Substitute" for this option. Otherwise, type "Normal"
  • Number of Preferences
    • The number of preferences to have included. This template currently supports from 0 to 8 preferences.
  • Preferences
    • List the template's preferences here. Separate each one with a vertical line |.

If the number of preferences is zero, then leave the Preferences and Number of Preferences fields blank.