Difference between revisions of "Template:Quote"

From Drawn to Life Wiki
(Created page with "<div align="center" style="display:table; margin:0px auto; padding-top:10px; font-size:34px; font-family: serif;">'''“'''<span style="font-size:16px; font-family:sans-serif;...")
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div align="center" style="display:table; margin:0px auto; padding-top:10px; font-size:34px; font-family: serif;">'''“'''<span style="font-size:16px; font-family:sans-serif;">{{{text}}}</span>'''”'''
+
{{#switch: {{{condensed|false}}}
 +
|true=
 +
<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;"><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>
 
+
|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>
 +
{{#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>
 +
}}
  
 
<noinclude>
 
<noinclude>
Line 19: Line 26:
  
 
{{Quote|text=...|character=Heather|caption=Heather during pretty much the entire first game.}}
 
{{Quote|text=...|character=Heather|caption=Heather during pretty much the entire first game.}}
[[Category:General wiki templates]]
 
  
 
If no character= is specified it will revert to the page name.  
 
If no character= is specified it will revert to the page name.  
</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 18: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.