Vorlage:Kategorie-Rollendes Material-Epoche: Unterschied zwischen den Versionen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly><!-- | <includeonly><!-- | ||
-->{{#ifeq:{{#sub:{{{1|}}}|0|1}} | -->{{#ifeq:{{#sub:{{{1|}}}|0|1}} | ||
|\ | |\ | ||
|{{#vardefine:y|{{#explode:{{{1|}}}|\|1}}}}<!-- | |{{#vardefine:y|{{#explode:{{{1|}}}|\|1}}}}<!-- | ||
− | -->{{#switch:{{{{#var:y}} | + | -->{{#switch:{{Infobox-Epoche|{{#var:y}}}} |
− | | | + | |div=[[Kategorie:XYZ]] |
− | + | |#default=[[Kategorie:Modell Epoche {{Infobox-Epoche|{{#var:y}}}}]] | |
}}<!-- | }}<!-- | ||
-->{{#vardefine:x|{{{1|}}}}}<!-- | -->{{#vardefine:x|{{{1|}}}}}<!-- | ||
Zeile 16: | Zeile 11: | ||
-->{{#while: | -->{{#while: | ||
|{{#vardefine:y|{{#explode:{{#var:x}}|\|{{#var:i}}}}}}{{#if:{{#var:y}}|true}} | |{{#vardefine:y|{{#explode:{{#var:x}}|\|{{#var:i}}}}}}{{#if:{{#var:y}}|true}} | ||
− | |{{#switch:{{{{#var:y}} | + | |{{#switch:{{Infobox-Epoche|{{#var:y}}}} |
− | | | + | |div=[[Kategorie:XYZ]] |
− | + | |#default=[[Kategorie:Modell Epoche {{Infobox-Epoche|{{#var:y}}}}]] | |
}}<!-- | }}<!-- | ||
-->{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | -->{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | ||
}} | }} | ||
− | |{{#switch:{{{{{1}}} | + | |{{#switch:{{Infobox-Epoche|{{{1}}}}} |
− | | | + | |div=[[Kategorie:XYZ]] |
− | + | |#default=[[Kategorie:Modell Epoche {{Infobox-Epoche|{{{1}}}}}]] | |
}} | }} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
{{Dokumentation}} | {{Dokumentation}} | ||
− | [[Kategorie:Vorlage Infobox| | + | [[Kategorie:Vorlage Infobox-Kategorie|Rollendes Material-Epoche]] |
</noinclude> | </noinclude> |