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

From Terminals
Jump to: navigation, search
m (indent)
m (template documentation)
 
Line 1: Line 1:
{{#if:{{{1|}}}<!--
+
<noinclude>
 +
== Template ==
 +
</noinclude><includeonly>{{#if:{{{1|}}}<!--
 
-->|{{#switch:{{ucfirst:{{lc:{{{1}}}}}}}<!--
 
-->|{{#switch:{{ucfirst:{{lc:{{{1}}}}}}}<!--
 
   -->|January=<!--
 
   -->|January=<!--
Line 15: Line 17:
 
   -->|#default=1<!--
 
   -->|#default=1<!--
 
   -->}}<!--
 
   -->}}<!--
-->}}
+
-->}}</includeonly><noinclude>
 +
 
 +
{{Documentation}}
 +
</noinclude>

Latest revision as of 19:08, 19 August 2012

Template

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

Checks that it's single positional argument is a valid month name. If it is valid, expands to empty, otherwise expands to 1.