Difference between revisions of "Template:Quotation"

From Team Fortress Wiki
Jump to: navigation, search
m (Small corrections for French language.)
(remove pre-defined tips (were never used))
Line 55: Line 55:
 
   </div>
 
   </div>
 
  }}
 
  }}
<div style="text-align: left; font-size: 0.9em;">— {{ #switch: {{ lc: {{{1|}}} }}
+
<div style="text-align: left; font-size: 0.9em;">— {{{1|Quotation source}}}</div>
| in-game          | game    = {{lang
 
  | ar = الوصف داخل اللعبة
 
  | de = Spielbeschreibung
 
  | cs = Popis ve hře
 
  | en = In-game description
 
  | es = Descripción
 
  | fi = Kuvaus pelissä
 
  | fr = Description dans le jeu
 
  | hu = Leírás a játékban
 
  | it = Descrizione nel gioco
 
  | ko = 게임 내 설명
 
  | nl = Spelbeschrijving
 
  | pl = Opis z gry
 
  | pt = Descrição no jogo
 
  | pt-br = Descrição no Jogo
 
  | ro = Descriere în joc
 
  | ru = Внутриигровое описание 
 
  | sv = Beskrivning i spelet
 
  | tr = Oyun içi açıklama
 
  | zh-hans = 在游戏中的说明
 
  | zh-hant = 在遊戲中的說明
 
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'game'|{{BASEPAGENAME}}]]
 
| in-game          | gametip = {{lang
 
  | ar = نصيحة عند داخل اللعبة
 
  | de = Spieltipp
 
  | cs = Typ ve hře
 
  | en = In-game tip
 
  | es = Juego de punta
 
  | fi = Vihje pelissä
 
  | fr = Astuce dans le jeu
 
  | hu = Játékbeli tipp
 
  | it = Consiglio nel gioco
 
  | ko = 게임 내 팁
 
  | nl = Speltip
 
  | pl = Wskazówka z gry
 
  | pt = Dica no jogo
 
  | pt-br = Dica no Jogo
 
  | ro = Sfat în joc
 
  | ru = Внутриигровой совет
 
  | sv = Tips i spelet
 
  | tr = Oyun içi ipucu
 
  | zh-hans = 在游戏中的提示
 
  | zh-hant = 在遊戲中的提示
 
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'gametip'|{{BASEPAGENAME}}]]
 
| official website | website = {{lang
 
  | ar = الموقع الرسمي
 
  | de = Offizielle Website
 
  | cs = Oficiální stánka
 
  | en = Official website
 
  | es = Web oficial
 
  | fi = Viralliset kotisivut
 
  | fr = Site officiel
 
  | hu = Hivatalos honlap
 
  | it = Sito web ufficiale
 
  | ko = 공식 웹사이트
 
  | nl = Officiële Website
 
  | pl = Oficjalna strona internetowa
 
  | pt = Website oficial
 
  | pt-br = Site Oficial
 
  | ro = Website oficial
 
  | ru = Официальный веб-узел
 
  | sv = Den officiella nätsidan
 
  | tr = Resmi website
 
  | zh-hans = 官方网站
 
  | zh-hant = 官方網站
 
  }}<!-- Temporary tracking -->[[Category:Quotation template using deprecated parameter: 'official website'|{{BASEPAGENAME}}]]
 
| #default                  = {{{1|Quotation source}}}
 
}}</div>
 
 
</div>
 
</div>
 
</td>
 
</td>
Line 137: Line 69:
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  -->{{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{auto lang cat}}|}}<!--  
 
  --><noinclude>
 
  --><noinclude>
{{translation switching|ar ,de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
+
{{translation switching|ar, de, es, fi, fr, hu, it, ko, nl, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}}
 
== Description ==
 
== Description ==
 
<pre>
 
<pre>
Line 148: Line 80:
 
=== 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

Revision as of 05:45, 30 July 2011

Quoted text.
— Quotation source

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