Template:StarYear: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(<_< *waves hand* You didn't see the extra {{)
(and you REALLY didn't see : Y }})
 
Line 1: Line 1:
<includeonly>{{#expr:{{{1|}}}: Y }}+377}}</includeonly><noinclude>This returns the star year for a given year. Example: <nowiki>{{StarYear|2957}}</nowiki> produces {{StarYear|2957}} and <nowiki>{{StarYear|2005}}</nowiki> produces {{StarYear|2005}} </noinclude>
<includeonly>{{#expr:{{{1|}}}+377}}</includeonly><noinclude>This returns the star year for a given year. Example: <nowiki>{{StarYear|2957}}</nowiki> produces {{StarYear|2957}} and <nowiki>{{StarYear|2005}}</nowiki> produces {{StarYear|2005}} </noinclude>

Latest revision as of 03:02, 24 February 2015

This returns the star year for a given year. Example: {{StarYear|2957}} produces 3334 and {{StarYear|2005}} produces 2382