Difference between revisions of "Quotation"

(Created page with "<includeonly> <blockquote style="padding: 0em 2em 0em 1em; margin: 1em 0em 1em {{{icon-size|4em}}}; {{ #if: {{{icon|}}} || border-left: 1px solid silver; }}"><div style="posit...")
 
m
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<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: 1em 0em 1em 4em;border-left: 1px solid silver;"><div style="position: absolute; margin-top: -0.2em; margin-left: -0.8em; font: bold 5em Times New Roman, Times, Georgie, serif; color: silver;"><div style="position: absolute; margin-left: -0.2em;">“</div></div><div style="line-height: 1.53846em;">
{{{2|Quoted text.}}}
+
{{{text|Quoted text.}}}
</div><p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{1|}}} }}
+
</div><p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{source|}}} }}
 
| game    = In-game description
 
| game    = In-game description
 
| website  = Official website
 
| website  = Official website
| #default = {{{1|Quotation source}}}
+
| #default = {{{source|Quotation source}}}
 
}}</p>
 
}}</p>
{{#if: {{{3|}}}|<p style="margin-bottom:0;">{{{3|}}}</p>|}}
 
 
</blockquote>
 
</blockquote>
 
</includeonly>
 
</includeonly>
Line 15: Line 14:
  
 
== Parameters ==
 
== Parameters ==
{{bullet}}
+
{{bullet}} '''text''': The quoted text.
 +
{{bullet}} '''source''': The source of the quote.
 +
{{bullet}} '''icon''': Optional. Displays an icon to the left.
 +
{{bullet}} '''icon-size''': Optional. Modifies the size of the icon.
 
== Usage ==
 
== Usage ==
<pre>{{quotation|game|ASDA|ASDA}}</pre>
+
<pre>{{quotation|This is a quotation|Source}}</pre>
 +
{{quotation|This is a quotation|Source}}
 
</noinclude>
 
</noinclude>

Revision as of 16:22, 6 September 2021


Description

This template displays text passages as quotations from an official source.

Parameters

text: The quoted text. source: The source of the quote. icon: Optional. Displays an icon to the left. icon-size: Optional. Modifies the size of the icon.

Usage

{{quotation|This is a quotation|Source}}

Quoted text.

— Quotation source