Difference between revisions of "Template:YearOrUnknown"

From Pathfinder Wiki
Line 1: Line 1:
{{#ifeq:Unknown|{{{1}}}|{{Localize|Unknown}}|{{{1|}}}}}
+
<includeonly>{{#ifeq:Unknown|{{{1}}}|{{Localize|Unknown}}|{{{1|}}}}}</includeonly><noinclude>
 +
This template takes either numeric years, or the word "uknown" as an argument.  If the argument is "Unknown" is localizes it.  Otherwise, it just returns the argument unmodified.
 +
</noinclude>

Revision as of 01:50, 3 July 2021

This template takes either numeric years, or the word "uknown" as an argument. If the argument is "Unknown" is localizes it. Otherwise, it just returns the argument unmodified.