Template:YearCal: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 25: | Line 25: | ||
{{#ifexpr: {{#sub:{{#var:c}}|-1}} = 1}} | 1st | Testing | {{#ifexpr: {{#sub:{{#var:c}}|-1}} = 1}} | 1st | Testing | ||
}} | }} | ||
{{#vardefine:decstart|[[{{#expr:{{#var:c}}-1}}{{#expr:{{#var:d}}-1}}1]]}} | |||
{| class="infobox" style="font-size: small" width="250px" border="0" cellpadding="0" cellspacing="0" | {| class="infobox" style="font-size: small" width="250px" border="0" cellpadding="0" cellspacing="0" | ||
Line 40: | Line 42: | ||
|- align="center" | |- align="center" | ||
| bgcolor="#c0c0c0" align="right" width="50" | '''Year:''' | | bgcolor="#c0c0c0" align="right" width="50" | '''Year:''' | ||
| | | [[{{#var:decstart}}]] · [[{{#expr:{{#var:decstart}}+1}}]] | ||
|} | |} | ||
Revision as of 18:22, 23 August 2010
Use the following to cut and paste to the top of timeline articles.
{{YearCal|<year>}}