Toggle menu
520
1.5K
103
22.5K
Epithet Erased Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Quote: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| style="border: 1px solid #00B2EE; margin: 4px 0px; background:rgba(9,71,113,0.5); border-radius:5px;{{#if: {{{bgcolor|}}}|border: 1px solid #00B2EE;}}" class="cquote"
<includeonly>{{#if:{{{1|}}}|<blockquote class="themed theme-affiliation-ua_high"><div><div>{{{1}}}</div>{{#if:{{{2|}}}|<cite>{{{2}}}</cite>}}</div></blockquote>}}</includeonly><noinclude>{{documentation}} </noinclude>
| width="15" valign="top" style="color:#00B2EE; font-size:36px; font-family:'Nunito', serif; font-weight:bold; text-align:left; padding:10px;" | “
| valign="top" style="font-family:Nunito, sans-serif; padding:4px 2px; font-size:12px;" |
{{{1|{{{text|text.}}}}}}
| width="15" valign="bottom" style="color:#00B2EE; font-size:36px; font-family:'Nunito', serif; font-weight:bold; text-align:right; padding:10px;" | ”
|-
{{#if:{{{origin|}}}{{{source|}}}{{{saidby|}}}{{{reference|}}}|
{{!}} colspan="3" style="font-family:Nunito, sans-serif; font-size:12px; text-align:right;"{{!}}<cite style="font-size:normal; text-align:right;">—{{{saidby|{{{origin}}}}}}{{#if:{{{source|}}}{{{reference|}}}|, {{{reference|{{{source}}}}}}}}</cite>
}}
|}
{{#if: {{NAMESPACE}}| |[[Category:A to Z]]}}</includeonly><noinclude>
 
==Example usage==
'''Quoted text only:'''
<pre>{{Quote
|text = Test 123}}</pre>
 
result:
{{Quote
|text = Test 123}}
 
'''Quoted text with origin:'''
<pre>{{Quote
|text = Test 123
|origin = This template}}</pre>
 
result:
{{Quote
|text = Frame this...
|origin = Valerie Vale}}
[[Category:Templates]]</noinclude>

Revision as of 13:30, 25 December 2019

Description

To use this template, enter the following and fill in the appropriate fields. Most fields left blank will not show up.

Syntax

{{Quote
 | quote   = 
 | speaker = 
 | source  = 
}}

As an alternative, these can be placed in positional order.

Samples

{{Quote
 | quote   = When you play the game of thrones, you win or you die.
 | speaker = [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
 | source  = [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]]
}}

or

{{Quote
 | When you play the game of thrones, you win or you die.
 | [[w:c:gameofthrones:Cersei Lannister|Cersei Lannister]]
 | [[w:c:gameofthrones:You Win or You Die|"You Win or You Die"]]
}}


Technical details

This template uses the Lua templating language, and more information can be found on the Global Lua Module page. For a traditional wikitext version of this template, see Quote on Templates Wiki.