Difference between revisions of "Template:Qotd"

From RPC Library
Jump to navigation Jump to search
(Added a Template to easily add a character's quote in a box)
 
(Fixed the entirety of the template)
Line 1: Line 1:
 +
<div style="position:relative; width:{{#if:{{{divwidth|}}}| {{{divwidth}}}|}}; float:{{#if:{{{floatalign|}}}| {{floatalign}}}|left}}; clear:{{#if:{{{floatclear|}}}| {{{floatclear}}}|none}}; min-width:30%; max-width:50%; vertical-align:bottom; margin-top:15px; margin-bottom:25px; margin-left:3%; margin-right:3%; padding:15px 0px 15px 0px; border:1px solid #aaaaaa; color:#444444;">
 +
<div style="vertical-align:center; text-align:justify; padding:0px 40px 0px 0px;">{{#if:{{{qotd|}}}|''<blockquote>{{{qotd}}}</blockquote>''| ''Insert Quote here''}}<div style="text-align:right; padding:0px 50px 15px 0px;">'''{{{qotd-name}}}'''</div></div>
 +
<div align="right" style="position:absolute; bottom:-17px; right:-25px; "></div>
 +
</div>
 +
{{clrl}}
 +
<noinclude>
 +
{{clr}}
 +
<pre>
 +
 +
 
{{qotd
 
{{qotd
 
| qotd= Insert quote here without quotation marks
 
| qotd= Insert quote here without quotation marks
Line 6: Line 16:
 
| floatclear= float clear, default none (OPTIONAL)
 
| floatclear= float clear, default none (OPTIONAL)
 
}}
 
}}
 +
</pre>
 +
</noinclude>
 +
<noinclude>[[Category:Templates]]</noinclude>

Revision as of 11:30, 5 February 2019

Insert Quote here
{{{qotd-name}}}

Template:Clrl

Template:Clr



{{qotd
| qotd= Insert quote here without quotation marks
| qotd-name= Insert speaker's name here
| divwidth= width of box, (OPTIONAL)
| floatalign= float alignment, default right (OPTIONAL)
| floatclear= float clear, default none (OPTIONAL)
}}