Template:Quotation: Difference between revisions

Created page with "<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|“}}}</div> | {{{icon|“}}} }}</div><div style="line-height: 1.53846em;"> {{{2|Q..."
 
use audio link template
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="position: absolute; margin-top: -0.2em; margin-left: -{{{icon-size|0.8em}}}; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;">{{ #if: {{{icon-size|}}} | <div style="position: absolute; margin-left: -0.2em;">{{{icon|}}}</div> | {{{icon|}}} }}</div><div style="line-height: 1.53846em;">
<blockquote style="padding: 0em 1em 0em 0.67em; margin: auto; margin-left: 38px; border-left: 1px solid silver; max-width: 100%">
{{{2|Quoted text.}}}
<div style="position: absolute; margin-top: -0.2em; margin-left: -0.72em; font: bold 4.5em Times New Roman, Times, Georgia, serif; color: silver;">“</div>
</div>{{#ifeq: {{{1}}} | <!-- blank --> || <p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{1|}}} }}
<div style="line-height: 1.53846em;font-size: 1.05em; font-family:'Retail Demo','Open Sans',serif;">
| game    = In-game description
{{#if:{{{4|}}}|{{Audio link|{{{4|}}}|{{{2|Quoted text.}}}}}|{{{2|Quoted text.}}}}}</div>
| website  = Official website
{{#ifeq:{{{1|}}}|||<p class="noexcerpt" style="padding-left: 1.4em; font-size: 1.1em; font-family: 'Retail Demo','Open Sans'; font-weight:bold">— {{#switch:{{lc:{{{1|}}}}}
| #default = {{{1|Quotation source}}}
| game    = In-game description
}}</p> }}
| website  = Official website
{{#if: {{{3|}}}|<p style="margin-bottom:0;">{{{3|}}}</p>|}}
| #default = {{{1|}}}}}</p>}}<!--
</blockquote><noinclude>
-->{{#if:{{{3|}}}|<p style="margin-bottom: 0;font-size: 1.05em; font-style: ; font-family:'Retail Demo','Open Sans';">{{{3|}}}</p>|}}
 
</blockquote><noinclude>{{Documentation}}</noinclude>
== Description ==
<pre>
{{Quotation|<source>|
<text>
}}
</pre>
This template is used to mark text passages as quotations from official source.
 
=== Parameters ===
;1 ''(unnamed parameter)''
: Quotation source. Can be a custom value or a predefined value. If left blank, hides the source line.
:* <code>game</code> - In-game description
:* <code>website</code> – Official website
:* <code>manual</code> – Game manual
;2 ''(unnamed parameter)''
: Quoted text.
;3 ''(unnamed parameter)''
: Optional. P.S.
; icon
: Optional. Displays an icon to the left.
; icon-size
: Optional. Modifies the space for the icon.
 
[[Category:Formatting templates|Quotation]]
</noinclude>