Template:YearCal: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
{{#ifexpr:{{{1}}}>0|{{#vardefine:aytmp|{{#expr:{{{1}}}+5875}}}}|{{#vardefine:aytmp|{{#expr:{{{1}}}+5876}}}}}} | {{#ifexpr:{{{1}}}>0|{{#vardefine:aytmp|{{#expr:{{{1}}}+5875}}}}|{{#vardefine:aytmp|{{#expr:{{{1}}}+5876}}}}}} | ||
{{#ifexpr:{{#var:aytmp}}<0|{{#vardefine:ay|{{#expr:{{#var:aytmp}} | {{#ifexpr:{{#var:aytmp}}<0|{{#vardefine:ay|{{#expr:{{#var:aytmp}}-1}}}}|{{#vardefine:ay|{{#var:aytmp}}}} }} | ||
{| style="font-size: small; float:right;" width="375px" border="0" cellpadding="0" cellspacing="0" | {| style="font-size: small; float:right;" width="375px" border="0" cellpadding="0" cellspacing="0" |
Revision as of 17:06, 31 August 2010
Use the following to cut and paste to the top of timeline articles.
{{YearCal|<year>}}