Template:Extension/TypeSwitch/de

From MediaWiki.org
Jump to: navigation, search


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.
Sprache: English  • Deutsch • Ελληνικά • español • français • italiano • 日本語 • 한국어 • मराठी • Nederlands • polski • português • português do Brasil • русский • Tiếng Việt • 中文 • 中文(简体)‎ • 中文(繁體)‎