Vorlage:Historical/en

Aus Martial Arts Wiki
Version vom 15. Dezember 2019, 16:13 Uhr von Tilly (Diskussion | Beiträge)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

<languages /> {{#switch: | = {{#invoke:Message box|ambox}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Historical|noshift=1}}

}}

{{#switch:<translate></translate> | = {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Documentation|noshift=1}}

}}{{#if:== Usage == {{Historical|Foo [[test]] foo.}}

creates:

{{#switch:<translate></translate> | = {{#invoke:Message box|ambox}} | #default=

 {{#invoke:Template translation|renderTranslatedTemplate|template=Template:Historical|noshift=1}}

}}[[Category:Pages kept for historical interest{{#translation:}}]] This template adds pages to {{#ifeq:Kategorie:Pages kept for historical interest|

 |

}}{{#ifexist:Translations:{{#if:Kategorie|Kategorie:}}Pages kept for historical interest/Page display title/{{#ifeq:{{#invoke:Template translation|getLanguageSubpage|}}|en |{{#ifeq:{{#titleparts:Historical/en||-1}}|en |{{#invoke:Template translation|getLanguageSubpage|}} }} |{{#invoke:Template translation|getLanguageSubpage|}} }} |{{#if: | |{{ {{#invoke:Template translation|getTranslatedTemplate|uselang=|tntns=|template={{#if:|{{{template}}}|Translations:{{#if:Kategorie|Kategorie:}}Pages kept for historical interest/Page_display_title}}|noshift=}} }} }} |{{#if: |Pages kept for historical interest |Category:Pages kept for historical interest }} }}{{#ifeq:Kategorie:Pages kept for historical interest|

 |

}} .

See also

Templatedata

<templatedata> { "description": "Template to mark a page as historical.", "params": { "1": { "label": "Extra message", "type": "string", "description": "Additional text to add at the end of the message." } } } </templatedata>| [[Category:Template documentation pages{{#translation:}}]] }}

[[Category:Categorizing templates{{#translation:}}|Historical/en]] [[Category:Info templates{{#translation:}}|Historical/en]]