Template:ICYear: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
(Created page with "<noinclude> Use the following to cut and paste to an entry for a year in the Neptaran Calendar. <pre><nowiki> {{NCYear|<year>}} </nowiki></pre>Category:Templates </noinclu...") |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
Use the following to cut and paste to an entry for a year in the | Use the following to cut and paste to an entry for a year in the Imperial Calendar. | ||
<pre><nowiki> | <pre><nowiki> | ||
{{ | {{ICYear|<year>}} | ||
</nowiki></pre>[[Category:Templates]] | </nowiki></pre>[[Category:Templates]] | ||
</noinclude><includeonly>{{#ifexpr:{{{1}}}>0| | </noinclude><includeonly>{{#ifexpr:{{{1}}} > 0|{{#vardefine:ncyear|{{#expr:750 + {{{1}}}}}}}|{{#vardefine:ncyear|{{#expr:751 + {{{1}}}}}}}}}{{#ifexpr:{{#var:ncyear}} > 0|{{#vardefine:ylink|{{#var:ncyear}}}}|{{#vardefine:ylink|{{abs|{{#var:ncyear}}}} BI}}}}{{#ifexpr:{{{1}}}>0|[[{{#var:ylink}}|{{{1}}} IC]]|[[{{#var:ylink}}|{{abs|{{{1}}}}} BI]]}} |
Latest revision as of 22:53, 5 August 2014
Use the following to cut and paste to an entry for a year in the Imperial Calendar.
{{ICYear|<year>}}