Sjabloon:Aantal dagen: verschil tussen versies

Uit Tribalwars Wiki NL
Naar navigatie springen
(Nieuwe pagina aangemaakt met '{{#ifeq:{{NAMESPACE}}|||{{Aantal dagen/Exp|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 r...')
 
k (Tekst vervangen door "{{#expr: + {{Gregorian serial date |maand = {{{maand2|{{CURRENTMONTH}}}}} |dag = {{{dag2|{{CURRENTDAY}}}}} ...")
 
Regel 1: Regel 1:
{{#ifeq:{{NAMESPACE}}|||{{Aantal dagen/Exp|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 > {{{maand|{{{month|12}}}}}}
{{#expr:
| {{#expr: {{#expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{jaar|{{{year|2005}}}}}} }}
        + {{Gregorian serial date
| {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 < {{{maand|{{{month|12}}}}}}
                      |maand = {{{maand2|{{CURRENTMONTH}}}}}
    | {{#expr: {{#expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{jaar|{{{year|2005}}}}}} - 1 }}
                      |dag = {{{dag2|{{CURRENTDAY}}}}}
    | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{dag|{{{day|31}}}}}}
                      |jaar = {{{jaar2|{{CURRENTYEAR}}}}}
      | {{#expr: {{#expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{jaar|{{{year|2005}}}}}} }}
          }}
      | {{#expr: {{#expr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0}} - {{{jaar|{{{year|2005}}}}}} - 1 }}
        - {{Gregorian serial date
      }}
                      |maand = {{{maand1|{{CURRENTMONTH}}}}}
  }}
                      |dag = {{{dag1|{{CURRENTDAY}}}}}
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{dag|{{{day|31}}}}}}
                      |jaar = {{{jaar1|{{CURRENTYEAR}}}}}
| {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|31}}}}}} >= 0
          }} }}
    | {{#expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|12}}}}}} }}
    | {{#expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|12}}}}}} + 12 }}
  }}
| {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|31}}}}}} > 0
    | {{#expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|12}}}}}} - 1 }}
    | {{#expr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 - {{{maand|{{{month|12}}}}}} + 11 }}
  }}
}}|{{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 >= {{{dag|{{{day|31}}}}}} | {{#expr: {{#expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{dag|{{{day|31}}}}}} }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 5 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 7 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 10 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 12 | {{#expr: {{#expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{dag|{{{day|31}}}}}} + 30 }} | {{#ifexpr: (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 1 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 2 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 4 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 6 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 8 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 9 or (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0) - (((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0)*100 = 11 | {{#expr: {{#expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{dag|{{{day|31}}}}}} + 31 }} | {{#ifexpr: ((({{#time: YmdHis}} / 1000000) round 0)) /10000 round 0 mod 4 = 0 | {{#expr: {{#expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{dag|{{{day|31}}}}}} + 29 }} | {{#expr: {{#expr: (((({{#time: YmdHis}} / 1000000) round 0))) - (((({{#time: YmdHis}} / 1000000) round 0)) /100 round 0)*100 }} - {{{dag|{{{day|31}}}}}} + 28 }} }} }} }} }}}}}}

Huidige versie van 13 aug 2013 om 12:01

0