Template:Editor: Difference between revisions
Jump to navigation
Jump to search
Documentation
(valid syntaxes) |
m (repl three 's with " ") |
||
Line 1: | Line 1: | ||
{{switch|{{{1}}} | {{switch|{{{1}}} | ||
|case: 2=:'''Editors:''' [[User:{{{2}}}|{{{2}}}]] and [[User:{{{3}}}|{{{3}}}]] ''(added {{{4}}})''. | |case: 2=:'''Editors:''' [[User:{{{2}}}|{{{2}}}]] and [[User:{{{3}}}|{{{3}}}]] ''(added {{{4}}})''. <includeonly>[[Category:{{{4}}}]]</includeonly> | ||
|case: 3=:'''Editors:''' [[User:{{{2}}}|{{{2}}}]], [[User:{{{3}}}|{{{3}}}]] and [[User:{{{4}}}|{{{4}}}]] ''(added {{{5}}})''. | |case: 3=:'''Editors:''' [[User:{{{2}}}|{{{2}}}]], [[User:{{{3}}}|{{{3}}}]] and [[User:{{{4}}}|{{{4}}}]] ''(added {{{5}}})''. <includeonly>[[Category:{{{5}}}]]</includeonly> | ||
|default=:'''Editor:''' [[User:{{{1}}}|{{{1}}}]] ''(added {{{2}}})''. | |default=:'''Editor:''' [[User:{{{1}}}|{{{1}}}]] ''(added {{{2}}})''. <includeonly>[[Category:{{{2}}}]]</includeonly> | ||
}}<noinclude> | }}<noinclude> | ||
{{prot-temp}}<br> | {{prot-temp}}<br> |
Revision as of 14:20, 5 November 2008
- Editor: [[User:{{{1}}}|{{{1}}}]] (added {{{2}}}).
This high-risk template has been protected from editing to prevent vandalism. Please use the talk page to ask an administrator about making an edit to change this template. |
Accepted syntaxes for this template:
- {{Editor|editor-name|yyyy-mm-dd}}
which produces the text
- Editor: editor-name (added yyyy-mm-dd)
- {{Editor|2|editor1-name|editor2-name|yyyy-mm-dd}}
which produces the text
- Editors: editor1-name and editor2-name (added 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 (added yyyy-mm-dd)
In all cases it also inserts the page in Category:yyyy-mm-dd.