Template:Authors: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>J. Noel Chiappa
(Change to work with any number of authors)
imported>J. Noel Chiappa
(Update instructions per proposal, fix "others" text)
Line 2: Line 2:
<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>:
:{{#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: {{{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 author. | and other authors. }} }}
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>


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 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. Authors should be listed according to the order of how much text was added to the article.


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


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|Author1|Author2|...|Author10}}</nowiki></code> or <code><nowiki>{{Authors|Author1|others=<1/y>}}</nowiki></code>
'''Usage''': <code><nowiki>{{Authors|Author1|Author2|...|Author10}}</nowiki></code> or <code><nowiki>{{Authors|Author1|others=<1/y>}}</nowiki></code>

Revision as of 20:22, 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. Authors should be listed according to the order of how much text was added to the article.

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 authors.

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!