Difference between revisions of "Template:Infobox terminal/check month"
(Created page with "{{#if:{{{1|}}}|{{#switch:{{ucfirst:{{lc:{{{1}}}}}}}|January=|February=|March=|April=|May=|June=|July=|August=|September=|October=|November=|December=|#default=1}}}}") |
m (template documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#if:{{{1|}}}|{{#switch:{{ucfirst:{{lc:{{{1}}}}}}}|January=|February=|March=|April=|May=|June=|July=|August=|September=|October=|November=|December=|#default=1}}}} | + | <noinclude> |
+ | == Template == | ||
+ | </noinclude><includeonly>{{#if:{{{1|}}}<!-- | ||
+ | -->|{{#switch:{{ucfirst:{{lc:{{{1}}}}}}}<!-- | ||
+ | -->|January=<!-- | ||
+ | -->|February=<!-- | ||
+ | -->|March=<!-- | ||
+ | -->|April=<!-- | ||
+ | -->|May=<!-- | ||
+ | -->|June=<!-- | ||
+ | -->|July=<!-- | ||
+ | -->|August=<!-- | ||
+ | -->|September=<!-- | ||
+ | -->|October=<!-- | ||
+ | -->|November=<!-- | ||
+ | -->|December=<!-- | ||
+ | -->|#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. |