Template:Contribs: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>John Stephenson
('Apply to Join' link)
 
(27 intermediate revisions by 4 users not shown)
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>Authors (alphabetically listed): {{#if: {{{1|}}}|[[User:{{{1}}}|{{{1}}}]] {{!}}
<tr><td>Contributors <small>[<nowiki></nowiki>[[CZ:Author|about]]<nowiki></nowiki>]</small>:
{{#if: {{{2|}}}|[[User:{{{2}}}|{{{2}}}]] {{!}}
:{{#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. }} }}
{{#if: {{{3|}}}|[[User:{{{3}}}|{{{3}}}]] {{!}}
CZ is an open collaboration.  Please [https://forms.gle/aiW5jqp66mFaHDKU6 join these people] in developing this article!
{{#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}}}]]
}} }} }} }} }} }} }} }} }} }}
</td></tr>
</td></tr>
</table>}}<noinclude>
</table>}}<noinclude>
Example of use:
 
{{Authors|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}
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''': <code><nowiki>{{Contribs|Contributor1|Contributor2|...|Contributor10}}</nowiki></code> or <code><nowiki>{{Contribs|Contributor1|others=<1/y>}}</nowiki></code>
 
 
'''Examples''':
 
<code><nowiki>{{Contribs|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee}}</nowiki></code> gives:
 
{{Contribs|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee}}
 
<code><nowiki>{{Contribs|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee|others=y}}</nowiki></code> gives:
 
{{Contribs|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee|others=y}}


</noinclude>
</noinclude>

Latest revision as of 11:50, 15 August 2020


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|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee}} gives:

Contributors [about]:
Alice Zed | Bill Wai | Clive Ekks | David Dubble-Yu | Emily Vee

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

{{Contribs|Alice Zed|Bill Wai|Clive Ekks|David Dubble-Yu|Emily Vee|others=y}} gives:

Contributors [about]:
Alice Zed | Bill Wai | Clive Ekks | David Dubble-Yu | Emily Vee and other contributors.

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