Template talk:Contribs: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
m (Template talk:Authors moved to Template talk:Contribs: Avoiding use of the word "Authors")
imported>J. Noel Chiappa
(I can do that....)
Line 1: Line 1:
==And others==
I'd like to let us add ''and other contributor(s)'' by putting "Other" either at the front of the list or the end of the list of names.  But actually engineering this is a pain--anybody like to give it a shot? --[[User:Larry Sanger|Larry Sanger]] 11:31, 29 February 2008 (CST)
I'd like to let us add ''and other contributor(s)'' by putting "Other" either at the front of the list or the end of the list of names.  But actually engineering this is a pain--anybody like to give it a shot? --[[User:Larry Sanger|Larry Sanger]] 11:31, 29 February 2008 (CST)
: I'll do it, but not tonight. It's not too hard, actually, if you let it be ''only'' the first argument that can be "Other". (The first argument tests for being equal to "Other"; if so, evaluate to "", otherwise evaluate as now. Then at the end add another test of the first argument; if equal to "Other", evaluate to "and other contributors", otherwise "".) I'd get rid of the () because if it's just one, you can stick them instead of the "Other" argument. [[User:J. Noel Chiappa|J. Noel Chiappa]] 21:37, 9 March 2008 (CDT)

Revision as of 21:37, 9 March 2008

And others

I'd like to let us add and other contributor(s) by putting "Other" either at the front of the list or the end of the list of names. But actually engineering this is a pain--anybody like to give it a shot? --Larry Sanger 11:31, 29 February 2008 (CST)

I'll do it, but not tonight. It's not too hard, actually, if you let it be only the first argument that can be "Other". (The first argument tests for being equal to "Other"; if so, evaluate to "", otherwise evaluate as now. Then at the end add another test of the first argument; if equal to "Other", evaluate to "and other contributors", otherwise "".) I'd get rid of the () because if it's just one, you can stick them instead of the "Other" argument. J. Noel Chiappa 21:37, 9 March 2008 (CDT)