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)
No edit summary
 
(7 intermediate revisions by 2 users 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 ''Translation by <font color=blue>John Mason Neale</font>, 1846, amended by <font color=blue>Henry Williams Baker</font>'' – <font color=red>This does not work properly; Baker's translation effort is not credited on his page.</font>
* {{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>

Latest revision as of 17:32, 24 August 2023

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 BakerThis does not work properly; Baker's translation effort is not credited on his page.
  • {{Translator|Tony Kline| (1947- )}} displays
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