Jump to content

Template:Dash year and Template:Dash year/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m Protected "Template:Dash year": semi-protecting highly-visible templates in response to recent template-space vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (ind...
 
No edit summary
 
Line 1: Line 1:
<includeonly>{{{1}}}–{{padleft:{{#expr:{{{2|({{{1}}} + {{{range|1}}})}}} {{#ifexpr:trunc(({{{2|{{{1}}} + {{{range|1}}}}}}) / 100) = trunc({{{1}}} / 100)|mod 100}}}}|2}}</includeonly><noinclude>{{Template doc}}</noinclude>
<includeonly>{{{1}}}–{{#if:{{{notrunc|}}}|{{#expr:{{{2|({{{1}}} + {{{range|1}}})}}}|{{padleft:{{#expr:{{{2|({{{1}}} + {{{range|1}}})}}}<!--trucation
-->{{#ifexpr:trunc(({{{2|{{{1}}} + {{{range|1}}}}}}) / 100) = trunc({{{1}}} / 100)|mod 100}}<!--ok-->}}|2}}
}}<!--expr-->}}</includeonly><noinclude>{{Documentation}}</noinclude>