Template:Extension/TypeSwitch/de/Doc
From MediaWiki.org
< Template:Extension | TypeSwitch | de
| This is a documentation subpage for Template:Extension/TypeSwitch/de (see that page for the template itself). It contains usage information, categories, interlanguage links and other content that is not part of the original template page. |
Template:Extension/TypeSwitch/de
Ziel [edit]
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 [edit]
{{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.