Template:YearCal: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 47: | Line 47: | ||
{{#vardefine:dlist5tmp|{{#expr:{{#var:dnow}}+20}} }} | {{#vardefine:dlist5tmp|{{#expr:{{#var:dnow}}+20}} }} | ||
{{#ifexpr: {{#var:dlist5tmp}} > -1 | {{#vardefine:dlist5|{{#var:dlist5tmp}}s NC}} | {{#vardefine:dlist5|{{abs|{{#var:dlist5tmp}}}}s BF}} }} | {{#ifexpr: {{#var:dlist5tmp}} > -1 | {{#vardefine:dlist5|{{#var:dlist5tmp}}s NC}} | {{#vardefine:dlist5|{{abs|{{#var:dlist5tmp}}}}s BF}} }} | ||
{{#ifeq: {{#var:d}} | 2 | {{#ifexpr: {{{1}}} < 0 | {{#vardefine:dlist5|0s NC}} }} }} | |||
{{#ifeq: {{#var:d}} | 1 | {{#ifexpr: {{{1}}} < 0 | {{#vardefine:dlist5|10s NC}} }} }} | |||
{| 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 18:43, 24 August 2010
Use the following to cut and paste to the top of timeline articles.
{{YearCal|<year>}}