Template:Author

From ChoralWiki
Revision as of 18:01, 11 November 2020 by BarryJ (talk | contribs) (Created page with "<includeonly>{{#switch:{{ucfirst: {{{1|Error}}} }} |Error ='''Error:''' <font color="red">''Please use the syntax'' {{tl|Author|''Author name''}}</font> | ='''Author:''' |2 ='...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation

Usage

Syntax for one Author
  • {{Author|Author_name|optional_text}}
which produces the text
Author: Author_name optional_text
Syntax for two Authors
  • {{Author|2|Author1_name|Author2_name|optional_text}}
which produces the text
Authors: Author1_name and Author2_name optional_text

The conjunction "and" may be replaced by inserting another parameter:

  • {{Author|2|Johann Gottfried Herder|connective=, after|Ossian}}
produces the text
Authors: Johann Gottfried Herder, after Ossian
Syntax for three Authors
  • {{Author|3|Author1_name|Author2_name|Author3_name|optional_text}}
which produces the text
Authors: Author1_name, Author2_name and Author3_name optional_text
Categorization

Whenever this template is used, the page is included in category Texts by known authors