Template:Blockquote: Difference between revisions

From Tolkien Gateway
mNo edit summary
m (Tweaked css on italics so not as to create bold text when quoted text starts with single quote marks)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<blockquote style="line-height: 150%; margin:1em 2em 0 0; padding: 0 0 0 1em; border-left: 1em solid #ccc;">''{{{1}}}''{{#if: {{{2|}}} | <br><cite style="font-size:smaller; font-style: normal; color: #333;">&mdash;{{{2}}}</cite>| }}</blockquote><noinclude>
<blockquote style="line-height: 150%; margin:1em 2em 0 0; padding: 0 0 0 1em; border-left: 1em solid #ccc; font-style:italic;">{{{1}}}{{#if: {{{2|}}} | <br><cite style="font-size:smaller; font-style: normal; color: #333;text-align:justify;">&mdash;{{{2}}}</cite>| }}</blockquote><noinclude>
==Usage==
==Usage==
<pre>
<pre>

Latest revision as of 20:44, 24 December 2018

{{{1}}}

Usage[edit source]

{{blockquote|Quote goes here<br>
And another line.
|citation}}

Makes styled, semantic blockquotes with optional attribution. Remember to manually add line breaks or use <poem> for poems.