Difference between revisions of "Template:Quote"

From Underrail Wiki
Jump to navigation Jump to search
(quote source parameter is now optional)
m (spacing)
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;"><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>{{#if:<noinclude>string</noinclude>{{{2|}}}|
  
{{#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 03:39, 17 April 2016

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