Difference between revisions of "Template:NumberOrUnknown"

From Pathfinder Wiki
(Created page with "<includeonly>{{#ifeq:0|{{{1}}}|{{Localize|Unknown}}|{{{1|}}}}}</includeonly><noinclude> This template takes either numeric years, or the word "unknown" as an argument. If the...")
 
 
(One intermediate revision by the same user not shown)
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.