Difference between revisions of "Template:Quote"

From Underrail Wiki
Jump to navigation Jump to search
(fix rare cases of quotation marks interfering with cite links)
m (fix css after mediawiki update)
Line 1: Line 1:
<blockquote style=" color:#888; padding:5px 25px 0px 25px; overflow-x:auto; overflow-y:hidden;"><span style="position:relative;"><span style="color:#222; font-size:70px; position:absolute; top:12px; left:-25px; pointer-events:none;">&ldquo;</span></span><span style="font-family:'pf_tempesta_seven'; font-size:16px;">{{{text|{{{1|<noinclude>Example quoted text</noinclude>}}}}}}</span><span style="position:relative;"><span style="color:#222; font-size:70px; position:absolute; top:15px; pointer-events:none;">&rdquo;</span></span>{{#if:<noinclude>string</noinclude>{{{2|}}}|
+
<blockquote style=" color:#888; padding:5px 25px 0px 25px; overflow-x:auto; overflow-y:hidden;"><span style="position:relative;"><span style="color:#222; font-size:70px; position:absolute; top:12px; left:-25px; pointer-events:none; line-height:0;">&ldquo;</span></span><span style="font-family:'pf_tempesta_seven'; font-size:16px;">{{{text|{{{1|<noinclude>Example quoted text</noinclude>}}}}}}</span><span style="position:relative;"><span style="color:#222; font-size:70px; position:absolute; top:15px; pointer-events:none; line-height:0;">&rdquo;</span></span>{{#if:<noinclude>string</noinclude>{{{2|}}}|
  
 
:&#8212;<cite>{{{source|{{{2|<noinclude>Source</noinclude>}}}}}}</cite>
 
:&#8212;<cite>{{{source|{{{2|<noinclude>Source</noinclude>}}}}}}</cite>
 
|}}</blockquote><noinclude>{{documentation}}</noinclude>
 
|}}</blockquote><noinclude>{{documentation}}</noinclude>

Revision as of 18:08, 15 October 2020

Example quoted text

Source
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Quote/doc to view this documentation. (edit) (How does this work?)

Simple template for quoting text with blockquotes.

Syntax

{{Quote
| text goes on the first line. text= also does the same.
| source goes on the second line. source= also does the same.
}}

Sample

{{Quote
| Strength measures your character's muscle power. It is important for characters who intend to engage in melee combat often or use heavy weapons
| The in-game description
}}

Becomes...

Strength measures your character's muscle power. It is important for characters who intend to engage in melee combat often or use heavy weapons

The in-game description