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: | {{#ifexpr:{{#var:aytmp}}<0|{{#vardefine:ay2|{{#expr:{{#var:aytmp}}-1}}}}|{{#vardefine:ay2|{{#var:aytmp}}}} }} | ||
{{#ifexpr:{{#var:ay2}}>0|{{#vardefine:ay|{{#var:ay2}} AC}}|{{#vardefine:ay|{{Abs|{{#var:ay2}}}} BA}}}} | |||
{| 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:42, 31 August 2010
Use the following to cut and paste to the top of timeline articles.
{{YearCal|<year>}}