Difference between revisions of "Template:Quotation"

From Team Fortress Wiki
Jump to: navigation, search
m (Parameters)
m (Change color of the quote marks slightly, looks a little better.)
Line 2: Line 2:
 
<table style="border-collapse:collapse" border="0" cellspacing="0" cellpadding="0">
 
<table style="border-collapse:collapse" border="0" cellspacing="0" cellpadding="0">
 
<tr>
 
<tr>
<td style="margin-left: -0.2em;padding-right: 0em; text-align: right;font: bold 4em Times New Roman, Times, Georgie, serif; color: #EEE;">“</td>
+
<td style="margin-left: -0.2em;padding-right: 0em; text-align: right;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">“</td>
 
<td><div style="font-style: italic; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} {{ #if: {{{sound|}}} |[[Category:Quotations with sound]]<br/><div style="font-style:italic;"><small>[[Media:{{{sound}}}|{{#ifeq:{{SUBPAGENAME}}|ru|(Нажмите, чтобы прослушать)|(Click to listen)}}]]</small></div>}}
 
<td><div style="font-style: italic; border-left: 1px solid #DDD;border-right: 1px solid #DDD;padding-left: 1em;padding-right: 1em;">{{{2|Quoted text.}}} {{ #if: {{{sound|}}} |[[Category:Quotations with sound]]<br/><div style="font-style:italic;"><small>[[Media:{{{sound}}}|{{#ifeq:{{SUBPAGENAME}}|ru|(Нажмите, чтобы прослушать)|(Click to listen)}}]]</small></div>}}
 
<div style="text-align: left; font-size: 0.9em;">— {{ #switch: {{ lc: {{{1|}}} }}
 
<div style="text-align: left; font-size: 0.9em;">— {{ #switch: {{ lc: {{{1|}}} }}
Line 12: Line 12:
 
</div>
 
</div>
 
</td>
 
</td>
<td style="margin-left: -0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #EEE;">”</td>
+
<td style="margin-left: -0.2em; text-align: left;font: bold 4em Times New Roman, Times, Georgie, serif; color: #B3B3B3;">”</td>
 
</tr>
 
</tr>
 
</table>
 
</table>

Revision as of 08:53, 22 July 2010

Quoted text.
— Quotation source

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 description
  • gametip - In-game tip
  • website – 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).