Template:Contribs: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Correct documentaton after rename; improve it a bit)
imported>J. Noel Chiappa
(Add 'others' argument, per LS's suggestion)
Line 3: Line 3:
<tr><td>Contributors <small>[<nowiki></nowiki>[[CZ:Contributor Lists|about]]<nowiki></nowiki>]</small>:
<tr><td>Contributors <small>[<nowiki></nowiki>[[CZ:Contributor Lists|about]]<nowiki></nowiki>]</small>:
:{{#if: {{{1|}}}|[[User:{{{1}}}|{{{1}}}]] {{#if: {{{2|}}}|{{!}} [[User:{{{2}}}|{{{2}}}]] {{#if: {{{3|}}}|{{!}} [[User:{{{3}}}|{{{3}}}]] {{#if: {{{4|}}}|{{!}} [[User:{{{4}}}|{{{4}}}]] {{#if: {{{5|}}}|{{!}} [[User:{{{5}}}|{{{5}}}]] {{#if: {{{6|}}}|{{!}} [[User:{{{6}}}|{{{6}}}]] {{#if: {{{7|}}}|{{!}} [[User:{{{7}}}|{{{7}}}]] {{#if: {{{8|}}}|{{!}} [[User:{{{8}}}|{{{8}}}]] {{#if: {{{9|}}}|{{!}} [[User:{{{9}}}|{{{9}}}]] {{#if: {{{10|}}}|{{!}} [[User:{{{10}}}|{{{10}}}]] }} }} }} }} }} }} }} }} }} }}
:{{#if: {{{1|}}}|[[User:{{{1}}}|{{{1}}}]] {{#if: {{{2|}}}|{{!}} [[User:{{{2}}}|{{{2}}}]] {{#if: {{{3|}}}|{{!}} [[User:{{{3}}}|{{{3}}}]] {{#if: {{{4|}}}|{{!}} [[User:{{{4}}}|{{{4}}}]] {{#if: {{{5|}}}|{{!}} [[User:{{{5}}}|{{{5}}}]] {{#if: {{{6|}}}|{{!}} [[User:{{{6}}}|{{{6}}}]] {{#if: {{{7|}}}|{{!}} [[User:{{{7}}}|{{{7}}}]] {{#if: {{{8|}}}|{{!}} [[User:{{{8}}}|{{{8}}}]] {{#if: {{{9|}}}|{{!}} [[User:{{{9}}}|{{{9}}}]] {{#if: {{{10|}}}|{{!}} [[User:{{{10}}}|{{{10}}}]] }} }} }} }} }} }} }} }} }} }}
{{#if: {{{others|}}} | {{#ifeq: {{{others}}} | 1 | and another contributor | and other contributors}} }}
CZ is an open collaboration.  Please  [[Special:RequestAccount|join these people]] in developing this article!
CZ is an open collaboration.  Please  [[Special:RequestAccount|join these people]] in developing this article!
</td></tr>
</td></tr>
</table>}}<noinclude>
</table>}}<noinclude>


'''Usage''': <nowiki>{{Contribs|Contributor1|Conributor2|...|Contributor10}}</nowiki>
Lists people who contributed to an article; anywhere from 1 to 10 contributors can be given. An optional argument, "others", can be used to add the phrase "and another contributor" or "and other contributors", as appropriate; set it to "1" to give the first, and anything else to give the second.


Anywhere from 1 to 10 contributors can be given.
'''Usage''': <nowiki>{{Contribs|Contributor1|Contributor2|...|Contributor10}}</nowiki> or <nowiki>{{Contribs|Contributor1|Others=<1/y>}}</nowiki>


'''Example''': <nowiki>{{Contribs|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}</nowiki>
 
'''Examples''':
 
<nowiki>{{Contribs|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}</nowiki> gives:
 
{{Contribs|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}
 
<nowiki>{{Contribs|Larry Sanger|J. Noel Chiappa|others=y}}</nowiki> gives:
 
{{Contribs|Larry Sanger|J. Noel Chiappa|others=y}}


</noinclude>
</noinclude>

Revision as of 10:15, 10 March 2008


Lists people who contributed to an article; anywhere from 1 to 10 contributors can be given. An optional argument, "others", can be used to add the phrase "and another contributor" or "and other contributors", as appropriate; set it to "1" to give the first, and anything else to give the second.

Usage: {{Contribs|Contributor1|Contributor2|...|Contributor10}} or {{Contribs|Contributor1|Others=<1/y>}}


Examples:

{{Contribs|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}} gives:

Contributors [about]:
Martin Baldwin-Edwards | Meg Ireland | Russell D. Jones | Hayford Peirce | Warren Schudy

CZ is an open collaboration. Please join these people in developing this article!

{{Contribs|Larry Sanger|J. Noel Chiappa|others=y}} gives: