Jump to content

Template:Rquote: Difference between revisions

669 bytes added ,  18 years ago
Major overhaul! Now uses parser functions and reduces cleanly. Better documentation, as well.
m (cl)
(Major overhaul! Now uses parser functions and reduces cleanly. Better documentation, as well.)
Line 1:
<includeonly>{| width="33%" cellspacing="10" align="{{{1}}}" style="display:block;background-color:inherit;border-collapse:collapse;border-style:none;float:{{{1}}};clear:{{{1}}};margin:0 1em;"
| width="20" valign=top | {{Click|image=cquote1.png|link={{FULLPAGENAME}}|width=20px|height=20px}}
| align="left" style="padding:0 10px" | {{{2<noinclude>|{{sample text}}</noinclude>}}}
| width="20" valign=bottom | {{Click|image=cquote2.png|link={{FULLPAGENAME}}|width=20px|height=20px}}
|-
| colspan="3" style="padding: 10px 0" | {{#if:{{{3|<noinclude>X</noinclude>}}}|<divp style="font-size:85%smaller;line-height:1em;text-align: right;">'''<cite style="font-style:normal;">—{{{3}}}{{#if:{{{4|<noinclude>X</noinclude>}}}|, ''{{{4}}}''}}</divcite>'''</p>}}
|}<!--Markup inserted from Template:Rquote-->
|}</includeonly><noinclude>
<noinclude>'''Rquote''' is a [[:Category:Quotation templates|Quotationquotation template]] meant for brief quotes[[pullquote]]s of (less than 50 words) in length.
{{rquote|right|This is an example quote with the first option set to right.|[[User:Havok|Havok]] said this on the Rquote template page}}
[[:Category:Quotation templates|Quotation template]] meant for brief quotes (less than 50 words).
 
For longer quotespullquotes of (50 words or more) (in a similar style), tryuse '''<nowiki>{{</nowiki>[[:Template:Cquote|Cquote]]<nowiki>}}</nowiki>'''.
==Usage==
<nowiki>{{rquoteRquote|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==
{{rquoteRquote|right|This is an example quotepullquote with the first option set to ''right''.|[[User:Havok|HavokAnonymous]] said this on the|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>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.