Vorlage:Zeit: Unterschied zwischen den Versionen

Aus MN-Wiki
Zur Navigation springenZur Suche springen
Veuxin (Diskussion | Beiträge)
Versuch für Daten ohne Monate und Tage und vor dem 1. Januar 100.
Veuxin (Diskussion | Beiträge)
K Umbruchproblem gefixt.
Zeile 2: Zeile 2:
Fügt Zeitkoordinaten für die Zeitsystematik in einen Artikel ein.  
Fügt Zeitkoordinaten für die Zeitsystematik in einen Artikel ein.  
  <nowiki>{{</nowiki>Zeit|28.02.1998|13.04.2004}}
  <nowiki>{{</nowiki>Zeit|28.02.1998|13.04.2004}}
</noinclude>
</noinclude><includeonly>{{#if:{{{2|}}} | {{#ifexist:Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}} | [[Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}} {{!}} †{{#explode:{{{2|}}}|.|-3}}]] | {{#ifexist:Kategorie:{{#explode:{{{2|}}}|.|-1}} | [[Kategorie:{{#expr:floor({{#explode:{{{2|}}}|.|-1}})}}|†{{#explode:{{{2|}}}|.|-2}}-{{#explode:{{{2|}}}|.|-3}}]] [[Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}} {{!}} †{{#explode:{{{2|}}}|.|-3}}]] | [[Kategorie:{{#expr:floor(({{#explode:{{{2|}}}|.|-1}}+100)/100)}}. Jahrhundert|†{{#explode:{{{2|}}}|.|-1}}-{{#explode:{{{2|}}}|.|-2}}-{{#explode:{{{2|}}}|.|-3}}]] [[Kategorie:{{#expr:floor({{#explode:{{{2|}}}|.|-1}})}}|†{{#explode:{{{2|}}}|.|-2}}{{#explode:{{{2|}}}|.|-3}}]] }} }} }}
 
{{#if:{{{1|}}} | {{#ifexist:Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}} | [[Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}} {{!}} ∗{{#explode:{{{1|}}}|.|-3}}]] | {{#ifexist:Kategorie:{{#explode:{{{1|}}}|.|-1}} | [[Kategorie:{{#expr:floor({{#explode:{{{1|}}}|.|-1}})}}|∗{{#explode:{{{1|}}}|.|-2}}-{{#explode:{{{1|}}}|.|-3}}]] [[Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}} {{!}} ∗{{#explode:{{{1|}}}|.|-3}}]] | [[Kategorie:{{#expr:floor(({{#explode:{{{1|}}}|.|-1}}+100)/100)}}. Jahrhundert|∗{{#explode:{{{1|}}}|.|-1}}-{{#explode:{{{1|}}}|.|-2}}-{{#explode:{{{1|}}}|.|-3}}]] [[Kategorie:{{#expr:floor({{#explode:{{{1|}}}|.|-1}})}}|∗{{#explode:{{{1|}}}|.|-2}}{{#explode:{{{1|}}}|.|-3}}]] }} }} }}</includeonly>
<includeonly>
{{#if:{{{2|}}}
| {{#ifexist:Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}}
  | [[Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}} {{!}} †{{#explode:{{{2|}}}|.|-3}}]]
  | {{#ifexist:Kategorie:{{#explode:{{{2|}}}|.|-1}}
    | [[Kategorie:{{#expr:floor({{#explode:{{{2|}}}|.|-1}})}}|†{{#explode:{{{2|}}}|.|-2}}-{{#explode:{{{2|}}}|.|-3}}]] [[Kategorie:{{NtM| {{#explode:{{{2|}}}|.|-2}} }} {{#explode:{{{2|}}}|.|-1}} {{!}} †{{#explode:{{{2|}}}|.|-3}}]]
    | [[Kategorie:{{#expr:floor(({{#explode:{{{2|}}}|.|-1}}+100)/100)}}. Jahrhundert|†{{#explode:{{{2|}}}|.|-1}}-{{#explode:{{{2|}}}|.|-2}}-{{#explode:{{{2|}}}|.|-3}}]] [[Kategorie:{{#expr:floor({{#explode:{{{2|}}}|.|-1}})}}|†{{#explode:{{{2|}}}|.|-2}}{{#explode:{{{2|}}}|.|-3}}]]
    }}
  }}
}}
{{#if:{{{1|}}}
| {{#ifexist:Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}}
  | [[Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}} {{!}} ∗{{#explode:{{{1|}}}|.|-3}}]]
  | {{#ifexist:Kategorie:{{#explode:{{{1|}}}|.|-1}}
    | [[Kategorie:{{#expr:floor({{#explode:{{{1|}}}|.|-1}})}}|∗{{#explode:{{{1|}}}|.|-2}}-{{#explode:{{{1|}}}|.|-3}}]] [[Kategorie:{{NtM| {{#explode:{{{1|}}}|.|-2}} }} {{#explode:{{{1|}}}|.|-1}} {{!}} ∗{{#explode:{{{1|}}}|.|-3}}]]
    | [[Kategorie:{{#expr:floor(({{#explode:{{{1|}}}|.|-1}}+100)/100)}}. Jahrhundert|∗{{#explode:{{{1|}}}|.|-1}}-{{#explode:{{{1|}}}|.|-2}}-{{#explode:{{{1|}}}|.|-3}}]] [[Kategorie:{{#expr:floor({{#explode:{{{1|}}}|.|-1}})}}|∗{{#explode:{{{1|}}}|.|-2}}{{#explode:{{{1|}}}|.|-3}}]]
    }}
  }}
}}</includeonly>

Version vom 25. März 2012, 22:28 Uhr

Fügt Zeitkoordinaten für die Zeitsystematik in einen Artikel ein.

{{Zeit|28.02.1998|13.04.2004}}