Template:AeYear: Difference between revisions
From FeyworldWiki
Jump to navigationJump to search
mNo edit summary Tag: Manual revert |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
{{AeYear|<year>}} | {{AeYear|<year>}} | ||
</nowiki></pre>[[Category:Templates]] | </nowiki></pre>[[Category:Templates]] | ||
</noinclude><includeonly>{{#ifexpr:{{{1}}} > | </noinclude><includeonly><!-- Converting the Aebasan Year (positive or negative) into the NC year -->{{#ifexpr:{{{1}}} < 0|{{#vardefine:ncyear|{{#expr:{{{1}}}-5875}}}}|{{#ifexpr:{{{1}}} > 5875|{{#vardefine:ncyear|{{#expr:{{{1}}}-5875}}}}|{{#vardefine:ncyear|{{#expr: {{{1}}}-5876}}}}}}}}<!-- Creating the number for the link for the year page; positive years are just the number, negative years need to have ' BF' appended -->{{#ifexpr:{{#var:ncyear}} > 0|{{#vardefine:ylink|{{#var:ncyear}}}}|{{#vardefine:ylink|{{abs|{{#var:ncyear}}}} BF}}}}<!-- Creating the year link for the year page; if the Ae year is positive, append ' AT', if negative, append ' MT' -->{{#ifexpr:{{{1}}}>0|[[{{#var:ylink}}|{{{1}}} AT]]|[[{{#var:ylink}}|{{abs|{{{1}}}}} MT]]}} | ||
Latest revision as of 16:08, 22 June 2026
Use the following to cut and paste to an entry for a year in the Aebasan Calendar.
{{AeYear|<year>}}