Template:YearCal: Difference between revisions

From FeyworldWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 55: Line 55:
{{#vardefine:clist1|{{Ord|{{#expr:{{#var:c}}-1}}}} Century {{#var:e}}}}}}|{{#vardefine:clist1|{{Ord|{{#expr:{{#var:c}}+1}}}} Century {{#var:e}}}} }}
{{#vardefine:clist1|{{Ord|{{#expr:{{#var:c}}-1}}}} Century {{#var:e}}}}}}|{{#vardefine:clist1|{{Ord|{{#expr:{{#var:c}}+1}}}} Century {{#var:e}}}} }}


{{#vardefine:clist2|{{Ord|{{#var:c}}}} Century {{#var:e}}}}


{{#vardefine:clist2|{{Ord|{{#var:c}}}} Century {{#var:e}}}}
{{#ifeq:{{#var:e}}|NC|{{#vardefine:clist3|{{Ord|{{#expr:{{#var:c}}-1}}}} Century {{#var:e}}}}|{{#ifeq:{{#var:c}}|1|{{#vardefine:clist3|1st Century NC}}|{{#vardefine:clist3|{{Ord|{{#expr:{{#var:c}}+1}}}} Century {{#var:e}}}} }}}}


{| style="font-size: small; float:right;" width="350px" border="0" cellpadding="0" cellspacing="0"
{| style="font-size: small; float:right;" width="350px" border="0" cellpadding="0" cellspacing="0"

Revision as of 20:09, 24 August 2010

Use the following to cut and paste to the top of timeline articles.

{{YearCal|<year>}}