de
Jump to navigation
Jump to search
50px Template documentation[view] [edit] [history] [{{ Template:TNTN |purge}}]
Ziel
Diese Vorlage ist eine Hilfsvorlage für Template:Extension/de. Es nimmt einen Erweiterungstyp als einen Parameter und erstellt den Wikimarkup, der mit diesem Typ verbunden ist. Wenn Sie einen neuen Typ hinzufügen möchten, fügen Sie es bitte zu dieser switch-Anweisung hinzu. Fügen Sie es nicht direkt zur Template:Extension/de hinzu.
Verwendung
{{Extension/TypeSwitch/de|type}}
- type - a type. For legal values, see documentation for Template:Extension. In additional to the legal values, two special values exist to facilitate the coding of Template:Extension:
_demomode_
- suppresses the addition of categories. The type name that should be displayed is passed as the second parameter, e.g.{{Extension/TypeSwitch|_demomode_|tag}}
. Template:Extension uses this as its value when the template is in demo mode so that it doesn't add category links to the host page._missing_
- adds the host page to Category:Extensions with invalid or missing type but does not display a label. Template:Extension uses this as its value when no type parameter was provided.
The above documentation is transcluded from Template:Extension/TypeSwitch/de/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |