Template talk:Editions: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
mNo edit summary
(reply to Carlos)
Line 12: Line 12:
Cases 0 and 1 are just to be prepared for the worst, in case someone uses it improperly. :) <br>
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)
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)
: Hi Carlos.  "Mulitple" has meant either "nobody has counted recently", or it has been used in the case of multipart works which have varying numbers of editions for various sections on the works page.  Personally, I don't think your suggestion is as intutive as the one used at present, even if it might be shorter to use (in the case of "multiple" edtions).  On the other hand, your coding is backwards compatible, so I've no objection to expanding it. -- [[User:CHGiffen|Chuck]][[User talk:CHGiffen|<sub><small>'''talk'''</small></sub>]]&nbsp;[[User:Charles H. Giffen|Giffen]][[Charles H. Giffen|<sub>'''♫'''</sub>]] 07:57, 27 June 2008 (PDT)

Revision as of 14:57, 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)

Hi Carlos. "Mulitple" has meant either "nobody has counted recently", or it has been used in the case of multipart works which have varying numbers of editions for various sections on the works page. Personally, I don't think your suggestion is as intutive as the one used at present, even if it might be shorter to use (in the case of "multiple" edtions). On the other hand, your coding is backwards compatible, so I've no objection to expanding it. -- Chucktalk Giffen 07:57, 27 June 2008 (PDT)