Vorlage:Empty doc

Aus Terraria Wiki
Wechseln zu: Navigation, Suche

Verwendung[Quelltext bearbeiten]

Use this template where {{doc}} won’t work for code or wiki reasons (e.g. {{kb}}). Can also work to document {{Test}} or its alternatives (e.g. {{Test2}}).

Parameter Usage[Quelltext bearbeiten]

{{empty doc|<br>documentation<br> |bypass=1|nocat=yes}}

Documentation[Quelltext bearbeiten]

Here, put the exact documentation for the template. Feel free to use sections and other wiki codes, as the template won’t break with most of these.

One huge exception: You must always nowiki = signs, as the template normally reads it as an extra parameter.
(Like so: &lt;nowiki&gt;=</nowiki>)

Bypass=1 (or yes) (Optional)[Quelltext bearbeiten]

Use this on templates which have a /doc, but you still want to put an empty doc on it. Put this when you are adding this to Template:Test.

Nocat=yes (or y) (Optional)[Quelltext bearbeiten]

Put this if you don’t want it to add a page into Kategorie:Vorlagen ohne Dokumentation. This may happen in demonstrations of the template, where you don’t want to put documentation.

Subpages[Quelltext bearbeiten]