Vorlage:Historical/en: Unterschied zwischen den Versionen
(Updating to match new version of source page) |
Tilly (Diskussion | Beiträge) K (1 Version: Portal) |
(kein Unterschied)
|
Aktuelle Version vom 15. Dezember 2019, 16:13 Uhr
<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|
|
|
}}
.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]]