Änderungen

755 Bytes hinzugefügt ,  21:15, 4. Aug. 2013
K
keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:  
<noinclude>
 
<noinclude>
Diese Vorlage dient der Einbindung von Jahrestafeln in Jahresartikeln. Die Tabelle ist versteckt, damit sie keine Fehlermeldung bringt!  
+
Diese Vorlage dient der Einbindung von Jahrestafeln in Jahresartikeln und anderswo. Die Tabelle ist versteckt, damit sie keine Fehlermeldung bringt!  
 +
 
 +
===Syntax===
 +
Der aktuelle Syntax wird noch bereinigt, Ziel ist:
 +
<nowiki>{{Jahresleiste|</nowiki>''JAHR''<nowiki>}}</nowiki>
    
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{| {{Prettytable-R}}  
 
{| {{Prettytable-R}}  
| style="background-color:#FFFFCB; text-align:center" | [[{{#expr:{{PAGENAME}}-100}}|◄◄]]
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifexist: {{#expr:{{PAGENAME}}-100}} | [[{{#expr:{{PAGENAME}}-100}}|◄◄]] | {{#ifexist: Kategorie:{{{1}}}{{{2}}}. Jahrhundert | [[:Kategorie:{{{1}}}{{{2}}}. Jahrhundert|◄◄]] | - }} }}
| style="background-color:#FFFFCB; text-align:center" | [[{{#expr:{{PAGENAME}}-1}}|◄]]
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | - | [[{{#expr:{{PAGENAME}}-1}}|◄]]}}
| style="background-color:#FFFFCB; text-align:center" colspan="6" | '''Jahrestafel von {{{1}}}{{{2}}}00 bis {{{1}}}{{{2}}}99'''  
+
| style="background-color:#FFFFCB; text-align:center" colspan="6" | '''[[:Kategorie:{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert|{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert]]'''  
| style="background-color:#FFFFCB; text-align:center" | [[{{#expr:{{PAGENAME}}+1}}|►]]  
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | - | [[{{#expr:{{PAGENAME}}+1}}|►]]}}
| style="background-color:#FFFFCB; text-align:center" | [[{{#expr:{{PAGENAME}}+100}}|►►]]
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifexist: {{#expr:{{PAGENAME}}+100}} | [[{{#expr:{{PAGENAME}}+100}}|►►]] | {{#ifexist: Kategorie:{{#expr:{{{1}}}{{{2}}}+2}}. Jahrhundert | [[:Kategorie:{{#expr:{{{1}}}{{{2}}}+2}}. Jahrhundert|►►]]}} | - }}
 
|-
 
|-
 
| [[{{{1}}}{{{2}}}00]] || [[{{{1}}}{{{2}}}01]] || [[{{{1}}}{{{2}}}02]] || [[{{{1}}}{{{2}}}03]] || [[{{{1}}}{{{2}}}04]] || [[{{{1}}}{{{2}}}05]] || [[{{{1}}}{{{2}}}06]] || [[{{{1}}}{{{2}}}07]] || [[{{{1}}}{{{2}}}08]] || [[{{{1}}}{{{2}}}09]]
 
| [[{{{1}}}{{{2}}}00]] || [[{{{1}}}{{{2}}}01]] || [[{{{1}}}{{{2}}}02]] || [[{{{1}}}{{{2}}}03]] || [[{{{1}}}{{{2}}}04]] || [[{{{1}}}{{{2}}}05]] || [[{{{1}}}{{{2}}}06]] || [[{{{1}}}{{{2}}}07]] || [[{{{1}}}{{{2}}}08]] || [[{{{1}}}{{{2}}}09]]
Zeile 30: Zeile 34:  
| [[{{{1}}}{{{2}}}90]] || [[{{{1}}}{{{2}}}91]] || [[{{{1}}}{{{2}}}92]] || [[{{{1}}}{{{2}}}93]] || [[{{{1}}}{{{2}}}94]] || [[{{{1}}}{{{2}}}95]] || [[{{{1}}}{{{2}}}96]] || [[{{{1}}}{{{2}}}97]] || [[{{{1}}}{{{2}}}98]] || [[{{{1}}}{{{2}}}99]]  
 
| [[{{{1}}}{{{2}}}90]] || [[{{{1}}}{{{2}}}91]] || [[{{{1}}}{{{2}}}92]] || [[{{{1}}}{{{2}}}93]] || [[{{{1}}}{{{2}}}94]] || [[{{{1}}}{{{2}}}95]] || [[{{{1}}}{{{2}}}96]] || [[{{{1}}}{{{2}}}97]] || [[{{{1}}}{{{2}}}98]] || [[{{{1}}}{{{2}}}99]]  
 
|}
 
|}
'''Ereignisse in Fürth im Jahr {{PAGENAME}}'''
+
'''{{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | Fürth im {{PAGENAME}} | Ereignisse in Fürth im Jahr {{PAGENAME}}}}'''
__TOC__
+
 
 +
__NOTOC__
 +
<br clear=all>
 +
[[Kategorie:{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert]]
 
</includeonly>
 
</includeonly>