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..."
 
some fixes, icon doesnt work
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 2em 0em 1em; margin: 0em 4em 1em; border-left: 1px solid silver;">
{{{2|Quoted text.}}}
<div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 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-style: italic;"><!--
| game    = In-game description
-->{{{2|Quoted text.}}}</div>
| website  = Official website
{{#ifeq:{{{1}}}|<!-- blank -->||<p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style: italic;">— {{#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|Quotation source.}}}}}</p>}}
</blockquote><noinclude>
{{#if:{{{3|}}}|<p style="margin-bottom: 0; font-style: italic;">{{{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>