Difference between revisions of "Template:Quotation"
m (fi: "in English") |
|||
Line 5: | Line 5: | ||
// Don't show italics for Chinese. --> | // Don't show italics for Chinese. --> | ||
| en = italic | | en = italic | ||
− | | zh-hans = | + | | zh-hans = 正常 |
− | | zh-hant = | + | | zh-hant = 正常 |
}}; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} <!-- | }}; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} <!-- | ||
-->{{#if:{{{sound|}}} | -->{{#if:{{{sound|}}} | ||
Line 12: | Line 12: | ||
// Don't show italics for Chinese. --> | // Don't show italics for Chinese. --> | ||
| en = italic | | en = italic | ||
− | | zh-hans = | + | | zh-hans = 正常 |
− | | zh-hant = | + | | zh-hant = 正常 |
}};" class="plainlinks small"><!-- | }};" class="plainlinks small"><!-- | ||
-->[[File:Icon external link wav.png|13px|link={{FILEPATH:{{{sound|}}}}}]] [[Media:{{{sound}}}|{{lang | -->[[File:Icon external link wav.png|13px|link={{FILEPATH:{{{sound|}}}}}]] [[Media:{{{sound}}}|{{lang | ||
Line 30: | Line 30: | ||
| ro = Clic pentru a asculta | | ro = Clic pentru a asculta | ||
| ru = Нажмите, чтобы прослушать | | ru = Нажмите, чтобы прослушать | ||
+ | | zh-hans = 点击试听 | ||
| zh-hant = 點擊試聽 | | zh-hant = 點擊試聽 | ||
| sv = Lyssna här | | sv = Lyssna här | ||
Line 37: | Line 38: | ||
| fi = englanniksi | | fi = englanniksi | ||
| fr = en anglais | | fr = en anglais | ||
+ | | zh-hans = 英语 | ||
+ | | zh-hant = 英語 | ||
}})</span> | }})</span> | ||
}} | }} | ||
Line 57: | Line 60: | ||
| ru = Внутриигровое описание | | ru = Внутриигровое описание | ||
| sv = Beskrivning i spelet | | sv = Beskrivning i spelet | ||
+ | | zh-hans = 在游戏中的说明 | ||
+ | | zh-hant = 在遊戲中的說明 | ||
}}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'game'|{{BASEPAGENAME}}]] | }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'game'|{{BASEPAGENAME}}]] | ||
| in-game | gametip = {{lang | | in-game | gametip = {{lang | ||
Line 73: | Line 78: | ||
| ru = Внутриигровой совет | | ru = Внутриигровой совет | ||
| sv = Tips i spelet | | sv = Tips i spelet | ||
+ | | zh-hans = 在游戏中的提示 | ||
+ | | zh-hant = 在遊戲中的提示 | ||
}}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'gametip'|{{BASEPAGENAME}}]] | }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'gametip'|{{BASEPAGENAME}}]] | ||
| official website | website = {{lang | | official website | website = {{lang | ||
Line 89: | Line 96: | ||
| ru = Официальный веб-узел | | ru = Официальный веб-узел | ||
| sv = Den officiella nätsidan | | sv = Den officiella nätsidan | ||
+ | | zh-hans = 官方网站 | ||
+ | | zh-hant = 官方網站 | ||
}}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'official website'|{{BASEPAGENAME}}]] | }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'official website'|{{BASEPAGENAME}}]] | ||
| #default = {{{1|Quotation source}}} | | #default = {{{1|Quotation source}}} | ||
Line 105: | Line 114: | ||
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!-- | -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!-- | ||
--><noinclude> | --><noinclude> | ||
− | {{translation switching|de, es, fi, fr, hu, it, ko, pl, pt, pt-br, ro, ru, sv}} | + | {{translation switching|de, es, fi, fr, hu, it, ko, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant}} |
== Description == | == Description == | ||
<pre> | <pre> |
Revision as of 12:00, 2 December 2010
“ | Quoted text.
— Quotation source
|
” |
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Quotation/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: de, es, fi, fr, hu, it, ko, pl, pt, pt-br, ro, ru, sv, zh-hans, zh-hant (add) |
Description
{{Quotation|<source>| <text> }}
This template is used to mark text passages as quotations.
Parameters
- unnamed parameter 1
- Quotation source. Can be a custom value or a predefined value:
game
- In-game descriptiongametip
- In-game tipwebsite
– Official website
- unnamed parameter 2
- Quoted text.
- icon
- Optional. Displays an icon to the left.
- icon-size
- Optional. Modifies the space for the icon.
- sound
- Optional. Specifies the sound of the quotation (please use only wiki stored sound links, not external).
Other parameters
translate
: set to 'yes' if the quote needs translating, will categorize page into Category:Quotations needing translation.en-sound
: set to 'yes' if the sound file specified is in English.