Template:Contribs: Difference between revisions
imported>J. Noel Chiappa m (Organize text better) |
imported>J. Noel Chiappa (Larry's hack) |
||
Line 1: | Line 1: | ||
{{#if: {{{5|}}}| | {{#if: {{#if: {{{others|}}} | {{#ifeq: {{{others}}} | 1 | {{{4|}}} | {{{3|}}} }} | {{{5|}}} }} | | ||
<table class="wikitable" style="font-size:smaller"> | <table class="wikitable" style="font-size:smaller"> | ||
<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>: | ||
Line 7: | Line 7: | ||
</table>}}<noinclude> | </table>}}<noinclude> | ||
Lists people who contributed to an article; anywhere from 1 to 10 contributors can be given. The template can be expanded to include more contributor positions as needed. Note: nothing displays until at least 5 contributors are noted. | Lists people who contributed to an article; anywhere from 1 to 10 contributors can be given. (The template can be expanded to include more contributor positions as needed.) Note: nothing displays until at least 5 contributors are noted. | ||
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. | 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. Note that the needed number of named contributors is adjusted if "others" is present; 4 for "1" and 3 otherwise. | ||
Revision as of 10:38, 12 March 2008
Lists people who contributed to an article; anywhere from 1 to 10 contributors can be given. (The template can be expanded to include more contributor positions as needed.) Note: nothing displays until at least 5 contributors are noted.
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. Note that the needed number of named contributors is adjusted if "others" is present; 4 for "1" and 3 otherwise.
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]:
CZ is an open collaboration. Please join these people in developing this article! |
{{Contribs|Larry Sanger|J. Noel Chiappa|Chris Day|David E. Volk|Milton Beychok|others=y}}
gives:
Contributors [about]:
CZ is an open collaboration. Please join these people in developing this article! |