Difference between revisions of "Template:Quote"

From Underrail Wiki
Jump to navigation Jump to search
(quote source parameter is now optional)
m
 
(7 intermediate revisions by the same user not shown)
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;">&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:25px;">&rdquo;</span></span>
+
<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|}}}|
  
{{#if:<noinclude>string</noinclude>{{{2|}}}|:&#8212;<cite>{{{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 12: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