Template:In5: Difference between revisions
From Jenny Everywhere Wiki
m (Robot: Cosmetic changes) |
|||
Line 5: | Line 5: | ||
- (see NOTES below) | - (see NOTES below) | ||
--></noinclude><includeonly>{{ | --></noinclude><includeonly>{{ | ||
# switch: {{{1|5}}}<!--parameter 1 is space-count --> | #switch: {{{1|5}}}<!--parameter 1 is space-count --> | ||
| 1 = | | 1 = | ||
| 2 = | | 2 = | ||
Line 17: | Line 17: | ||
| <!--other-10--> <!-- | | <!--other-10--> <!-- | ||
-->}}<!--endswitch on 1-->{{ | -->}}<!--endswitch on 1-->{{ | ||
# ifexpr:{{{1|5}}} > 10 | {{ | #ifexpr:{{{1|5}}} > 10 | {{ | ||
#switch: {{#expr:{{{1|5}}}-10}}<!--parameter 1 is count--> | #switch: {{#expr:{{{1|5}}}-10}}<!--parameter 1 is count--> | ||
| 1 = | | 1 = | ||
Line 31: | Line 31: | ||
-->}}<!--endswitch on {1}-10 | -->}}<!--endswitch on {1}-10 | ||
-->}}<!--endifexpr {1}>10 -->{{ | -->}}<!--endifexpr {1}>10 -->{{ | ||
# ifexpr:{{{1|5}}} > 20 | {{ | #ifexpr:{{{1|5}}} > 20 | {{ | ||
#switch: {{#expr:{{{1|5}}}-20}}<!--parameter 1 is count--> | #switch: {{#expr:{{{1|5}}}-20}}<!--parameter 1 is count--> | ||
| 1 = | | 1 = | ||
Line 45: | Line 45: | ||
-->}}<!--endswitch on {1}-20 | -->}}<!--endswitch on {1}-20 | ||
-->}}<!--endifexpr {1} > 20 -->{{ | -->}}<!--endifexpr {1} > 20 -->{{ | ||
# ifexpr:{{{1|5}}} > 30 | {{ | #ifexpr:{{{1|5}}} > 30 | {{ | ||
#switch: {{#expr:{{{1|5}}}-30}}<!--parameter 1 is count--> | #switch: {{#expr:{{{1|5}}}-30}}<!--parameter 1 is count--> | ||
| 1 = | | 1 = | ||
Line 59: | Line 59: | ||
-->}}<!--endswitch on {1}-30 | -->}}<!--endswitch on {1}-30 | ||
-->}}<!--endifexpr {1} > 30 -->{{ | -->}}<!--endifexpr {1} > 30 -->{{ | ||
# ifexpr:{{{1|5}}} > 40 | {{ | #ifexpr:{{{1|5}}} > 40 | {{ | ||
#switch: {{#expr:{{{1|5}}}-40}}<!--parameter 1 is count--> | #switch: {{#expr:{{{1|5}}}-40}}<!--parameter 1 is count--> | ||
| 1 = | | 1 = | ||
Line 72: | Line 72: | ||
| 10 = | | 10 = | ||
|<!--other-none-->{{#ifexpr:{{{1|5}}}>50|<!--then | |<!--other-none-->{{#ifexpr:{{{1|5}}}>50|<!--then | ||
--><br | --><br>'''Template:in5''' - count must be 1-50 spaces,<!-- | ||
--> found: {{{1|5}}}.<br | --> found: {{{1|5}}}.<br>|<!--else-ok-->}}<!--endif | ||
-->}}<!--endswitch on {1}-40 -- | -->}}<!--endswitch on {1}-40 -- | ||
-->}}<!--endifexpr {1}>40 -- | -->}}<!--endifexpr {1}>40 -- |
Revision as of 20:51, 1 February 2012
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |