Template:StarYear: Difference between revisions
Jump to navigation
Jump to search
(creating a template for random staryear.) |
(<_< *waves hand* You didn't see the extra {{) |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr: | <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> |
Revision as of 03:01, 24 February 2015
This returns the star year for a given year. Example: {{StarYear|2957}} produces Expression error: Unrecognized punctuation character ":".+377}} and {{StarYear|2005}} produces Expression error: Unrecognized punctuation character ":".+377}}