Template:Rquote: Difference between revisions
Content added Content deleted
(Major overhaul! Now uses parser functions and reduces cleanly. Better documentation, as well.) |
(cl & improvements) |
||
Line 1: | Line 1: | ||
{| width="33%" cellspacing="10" align="{{{1}}}" style="display:block;background-color:inherit;border-collapse:collapse;border-style:none;float:{{{1}}};clear:{{{1}}}; |
{| width="33%" cellspacing="10" align="{{{1}}}" style="display:block;background-color:inherit;border-collapse:collapse;border-style:none;float:{{{1}}};clear:{{{1}}};padding: .5em 0;margin:1em;" |
||
| width="20" valign=top | {{Click|image=cquote1.png|link={{FULLPAGENAME}}|width=20px|height=20px}} |
| width="20" valign=top | {{Click|image=cquote1.png|link={{FULLPAGENAME}}|width=20px|height=20px}} |
||
| align="left" style="padding:0 10px" | {{{2<noinclude>|{{ |
| align="left" style="padding:0 10px" | {{{2<noinclude>|{{Lorum Ipsum-50}}</noinclude>}}} |
||
| width="20" valign=bottom | {{Click|image=cquote2.png|link={{FULLPAGENAME}}|width=20px|height=20px}} |
| width="20" valign=bottom | {{Click|image=cquote2.png|link={{FULLPAGENAME}}|width=20px|height=20px}} |
||
|- |
|- |
||
| colspan="3" style="padding: 10px |
| colspan="3" style="padding-top: 10px" | {{#if:{{{3|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right">'''<cite style="font-style:normal;">—{{{3}}}{{#if:{{{4|<noinclude>Source</noinclude>}}}|, {{{4}}}}}</cite>'''</p>}} |
||
|}<!--Markup inserted from Template:Rquote--> |
|}<!--Markup inserted from Template:Rquote--> |
||
<noinclude> |
<noinclude>[[Category:Quotation templates|{{PAGENAME}}]][[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> |
||
For longer pullquotes of 50 words or more (in a similar style), use '''[[:Template:Cquote|Cquote]]'''. |
|||
==Usage== |
|||
<nowiki>{{Rquote|right/left|Quote text here|Source of quote, e.g. name of quoter|Cited source of quote}}</nowiki> |
|||
'''You should not put [[quotation marks]] around the quote. This template serves as a [[block quote]] to separate it from the text instead.''' |
|||
==Examples== |
|||
{{Rquote|right|This is an example pullquote with the first option set to ''right''.|[[Anonymous]]|The Rquote template page}}{{Lorem Ipsum}} |
|||
{{Rquote|left|This is an example pullquote with the first option set to ''left''.|[[Anonymous]]|The Rquote template page}}{{Lorem Ipsum}} |
|||
==Related templates== |
|||
{{See also|:Template:Cquote|:Template:Quote box|:Template:Quotation}} |
|||
[[Category:Quotation templates|{{PAGENAME}}]] |
|||
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]</noinclude> |
Revision as of 14:53, 26 June 2006
Template:Click | Template:Lorum Ipsum-50 | Template:Click |
—{{{3}}}, {{{4}}} |