Template:Quote: Difference between revisions

From Wikimedia UK
Jump to navigation Jump to search
(Trying to make the template less horrifying by using code from http://en.wikipedia.org/wiki/Template:Quote)
(from officewiki)
 
Line 1: Line 1:
<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 style="margin:2px 2em; padding:0.5em; background:#EEEEEE; border:1px solid gray; color:#333;">{{{quote|{{{1}}}}}}{{#if:{{{auth|{{{2|}}}}}}|&nbsp;&nbsp;&nbsp;&nbsp;<small>{{{auth|{{{2}}}}}}</small>}}</div><noinclude>
|<div class="templatequotecite">&#8212;{{{sign|{{{cite|{{{2|<noinclude>[[Someone's full name|Someone]]</noinclude>}}}}}}}}}{{#if:{{{source|{{{3|<noinclude>TRUE</noinclude>}}}}}}
----
  |,&nbsp;<cite>{{{source|{{{3|<noinclude>''Source''</noinclude>}}}}}}</cite>
<nowiki>{{</nowiki>quote|''quote text here''|''author's name here''}}
}}</div>
or <nowiki>{{</nowiki>quote|quote=''quote text here''|auth=''author's name here''}}
}}</blockquote><noinclude>
 
Author field optional.
 
[[Category:Templates|Quotehead]]</noinclude>

Latest revision as of 00:08, 8 March 2013

{{{1}}}

{{quote|quote text here|author's name here}}
or {{quote|quote=quote text here|auth=author's name here}}

Author field optional.