Template:YearCal: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
{{#ifeq: {{#var:d}} | 3 | {{#ifexpr: {{{1}}} < 0 | {{#vardefine:dlist5|0s BF}} }} }} | {{#ifeq: {{#var:d}} | 3 | {{#ifexpr: {{{1}}} < 0 | {{#vardefine:dlist5|0s BF}} }} }} | ||
{{#vardefine:clist1|{{Ord|{{#expr:{{#var:c}}-1}} }} Century {{#var:e}}}} | {{#ifeq:{{#var:e}}|NC|{{#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}}}} | |||
{| 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:03, 24 August 2010
Use the following to cut and paste to the top of timeline articles.
{{YearCal|<year>}}