Template talk:Editions: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(Multiple editions)
 
mNo edit summary
Line 10: Line 10:
  <nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude> </nowiki>
  <nowiki>[[Category:Templates|{{PAGENAME}}]]</noinclude> </nowiki>


Cases 0 and 1 are just to be prepared for the worst, in case someone uses it improperly. :) -- [[User:Carlos|Carlos]]<sup><small>[[User talk:Carlos|Talk]]</small></sup> 04:36, 27 June 2008 (PDT)
Cases 0 and 1 are just to be prepared for the worst, in case someone uses it improperly. :) <br>
By the way, when does it start to be "multiple", after 9 editions? -- [[User:Carlos|Carlos]]<sup><small>[[User talk:Carlos|Talk]]</small></sup> 04:36, 27 June 2008 (PDT)

Revision as of 11:38, 27 June 2008

Hi Chuck, what do you think of using {{editions|n}} instead of {{editions|multiple}}? The code for it would be:

{{switch|{{{1}}} 
|case: n=''(multiple editions available{{{2|}}})'' 
|case: 0=''(no editions available{{{2|}}})'' 
|case: 1=''(one edition available{{{2|}}})'' 
|default=''({{{1}}} editions available{{{2|}}})'' 
}}<noinclude> 
[[Category:Templates|{{PAGENAME}}]]</noinclude> 

Cases 0 and 1 are just to be prepared for the worst, in case someone uses it improperly. :)
By the way, when does it start to be "multiple", after 9 editions? -- CarlosTalk 04:36, 27 June 2008 (PDT)