Difference between revisions of "Quotation"

m
m (Corrected spacing)
Line 1: Line 1:
<includeonly>
+
<includeonly><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;">
<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;">
+
{{{text|{{{1|<onlyinclude>{{error|Error: No quote text provided.}}</onlyinclude>}}}}}}
{{{text|Quoted text.}}}
 
 
</div><p class="noexcerpt" style="padding-left: 1.6em; font-size: 0.9em; font-style:italic;">— {{ #switch: {{ lc: {{{source|}}} }}
 
</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 = {{{source|Quotation source}}}
 
| #default = {{{source|Quotation source}}}
}}</p>
+
}}</p></blockquote></includeonly><noinclude>
</blockquote>
 
</includeonly>
 
<noinclude>
 
 
== Description ==
 
== Description ==
 
This template displays text passages as quotations from an official source.
 
This template displays text passages as quotations from an official source.
Line 21: Line 17:
 
<pre>{{quotation|text=This is a quotation|source=Source}}
 
<pre>{{quotation|text=This is a quotation|source=Source}}
 
{{quotation|text=This is a quotation|source=game}}
 
{{quotation|text=This is a quotation|source=game}}
{{quotation|text=This is a quotation|source=website}}</pre>
+
{{quotation|text=This is a quotation|source=website}}</pre></noinclude>
</noinclude>
 

Revision as of 15:45, 16 January 2022

Description

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

Parameters

text: The quoted text.

source: The quotation source. Can be a custom value or a predefined value:

game: In-game description.
website: Official website.

Usage

{{quotation|text=This is a quotation|source=Source}}
{{quotation|text=This is a quotation|source=game}}
{{quotation|text=This is a quotation|source=website}}