Difference between revisions of "Template:NumberOrUnknown"
From Pathfinder Wiki
DesignerThan (talk | contribs) m (DesignerThan moved page Template:YearOrUnknown (Cargo) to Template:NumberOrUnknown without leaving a redirect) |
DesignerThan (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{#ifeq:0|{{{1}}}|{{Localize|Unknown}}|{{{1|}}}}}</includeonly><noinclude> | + | <includeonly>{{#ifeq:0|{{{1|0}}}|{{Localize|Unknown}}|{{{1|}}}}}</includeonly><noinclude> |
This template takes either numeric years, or the word "unknown" as an argument. If the argument is 0 it outputs localized "Unknown". Otherwise, it just returns the argument unmodified. | This template takes either numeric years, or the word "unknown" as an argument. If the argument is 0 it outputs localized "Unknown". Otherwise, it just returns the argument unmodified. | ||
</noinclude> | </noinclude> |
Latest revision as of 14:26, 11 January 2025
This template takes either numeric years, or the word "unknown" as an argument. If the argument is 0 it outputs localized "Unknown". Otherwise, it just returns the argument unmodified.