Template:Editions: Difference between revisions
Jump to navigation
Jump to search
(add includeonly) |
(adding a before) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>( | <includeonly> ({{spc}}''{{#switch: {{{1|}}} | ||
|0 =no editions available | |||
|1 =one edition available | |||
|n | |||
|x =multiple editions available | |||
| =<font color=red>Error: please specify number of editions</font> | |||
|{{{1}}} editions available}}{{{2|}}}''{{spc}})</includeonly><noinclude> | |||
{{DisplayBox|title=Documentation|text= | |||
;Usage: | |||
*{{tl|editions|0}} or <br>{{tl|editions|no}} display | |||
*:{{editions|0}} | |||
*{{tl|editions|1}} displays | |||
*:{{editions|1}} | |||
*{{tl|editions|2}} (3,4,5 etc.) displays | |||
*:{{editions|2}} | |||
*{{tl|editions|x}} or <br>{{tl|editions|n}} or <br>{{tl|editions|multiple}} display | |||
*:{{editions|n}} | |||
*{{tl|editions}} (without a parameter) displays | |||
*:{{editions}} | |||
}} | |||
[[Category:Templates]]</noinclude> |