Template:SignedAuthors: Difference between revisions
Jump to navigation
Jump to search
imported>John Stephenson (copy of Template:Authors - User:J. Noel Chiappa and/or others) |
imported>John Stephenson (modify for Signed Articles) |
||
Line 1: | Line 1: | ||
{{#if: {{{1|}}} | | {{#if: {{{1|}}} | | ||
<table class="wikitable" style="float:right; margin-left: 10px; font-size:smaller"> | <table class="wikitable" style="float:right; margin-left: 10px; font-size:smaller"> | ||
<tr><td | <tr><td>[[CZ:Signed Articles|Signed Article]] Authors: | ||
:{{#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>}}<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 14: | Line 11: | ||
'''Usage''': <code><nowiki>{{ | '''Usage''': <code><nowiki>{{SignedAuthors|Author1|Author2|...|Author10}}</nowiki></code> or <code><nowiki>{{SignedAuthors|Author1|others=<1/y>}}</nowiki></code> | ||
'''Examples''': | '''Examples''': | ||
<code><nowiki>{{ | <code><nowiki>{{SignedAuthors|J. Noel Chiappa|others=y}}</nowiki></code> gives: | ||
{{Authors|J. Noel Chiappa|others=y}} | {{Authors|J. Noel Chiappa|others=y}} | ||
<code><nowiki>{{ | <code><nowiki>{{SignedAuthors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}}</nowiki></code> gives: | ||
{{ | {{SignedAuthors|John Stephenson|Pat Palmer|Warren Schudy|J. Noel Chiappa}} | ||
</noinclude> | </noinclude> | ||
[[Category:Bylines]] | [[Category:Bylines]] |
Revision as of 05:00, 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:
Authors [about]:
join in to develop this article! |
{{SignedAuthors|John Stephenson||Pat Palmer|Warren Schudy|J. Noel Chiappa}}
gives:
Signed Article Authors: |