Difference between revisions of "Template:Quotation"

From Team Fortress Wiki
Jump to: navigation, search
m (Template:Lang does not actually support #default -- it uses en if no language is available.)
m (Remove speaker icon (we're doing that with CSS for some reason))
(4 intermediate revisions by 3 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
+
<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
 
   | en = “
 
   | en = “
 
   | es = «
 
   | es = «
Line 22: Line 22:
 
   | zh-hant = normal
 
   | zh-hant = normal
 
   }};" class="plainlinks small"><!--  
 
   }};" class="plainlinks small"><!--  
   -->[[File:Icon external link wav.png|13px|link={{FILEPATH:{{{sound|}}}}}]]&nbsp;[[Media:{{{sound}}}|{{lang
+
   -->[[Media:{{{sound}}}|{{lang
 
   | en = Click to listen
 
   | en = Click to listen
 
   | ar = إضغط لسماع الصوت
 
   | ar = إضغط لسماع الصوت
Line 47: Line 47:
 
   | zh-hant = 點擊試聽
 
   | zh-hant = 點擊試聽
 
   }}]]{{#if:{{{en-sound|}}}
 
   }}]]{{#if:{{{en-sound|}}}
   | &#32;<span style="color:#555;">{{lang
+
   | &#32;<span style="color:#555;">{{lang incomplete
 
   | en = (
 
   | en = (
 
   | ja = (
 
   | ja = (
Line 54: Line 54:
 
}}{{lang
 
}}{{lang
 
     | en = in English
 
     | en = in English
     | ar = بالإنجلينزية
+
     | ar = بالإنجليزية
 
     | cs = v Angličtině
 
     | cs = v Angličtině
 
     | da = På engelsk
 
     | da = På engelsk
Line 75: Line 75:
 
     | zh-hans = 英语
 
     | zh-hans = 英语
 
     | zh-hant = 英語
 
     | zh-hant = 英語
     }}{{lang
+
     }}{{lang incomplete
 
  | en = )
 
  | en = )
 
  | ja = )
 
  | ja = )
Line 87: Line 87:
 
</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
+
<td style="margin-left: -0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">{{lang incomplete
 
   | en = ”
 
   | en = ”
 
   | es = »
 
   | es = »

Revision as of 16:04, 20 April 2023

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