Difference between revisions of "Template:Quote"

From Temple of the White Rat
Jump to navigation Jump to search
(Created page with "<includeonly><blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!-- --><span class="quotation-mark" style=" float: left; width: 20px; vertical-align: top; border: none; color: #B2B7F2; font-size: 40px; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: 10px 10px; " >“</span><!-- --><em style="font-size: 110%;">{{{1}}}</em><!-- --><span class="quotation-mark...")
 
(styles moved to Template:Quote/styles.css)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!--
<includeonly>
<templatestyles src="Template:Quote/styles.css" />
<blockquote style="{{{style|}}}; {{#if:{{{side|}}}| float: {{{side}}}; width: {{{width}}}; }}"><!--


--><span
--><span
class="quotation-mark"
class="quotation-mark-left">&#8220;</span><!--
style="
float: left;
width: 20px;
vertical-align: top;
border: none;
color: #B2B7F2;
font-size: 40px;
font-family: 'Times New Roman', Times, serif;
font-weight: bold;
line-height: .6em;
text-align: left;
padding: 10px 10px;
"


>&#8220;</span><!--
--><span class="quote">{{{1}}}</span><!--
 
--><em style="font-size: 110%;">{{{1}}}</em><!--


--><span  
--><span  
class="quotation-mark"
class="quotation-mark-right">&#8221;</span><!--
style="
vertical-align: bottom;
color: #B2B7F2;
font-size: 40px;
font-family: 'Times New Roman', Times, serif;
font-weight: bold;
line-height: .4em;
padding: 10px 10px;
"
 
>&#8221;</span><!--


--><div style="margin-left:1.5em;">&mdash;{{{2}}}</div><!--
--><div class="attribution">&mdash;{{{2}}}</div><!--


--></blockquote><!--
--></blockquote><!--
Line 44: Line 20:


<pre>
<pre>
{{quote|We have to save the newts!|Ethan to Clara and Istvhan}}
{{quote|We have to save the newts!|Ethan to Clara and Istvhan, Paladin's Strength}}
</pre>
</pre>
to get:
to get:
{{quote|We have to save the newts!|Ethan to Clara and Istvhan, Paladin's Strength}}
{{quote|We have to save the newts!|Ethan to Clara and Istvhan, Paladin's Strength}}



Latest revision as of 23:04, 11 February 2022


A quote formatter. Usage is

{{quote|We have to save the newts!|Ethan to Clara and Istvhan, Paladin's Strength}}

to get:

We have to save the newts!

—Ethan to Clara and Istvhan, Paladin's Strength

Splitting quotes into multiple lines makes the source easier to read:

{{quote
|We have to save the newts!
|Ethan to Clara and Istvhan, Paladin's Strength
}}