Difference between revisions of "Template:Infobox terminal/check month"
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
Checks that it's single positional argument is a valid month name. If it is valid, expands to empty, otherwise expands to 1.
The above documentation is transcluded from Template:Infobox terminal/check month/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |