Template:Authors: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Larry Sanger
No edit summary
imported>J. Noel Chiappa
(Change to work with any number of authors)
Line 1: Line 1:
{{#if: {{#if: {{{others|}}} | {{#ifeq: {{{others}}} | 1 | {{{4|}}} | {{{3|}}} }} | {{{5|}}} }} |
{{#if: {{{1|}}} |
<table class="wikitable" style="font-size:smaller">
<table class="wikitable" style="font-size:smaller">
<tr><td>Authors <small>[<nowiki></nowiki>[[CZ:Author Lists|about]]<nowiki></nowiki>]</small>:
<tr><td>Authors <small>[<nowiki></nowiki>[[CZ:Author Lists|about]]<nowiki></nowiki>]</small>:
Line 7: Line 7:
</table>}}<noinclude>
</table>}}<noinclude>


Lists people who contributed at least 250 words to an article; note that a human being must decide whether a person contributed 250 words, this is not determined by the template.  Lists anywhere from 1 to 10 contributors.
Lists people who contributed at least 250 words to an article; note that a human being must decide whether a person contributed 250 words, this is not determined by the template.


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.
Lists anywhere from 1 to 10 authors (the template can be expanded to include more author positions as needed).


An optional argument, "others", can be used to add the phrase "and another author" or "and other authors", as appropriate; set it to "1" to give the first, and anything else to give the second.


'''Usage''': <code><nowiki>{{Authors|Contributor1|Contributor2|...|Contributor10}}</nowiki></code> or <code><nowiki>{{Authors|Contributor1|others=<1/y>}}</nowiki></code>
'''Usage''': <code><nowiki>{{Authors|Author1|Author2|...|Author10}}</nowiki></code> or <code><nowiki>{{Authors|Author1|others=<1/y>}}</nowiki></code>




'''Examples''':
'''Examples''':


<code><nowiki>{{Authors|J. Noel Chiappa|others=y}}</nowiki></code> gives:
<code><nowiki>{{Authors|Aleta Curry|others=y}}</nowiki></code> gives:


{{Authors|J. Noel Chiappa|others=y}}
{{Authors|Aleta Curry|others=y}}


<code><nowiki>{{Authors|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}</nowiki></code> gives:
<code><nowiki>{{Authors|Martin Baldwin-Edwards||Hayford Peirce|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives:


{{Authors|Martin Baldwin-Edwards|Meg Ireland|Russell D. Jones|Hayford Peirce|Warren Schudy}}
{{Authors|Martin Baldwin-Edwards|Hayford Peirce|Warren Schudy|J. Noel Chiappa}}


</noinclude>
</noinclude>

Revision as of 20:11, 27 March 2008


Lists people who contributed at least 250 words to an article; note that a human being must decide whether a person contributed 250 words, this is not determined by the template.

Lists anywhere from 1 to 10 authors (the template can be expanded to include more author positions as needed).

An optional argument, "others", can be used to add the phrase "and another author" or "and other authors", as appropriate; set it to "1" to give the first, and anything else to give the second.

Usage: {{Authors|Author1|Author2|...|Author10}} or {{Authors|Author1|others=<1/y>}}


Examples:

{{Authors|Aleta Curry|others=y}} gives:

Authors [about]:
Aleta Curry and other contributors.

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

{{Authors|Martin Baldwin-Edwards||Hayford Peirce|Warren Schudy|J. Noel Chiappa}} gives:

Authors [about]:
Martin Baldwin-Edwards | Hayford Peirce | Warren Schudy | J. Noel Chiappa

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