Template:Blockquote: Difference between revisions
From Tolkien Gateway
No edit summary |
m (Tweaked css on italics so not as to create bold text when quoted text starts with single quote marks) |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<blockquote style=" | <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;">—{{{2}}}</cite>| }}</blockquote><noinclude> | ||
{{{1}}}{{#if: {{{2|}}} | <br><cite style="font-size:smaller; font-style: normal; | |||
</blockquote> | |||
<noinclude> | |||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Line 11: | Line 8: | ||
Makes styled, semantic blockquotes with optional attribution. Remember to manually add line breaks or use [http://www.mediawiki.org/wiki/Extension:Poem <poem>] for poems. | Makes styled, semantic blockquotes with optional attribution. Remember to manually add line breaks or use [http://www.mediawiki.org/wiki/Extension:Poem <poem>] for poems. | ||
[[Category:Utility templates]] | [[Category:Utility templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
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.