The official discord link if you wish to join the discord: https://discord.gg/j5RKwCvAFu

Support the wiki on our official Ko-Fi page or Patreon page!

Template:NoWikiTemp

From The Codex
Revision as of 21:44, 15 December 2021 by GiverOfThePeace (talk | contribs) (Created page with "{{#vardefine:parameters|{{TempCounter|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|{{{9|}}}}}}}{{#vardefine:content| {{#switch:{{#var:parameters}} |#default=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#vardefine:parameters|{{#vardefine:count16|0}}{{#vardefine:count15|0}}{{#vardefine:count14|0}}{{#vardefine:count13|0}}{{#vardefine:count12|0}}{{#vardefine:count11|0}}{{#vardefine:count10|0}}{{#vardefine:count9|0}}{{#vardefine:count8|0}}{{#vardefine:count7|0}}{{#vardefine:count6|0}}{{#vardefine:count5|0}}{{#vardefine:count4|0}}{{#vardefine:count3|0}}{{#vardefine:count2|0}}{{#vardefine:count1|0}}{{#vardefine:count|Expression error: Unrecognized punctuation character "{".}}{{#var:count}}}}{{#vardefine:content| }}    {{NoWikiTemp}}

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:

{{NoWikiTemp| 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.