Difference between revisions of "Template:Quote"

From Drawn to Life Wiki
 
Line 1: Line 1:
 
{{#switch: {{{condensed|false}}}
 
{{#switch: {{{condensed|false}}}
 
|true=
 
|true=
<div align="center" style="display:table; margin:0px auto; padding-top:10px; font-size:34px; text-align: center; width: 50%;"><span style="font-family: 'Poppins', sans-serif;">'''“'''</span><span style="font-size:16px; font-family: 'Rubik', sans-serif;">{{{text}}}</span><span style="font-family: 'Poppins', sans-serif;">'''”'''</span>
+
<div align="center" style="text-align:center; display:table; margin:0px auto; padding-top:10px; font-size:34px; text-align: center; width: 50%;"><span style="font-family: 'Poppins', sans-serif;">'''“'''</span><span style="font-size:16px; font-family: 'Rubik', sans-serif;">{{{text}}}</span><span style="font-family: 'Poppins', sans-serif;">'''”'''</span>
 
{{#if:{{{character|{{PAGENAME}}}}}|
 
{{#if:{{{character|{{PAGENAME}}}}}|
 
{{#if:{{{character|{{PAGENAME}}<noinclude>Origin</noinclude>}}}|<p style="font-size:12px; text-align:right; font-family: sans-serif;">–{{{character|{{PAGENAME}}}}}</p>}}}}<p style="font-size: 12px; font-family: sans-serif; text-align:right;"><i>{{{caption| }}}</i></p>
 
{{#if:{{{character|{{PAGENAME}}<noinclude>Origin</noinclude>}}}|<p style="font-size:12px; text-align:right; font-family: sans-serif;">–{{{character|{{PAGENAME}}}}}</p>}}}}<p style="font-size: 12px; font-family: sans-serif; text-align:right;"><i>{{{caption| }}}</i></p>

Latest revision as of 19:09, 23 March 2024

{{{text}}}

–Quote


How to use: Type

{{Quote
 |text      =...
 |character =Heather
 |caption   =Heather during pretty much the entire first game.
}}

Renders as:

...

–Heather

Heather during pretty much the entire first game.


If no character= is specified it will revert to the page name.