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>John Stephenson
m (examples)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#if: {{{1|}}} |
{{#if: {{{1|}}} |
<table class="wikitable" style="font-size:smaller">
<table class="wikitable" style="float:right; margin-left: 10px; font-size:smaller">
<tr><td>Authors <small>[<nowiki></nowiki>[[CZ:Author Lists|about]]<nowiki></nowiki>]</small>:
<tr><td>Authors <small>[<nowiki></nowiki>[[CZ:Author|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. | and others. }} }}
CZ is an open collaboration. Please [[Special:RequestAccount|join these people]] in developing this article!
<center>CZ is an open collaboration. Please <br />[https://forms.gle/aiW5jqp66mFaHDKU6 join in] to develop this article!</center>
</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>
Line 18: Line 19:
'''Examples''':
'''Examples''':


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


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


<code><nowiki>{{Authors|Martin Baldwin-Edwards||Hayford Peirce|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives:
<code><nowiki>{{Authors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives:


{{Authors|Martin Baldwin-Edwards|Hayford Peirce|Warren Schudy|J. Noel Chiappa}}
{{Authors|John Stephenson|Pat Palmer|Warren Schudy|J. Noel Chiappa}}


</noinclude>
</noinclude>
[[Category:Bylines]]

Latest revision as of 09:07, 21 December 2020


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|J. Noel Chiappa|others=y}} gives:

Authors [about]:
J. Noel Chiappa and others.
CZ is an open collaboration. Please
join in to develop this article!

{{Authors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}} gives:

Authors [about]:
John Stephenson | Pat Palmer | Warren Schudy | J. Noel Chiappa
CZ is an open collaboration. Please
join in to develop this article!