Difference between revisions of "Template:Infobox terminal/check number"

From Terminals
Jump to: navigation, search
m (template)
m
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
       -->|{{#expr:{{{1}}}}}<!--
 
       -->|{{#expr:{{{1}}}}}<!--
 
       -->|1<!--
 
       -->|1<!--
       -->|0<!--
+
       -->|<!--
 
   -->}}<!--
 
   -->}}<!--
 
   -->|1<!--
 
   -->|1<!--
-->}}</includeonly>
+
-->}}</includeonly><noinclude>
 +
 
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 23:26, 18 August 2012

Template

[edit] [history] [purge] Documentation icon Template documentation

This template checks that the single positional argument is a number.

If the argument is a number or is missing, it expands to 1, otherwise it expands to empty.