Vorlage:Jahresleiste: Unterschied zwischen den Versionen

Aus FürthWiki
Zur Navigation springen Zur Suche springen
 
(12 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 6: Zeile 6:
 
  <nowiki>{{Jahresleiste|</nowiki>''JAHR''<nowiki>}}</nowiki>
 
  <nowiki>{{Jahresleiste|</nowiki>''JAHR''<nowiki>}}</nowiki>
  
</noinclude><includeonly>
+
</noinclude><includeonly><!--
{| {{Prettytable-R}}  
+
-->{| {{Prettytable-R}}  
| 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" | {{#ifexist: {{#expr:{{PAGENAME}}-100}} | [[{{#expr:{{PAGENAME}}-100}}|◄◄]] | {{#ifexist: Kategorie:{{{1}}}{{{2}}}. Jahrhundert | [[:Kategorie:{{{1}}}{{{2}}}. Jahrhundert|◄◄]] | - }} }}
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | - | [[{{#expr:{{PAGENAME}}-1}}|◄]]}}
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#explode:{{PAGENAME}}|. |-1}} | Jahrhundert | - | [[{{#expr:{{PAGENAME}}-1}}|◄]]}}
 
| 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" colspan="6" | '''[[:Kategorie:{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert|{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert]]'''  
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | - | [[{{#expr:{{PAGENAME}}+1}}|►]]}}
+
| style="background-color:#FFFFCB; text-align:center" | {{#ifeq: {{#explode:{{PAGENAME}}|. |-1}} | Jahrhundert | - | [[{{#expr:{{PAGENAME}}+1}}|►]]}}
 
| 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|►►]]}} | - }}
 
| 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|►►]]}} | - }}
 
|-
 
|-
Zeile 33: Zeile 33:
 
|-
 
|-
 
| [[{{{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]]  
|}
+
|}<!--
 
'''{{#ifeq: {{#sub:{{PAGENAME}}|4|4}} | Jahr | Fürth im {{PAGENAME}} | 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__
+
-->[[Kategorie:{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert]]<!--
[[Kategorie:{{#expr:{{{1}}}{{{2}}}+1}}. Jahrhundert]]
+
--></includeonly><!--
</includeonly>
+
-->[[Kategorie: Jahre]]<!--
 
+
-->[[Kategorie: Chronik]]
 
 
[[Kategorie: Jahre]]
 
[[Kategorie: Chronik]]
 

Aktuelle Version vom 4. Oktober 2022, 13:16 Uhr

Diese Vorlage dient der Einbindung von Jahrestafeln in Jahresartikeln und anderswo. Die Tabelle ist versteckt, damit sie keine Fehlermeldung bringt!

Syntax[Bearbeiten]

Der aktuelle Syntax wird noch bereinigt, Ziel ist:

{{Jahresleiste|JAHR}}