Difference between revisions of "Template:Box/quote"

From CWRE
Jump to navigation Jump to search
 
Line 5: Line 5:
  
 
'''Usage''': <nowiki>{{box/quote|CONTENT|ATTRIBUTION}}</nowiki>
 
'''Usage''': <nowiki>{{box/quote|CONTENT|ATTRIBUTION}}</nowiki>
</noinclude><includeonly><blockquote style="white-space: normal;">{{q/inline|
+
</noinclude><includeonly><blockquote style="font: italic 12pt Times, serif; background: #eff"><span style="font: bold 14pt Times, serif; color: #6a6;">&ldquo;</span><br>
 
{{{1}}}
 
{{{1}}}
}}
+
<br><span style="font: bold 14pt Times, serif; color: #6a6; float: right;">&rdquo;</span>
 
</blockquote>
 
</blockquote>
 
<div align=right>&mdash;{{{2}}}</div>
 
<div align=right>&mdash;{{{2}}}</div>
 
</includeonly>
 
</includeonly>

Latest revision as of 16:25, 11 August 2020

Formats a quote with attribution underneath, right-aligned. Later, we'll do something clever with CSS to make it more clearly a quote -- light-grey giant quote marks or something.

Usage: {{box/quote|CONTENT|ATTRIBUTION}}