Template:SignedAuthors: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>John Stephenson
(modify for Signed Articles)
imported>John Stephenson
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
:{{#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. }} }}
:{{#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. }} }}
</td></tr>
</td></tr>
</table>}}<noinclude>
</table>}}[[Category:Signed Article Subpages]]<noinclude>


The template 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).
Line 18: Line 18:
<code><nowiki>{{SignedAuthors|J. Noel Chiappa|others=y}}</nowiki></code> gives:
<code><nowiki>{{SignedAuthors|J. Noel Chiappa|others=y}}</nowiki></code> gives:


{{Authors|J. Noel Chiappa|others=y}}
{{SignedAuthors|J. Noel Chiappa|others=y}}


<code><nowiki>{{SignedAuthors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives:
<code><nowiki>{{SignedAuthors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives:

Latest revision as of 05:07, 28 February 2021


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: {{SignedAuthors|Author1|Author2|...|Author10}} or {{SignedAuthors|Author1|others=<1/y>}}


Examples:

{{SignedAuthors|J. Noel Chiappa|others=y}} gives:

Signed Article Authors:
J. Noel Chiappa and others.

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

Signed Article Authors:
John Stephenson | Pat Palmer | Warren Schudy | J. Noel Chiappa