Template:Translator: Difference between revisions

From ChoralWiki
Jump to navigation Jump to search
(if name exists on main namespace or on user namespace, link to it)
(Added some other examples.)
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
:''{{{alt|Translation by}}} {{#ifexist:{{{1}}}|[[{{{1}}}]]|{{#ifexist:User:{{{1}}}|[[User:{{{1}}}|{{{1}}}]]|{{{1}}} }}}}{{{2|}}} {{#ifeq:{{{cat|}}}|no|<!-- if cat=no, do not categorize -->|[[Category:{{{user|{{{1}}}}}} translations]]}}<noinclude>
:''{{{alt|Translation by}}} {{#ifexist:{{{1}}}|[[{{{1}}}]]|{{#ifexist:User:{{{1}}}|[[User:{{{1}}}|{{{1}}}]]|{{{1}}} }}}}{{{2|}}} <includeonly><span style="display:none">[[{{{1}}} translations| ]]</span>{{#ifeq:{{{cat|}}}|no|<!-- if cat=no, do not categorize -->|[[Category:Translations with attribution]]}}</includeonly><noinclude>{{Doc|1=
<big>This template</big> is designed for either a work page or a text page. The template is usually placed <i>'''below'''</i> the translation. The result appears on a new line, indented and in italics.
;Complete syntax:
<tt><nowiki>{{Translator|<translator name>|<additional text>|cat=<no>}}</nowiki></tt>
;Examples
* {{tl|Translator|Tony Kline}} displays {{Translator|Tony Kline|cat=no}}
* {{tl|Translator|John Mason Neale|, 1846}} displays {{Translator|John Mason Neale|, 1846}}
* <tt><nowiki>Translator|John Mason Neale|, 1846, amended by [[Henry Williams Baker]]}}</nowiki></tt> displays {{Translator|John Mason Neale|, 1846, amended by [[Henry Williams Baker]]}}
* {{tl|Translator|Tony Kline| (1947- )}} displays {{Translator|Tony Kline| (1947- )|cat=no}}
* {{tl|Translator|Tony Kline| ©|alt{{=}}English poetic translation by}} displays {{Translator|Tony Kline| ©|alt=English poetic translation by|cat=no}}


;Categorization
The page is automatically included in Category:<Translator name> translations. The page is also automatically included in [[:Category:Translations with attribution]] – to avoid it, add {{para|cat|no}} in any position:


{{tl|Translator|Tony Kline|cat{{=}}no| ©}} or<br>
{{tl|Translator|Tony Kline| ©|cat{{=}}no}}
<b><u>See also</u></b>
*[[Template:Translation]]
*[[Template:TranslationsList]]
}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 22:11, 4 April 2021

Translation by {{{1}}}
Documentation

This template is designed for either a work page or a text page. The template is usually placed below the translation. The result appears on a new line, indented and in italics.

Complete syntax

{{Translator|<translator name>|<additional text>|cat=<no>}}

Examples
Translation by Tony Kline
Translation by John Mason Neale, 1846
  • Translator|John Mason Neale|, 1846, amended by [[Henry Williams Baker]]}} displays
Translation by John Mason Neale, 1846, amended by Henry Williams Baker
Translation by Tony Kline (1947- )
  • {{Translator|Tony Kline| ©|alt=English poetic translation by}} displays
English poetic translation by Tony Kline ©
Categorization

The page is automatically included in Category:<Translator name> translations. The page is also automatically included in Category:Translations with attribution – to avoid it, add |cat=no in any position:

{{Translator|Tony Kline|cat=no| ©}} or
{{Translator|Tony Kline| ©|cat=no}}

See also