Difference between revisions of "Template:Quote"

From Drawn to Life Wiki
Line 1: Line 1:
 +
{{#switch: {{{condensed|false}}}
 +
|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>
 +
{{#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>
 +
</div>
 +
|false=
 
<div align="center" style="display:table; margin:0px auto; padding-top:10px; font-size:34px; font-family: serif;"><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="display:table; margin:0px auto; padding-top:10px; font-size:34px; font-family: serif;"><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;"><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>
 
</div>
 
</div>
 
+
}}
  
 
<noinclude>
 
<noinclude>

Revision as of 14:25, 11 December 2020

{{{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.