Difference between revisions of "Template:Quotation"

From Team Fortress Wiki
Jump to: navigation, search
(Added Finnish translations)
m (Not every language has custom quotation marks.)
(46 intermediate revisions by 31 users not shown)
Line 1: Line 1:
 
<table style="border-collapse:collapse; margin: 0em 2em 1em;" border="0" cellspacing="0" cellpadding="0" class="quotation">
 
<table style="border-collapse:collapse; margin: 0em 2em 1em;" border="0" cellspacing="0" cellpadding="0" class="quotation">
 
<tr>
 
<tr>
<td style="margin-left: -0.2em;padding-right: 0em; text-align: right;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">{{lang|en = “ |ru = « |fr = « |# default = }}</td>
+
<td style="margin-left: -0.2em;padding-right: 0em; text-align: right;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">{{lang incomplete
<td><div style="font-style: {{lang<!--  
+
  | en = “
 +
  | es = «
 +
  | fr = «
 +
  | ja = 「
 +
  | pl =
 +
  | ru = «
 +
}}</td>
 +
<td><div style="font-style: {{lang incomplete<!--  
 
   // Don't show italics for Chinese. -->
 
   // Don't show italics for Chinese. -->
 
   | en = italic
 
   | en = italic
 
   | zh-hans = normal
 
   | zh-hans = normal
 
   | zh-hant = normal
 
   | zh-hant = normal
   }}; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} {{ #if: {{{sound|}}} |<br /><div style="font-style: {{lang<!--  
+
   }}; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} <!--
 +
-->{{#if:{{{sound|}}}
 +
| <br /><div style="font-style: {{lang incomplete<!--  
 
   // Don't show italics for Chinese. -->
 
   // Don't show italics for Chinese. -->
 
   | en = italic
 
   | en = italic
 
   | zh-hans = normal
 
   | zh-hans = normal
 
   | zh-hant = normal
 
   | zh-hant = normal
   }};" class="plainlinks"><small>[[File:Icon external link wav.png|13px|link={{FILEPATH:{{{sound|}}}}}]]&nbsp;[[Media:{{{sound}}}|{{lang
+
   }};" class="plainlinks small"><!--
 +
  -->[[File:Icon external link wav.png|13px|link={{FILEPATH:{{{sound|}}}}}]]&nbsp;[[Media:{{{sound}}}|{{lang
 +
  | en = Click to listen
 +
  | ar = إضغط لسماع الصوت
 +
  | cs = Klikněte pro poslech
 +
  | da = Klik for at høre
 
   | de = Anhören
 
   | de = Anhören
  | en = Click to listen
 
 
   | es = Clic para escuchar
 
   | es = Clic para escuchar
 
   | fi = Kuuntele
 
   | fi = Kuuntele
   | fr = Cliquez pour écouter
+
   | fr = Cliquer pour écouter
 
   | hu = Kattints ide, hogy meghallgasd!
 
   | hu = Kattints ide, hogy meghallgasd!
 
   | it = Premi per ascoltare
 
   | it = Premi per ascoltare
 +
  | ja = 聴く
 +
  | ko = 클릭하시면 들을 수 있습니다
 +
  | nl = Klik om te luisteren
 
   | no = Klikk for å lytte
 
   | no = Klikk for å lytte
   | pl = Kliknij, aby wysłuchać
+
   | pl = Kliknij, aby odtworzyć
   | pt = Prima para ouvir
+
   | pt = Clica para ouvir
 
   | pt-br = Clique para escutar
 
   | pt-br = Clique para escutar
 
   | ro = Clic pentru a asculta
 
   | ro = Clic pentru a asculta
 
   | ru = Нажмите, чтобы прослушать
 
   | ru = Нажмите, чтобы прослушать
 +
  | sv = Klicka för att lyssna
 +
  | tr = Dinlemek için tıklayın
 +
  | zh-hans = 点击试听
 
   | zh-hant = 點擊試聽
 
   | zh-hant = 點擊試聽
  | sv = Lyssna här
+
   }}]]{{#if:{{{en-sound|}}}
   }}]]</small></div>}}
+
  | &#32;<span style="color:#555;">{{lang incomplete
<div style="text-align: left; font-size: 0.9em;">— {{ #switch: {{ lc: {{{1|}}} }}
+
   | en = (
| in-game          | game    = {{lang
+
   | ja =
  | de = Spielbeschreibung
+
   | zh-hans =
   | en = In-game description
+
   | zh-hant =
   | es = Descripción
+
}}{{lang
   | fi = Kuvaus pelissä
+
    | en = in English
   | fr = Description dans le jeu
+
    | ar = بالإنجلينزية
  | hu = Leírás a játékban
+
    | cs = v Angličtině
  | it = Descrizione nel gioco
+
    | da = På engelsk
  | pl = Opis z gry
+
    | de = Auf Englisch
  | pt = Descrição no jogo
+
    | es = en inglés
  | pt-br = Descrição no jogo
+
    | fi = englanniksi
  | ro = Descriere în joc
+
    | fr = en Anglais
  | ru = Внутриигровое описание 
+
    | it = in inglese
  | sv = Beskrivning i spelet
+
    | ja = 英語
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'game'|{{BASEPAGENAME}}]]
+
    | ko = 영어로
| in-game          | gametip = {{lang
+
    | nl = In het Engels
  | de = Spieltipp
+
    | no = på Engelsk
  | en = In-game tip
+
    | pl = po angielsku
  | es = Juego de punta
+
    | pt = em inglês
  | fi = Vihje pelissä
+
    | pt-br = em inglês
  | fr = astuce dans le jeu
+
    | ro = în engleză
  | hu = Játékbeli tipp
+
    | ru = англ.
  | it = Consiglio nel gioco
+
    | sv = på Engelska
  | pl = Wskazówka z gry
+
    | tr = İngilizce
  | pt = Dica no jogo
+
    | zh-hans = 英语
  | pt-br = Dica no jogo
+
    | zh-hant = 英語
  | ro = Sfat în joc
+
    }}{{lang incomplete
  | ru = Внутриигровой совет
+
| en = )
  | sv = Tips i spelet
+
| ja =
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'gametip'|{{BASEPAGENAME}}]]
+
| zh-hans =
| official website | website = {{lang
+
| zh-hant =
  | de = Offizielle Website
+
}}</span>
  | en = Official website
+
  }}
  | es = Web oficial
+
   </div>
  | fi = Viralliset kotisivut
+
}}{{#ifeq:{{{1|}}}|no-source||
  | fr = Site officiel
+
<div style="text-align: left; font-size: 0.9em;">{{{1|Quotation source}}}</div>}}
  | hu = Hivatalos honlap
 
  | it = Sito web ufficiale
 
   | pl = Oficjalna strona internetowa
 
  | pt = Website oficial
 
  | pt-br = Website oficial
 
  | ro = Website oficial
 
  | ru = Официальный веб-узел
 
  | sv = Den officiella nätsidan
 
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'official website'|{{BASEPAGENAME}}]]
 
| #default                  = {{{1|Quotation source}}}
 
}}</div>
 
 
</div>
 
</div>
 
</td>
 
</td>
<td style="margin-left: -0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">{{lang|en = ” |ru = » |fr = » |# default = ”}}</td>
+
<td style="margin-left: -0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">{{lang incomplete
 +
  | en = ”
 +
  | es = »
 +
  | fr = »
 +
  | ja = 」
 +
  | pl = ”
 +
  | ru = »
 +
}}</td>
 
</tr></table><includeonly>{{if lang
 
</tr></table><includeonly>{{if lang
 
  | 1 = <!-- NULL -->
 
  | 1 = <!-- NULL -->
Line 86: Line 101:
 
   | <!-- NULL -->
 
   | <!-- NULL -->
 
   }}
 
   }}
  }}</includeonly><!--
+
  }}</includeonly><noinclude>
// Auto language tracking
+
{{Doc begin}}
-->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--
+
{{translation switching|en, ar, cs, da, de, es, fi, fr, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
--><noinclude>
 
{{translation switching|de, es, fr, hu, it, pl, pt, pt-br, ro, ru, sv}}
 
 
== Description ==
 
== Description ==
 
<pre>
 
<pre>
Line 101: Line 114:
 
=== Parameters ===
 
=== Parameters ===
 
; ''unnamed parameter'' 1
 
; ''unnamed parameter'' 1
: Quotation source. Can be a custom value or a predefined value:
+
: Quotation source.
:* <code>game</code> - In-game description
 
:* <code>gametip</code> - In-game tip
 
:* <code>website</code> – Official website
 
  
 
; ''unnamed parameter'' 2
 
; ''unnamed parameter'' 2
Line 114: Line 124:
 
; sound
 
; sound
 
: Optional. Specifies the sound of the quotation (please use only wiki stored sound links, not external).
 
: Optional. Specifies the sound of the quotation (please use only wiki stored sound links, not external).
 +
 +
=== Other parameters ===
 +
* {{code|translate}}: set to 'yes' if the quote needs translating, will categorize page into [[:Category:Quotations needing translating]].
 +
* {{code|en-sound}}: set to 'yes' if the sound file specified is in English.
  
 
[[Category:Formatting templates|Quotation]]
 
[[Category:Formatting templates|Quotation]]
 
</noinclude>
 
</noinclude>

Revision as of 21:36, 21 May 2022

Quoted text.
— Quotation source

Documentation for Quotation

Description

{{Quotation|<source>|
<text>
}}

This template is used to mark text passages as quotations.

Parameters

unnamed parameter 1
Quotation source.
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