Difference between revisions of "Template:Quote"

From Underrail Wiki
Jump to navigation Jump to search
m (css tweak)
m
 
Line 1: Line 1:
 
<blockquote style="color:#888; padding:5px 25px 0px 25px; overflow-x:auto; overflow-y:hidden; font:14px 'pf_tempesta_seven';">
 
<blockquote style="color:#888; padding:5px 25px 0px 25px; overflow-x:auto; overflow-y:hidden; font:14px 'pf_tempesta_seven';">
<span style="position:relative;"><span style="font:70px sans-serif; color:#222; line-height:0; pointer-events:none; position:absolute; top:26px; left:-25px; ">&ldquo;</span></span>{{{text|{{{1|<noinclude>Example quoted text</noinclude>}}}}}}<span style="position:relative;"><span style="font:70px sans-serif; color:#222; line-height:0; pointer-events:none; position:absolute; top:36px; right:-25px; ">&rdquo;</span></span>{{#if:<noinclude>string</noinclude>{{{2|}}}|
+
<span style="position:relative;"><span style="font:70px sans-serif; color:#222; line-height:0; pointer-events:none; position:absolute; top:26px; left:-25px; ">&ldquo;</span></span>{{{text|{{{1|<noinclude>Example quoted text</noinclude>}}}}}}<span style="position:relative;"><span style="font:70px sans-serif; color:#222; line-height:0; pointer-events:none; position:absolute; top:36px; right:-25px; ">&rdquo;</span></span>
 +
{{#if:<noinclude>string</noinclude>{{{2|}}}|
  
 
:&#8212;<cite style="font-family:sans-serif;">{{{source|{{{2|<noinclude>Source</noinclude>}}}}}}</cite>
 
:&#8212;<cite style="font-family:sans-serif;">{{{source|{{{2|<noinclude>Source</noinclude>}}}}}}</cite>
 
|}}</blockquote><noinclude>{{documentation}}</noinclude>
 
|}}</blockquote><noinclude>{{documentation}}</noinclude>

Latest revision as of 13:18, 20 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