Template:Translator: Difference between revisions
Jump to navigation
Jump to search
Documentation
mNo edit summary |
(Added some other examples.) |
||
Line 1: | Line 1: | ||
:''{{{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= | :''{{{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. | ||
{{tl|Translator|Tony Kline}} displays {{Translator|Tony Kline|cat=no}} | ;Complete syntax: | ||
<tt><nowiki>{{Translator|<translator name>|<additional text>|cat=<no>}}</nowiki></tt> | |||
{{tl|Translator|Tony Kline| (1947- )}} displays {{Translator|Tony Kline| (1947- )|cat=no}} | ;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 | ;Categorization | ||
The page is automatically included in [[:Category:Translations with attribution]] | 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| ©}} or<br> | ||
{{tl|Translator|Tony Kline| ©|cat{{=}}no}} | {{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}}}
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
- {{Translator|Tony Kline}} displays
- Translation by Tony Kline
- {{Translator|John Mason Neale|, 1846}} displays
- 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
- {{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