Template:Editor

From ChoralWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Documentation

Accepted syntaxes for this template:

  • {{Editor|editor-name|yyyy-mm-dd}}

which produces the text

Editor: editor-name (submitted yyyy-mm-dd)
  • {{Editor|2|editor1-name|editor2-name|yyyy-mm-dd}}

which produces the text

Editors: editor1-name and editor2-name (submitted yyyy-mm-dd)
  • {{Editor|3|editor1-name|editor2-name|editor3-name|yyyy-mm-dd}}

which produces the text

Editors: editor1-name, editor2-name and editor3-name (submitted yyyy-mm-dd)


Syntax with the |edtype= parameter:

To change the word Editor(s) to, say, Contributor(s), add the optional parameter |edtype=Contributor, as in the following example:

  • {{Editor|3|editor1-name|editor2-name|editor3-name|yyyy-mm-dd|edtype=Contributor}}

which produces the text

Contributors: editor1-name, editor2-name and editor3-name (submitted yyyy-mm-dd)

For contributors, the above syntax can be simplified by using the Contributor template, as follows:

  • {{Contributor|3|editor1-name|editor2-name|editor3-name|yyyy-mm-dd}}


Syntax with the |alted= parameter:

To provide an alternate form of the editor-name, use |alted=alternate-editor-name, and similarly for alternate forms for the 1st, 2nd, and 3rd editor-names: |alted1=alternate-editor1-name, |alted2=alternate-editor2-name, and |alted3=alternate-editor3-name.


In all cases it also inserts the page in Category:yyyy-mm-dd.