Template:Quote: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(Revert padding size, 1.1em was too big)
(Trying to make the template less horrifying by using code from http://en.wikipedia.org/wiki/Template:Quote)
Line 1: Line 1:
<div style="margin:2px 2em; padding:0.5em; background:#FFFF99; border:1px solid gray; color:#333;">{{{quote|{{{1}}}}}}{{#if:{{{auth|{{{2|}}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;<small>—{{{auth|{{{2}}}}}}</small>}}</div><noinclude>
<blockquote class="templatequote"><div class="Bug6200">{{{text|{{{quote|{{{1|<noinclude>{{lorem ipsum}}</noinclude><includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly>}}}}}}}}}</div>{{#if:{{{sign|{{{cite|{{{2|<noinclude>TRUE</noinclude>}}}}}}}}}
----
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
<nowiki>{{</nowiki>quote|''quote text here''|''author's name here''}}
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>
  or <nowiki>{{</nowiki>quote|quote=''quote text here''|auth=''author's name here''}}
  }}</div>
 
}}</blockquote><noinclude>
Author field optional.
 
[[Category:Templates|Quotehead]]</noinclude>

Revision as of 15:42, 1 February 2013

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
SomeoneSource