Template:Rquote: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(rv redirect. syntax is different between rquote and quotebox, thus redirection results in breaking all existing rquote usages. It would be better to TfD rquote and manually transition.)
m (85 revisions imported from wikipedia:Template:Rquote)
 
(45 intermediate revisions by 23 users not shown)
Line 1: Line 1:
<noinclude>The template appears as follows in article space:
{| class="float{{{1}}}" width="33%" align="{{{1}}}" style="background-color:inherit;border-collapse:collapse;border-style:none;margin: .5em .75em;"
{{Quote| class = rquote|text={{lorem ipsum}}| style=width:33%}}
| width="20" valign="top" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:left;padding:2 2px;" |
and as follows in all other namespaces:
| valign="top" align="left" style="padding:0 10px;" | {{{2<noinclude>|{{Lorem ipsum}}</noinclude>}}}
</noinclude><templatestyles src="Rquote/styles.css"/>{{main other
| width="20" valign="bottom" style="color:#B2B7F2;font-size:40px;font-family:'Times New Roman',serif;font-weight:bold;text-align:right;padding:2 2px;" |
|demospace={{{demospace|}}}
|-
|1=<!-- result if in mainspace -->{{Blockquote
| 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;">&mdash;{{{3<noinclude>|Source</noinclude>}}}{{#if:{{{4|<noinclude>Citation</noinclude>}}}|, {{{4<noinclude>|Citation</noinclude>}}}}}</cite>'''</p>}}
| class = rquote
|}<!--Markup inserted from Template:Rquote--> <noinclude>
| text = {{trim quotes|{{{text|{{{content|{{{quotetext|{{{quote|{{{2|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}}}
===Related templates===
| author = {{{3|{{{author|<noinclude>person quoted</noinclude>}}}}}}
* [[Template:Cquote]]
| source = {{#if:{{{4|{{{source|}}}}}}|{{{4|{{{source<noinclude>|cited source</noinclude>}}}}}}}}
* [[Template:Quotation]]
| style =float:{{{1|{{{align}}}}}}; width:{{{width|33%}}}; {{{style|}}}
* [[Template:Quote box]]
}}

|2=<!-- result if elsewhere -->
=== Parameters ===
{{{!}} class="rquote pullquote float{{{1|{{{align}}}}}}" role="presentation" style="display:table; border-collapse:collapse; border-style:none; float:{{{1|{{{align}}}}}}; margin:0.5em 0.75em; width:{{{width|33%}}}; {{{style|}}}"

{{!}}- style="text-align:left; vertical-align:top;"
# '''Alignment''' (''left'', ''right'', or ''center'').
{{!}} style="color:#b2b7f2; font-size:3.3em; font-family:'Times New Roman',serif; font-weight:bold; padding:4px 2px 2px; width:0.5em; line-height: 1em;"{{!}}
# '''The Quote Text'''
{{!}} style="padding:0 10px;"{{!}} {{trim quotes|{{{text|{{{content|{{{quotetext|{{{quote|{{{2|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}}}}}}}}}
# '''Source''' (who said it?)
{{!}} style="color:#b2b7f2; font-size:3.3em; font-family:'Times New Roman',serif; font-weight:bold; padding:4px 2px 2px; text-align:right; vertical-align:bottom; width:0.5em; line-height: 1em;"{{!}}
# '''Citation''' (where was it said?)
{{!}}-

{{!}} class="rquotecite" colspan="3" style="padding-top:10px; font-size:smaller; line-height:normal; text-align:right;"{{!}} {{#if:{{{3|{{{author|{{{4|{{{source|}}}}}}}}}}}}|<cite>—&nbsp;{{{3|{{{author|<noinclude>person quoted</noinclude>}}}}}}{{#if:{{{4|{{{source|}}}}}}|{{#if:{{{3|{{{author|}}}}}}|,}}&#32;{{{4|{{{source<noinclude>|cited source</noinclude>}}}}}}}}</cite>}}
[[Category:Quotation templates|{{PAGENAME}}]][[Category:Templates using ParserFunctions|{{PAGENAME}}]]
{{!}}}

}}<!--Markup inserted from Template:Rquote--><noinclude>
=== Example ===
{{Documentation}}

</noinclude>

<nowiki>{{Rquote|left|The Quote Text|Source|Citation}}</nowiki>


{{Rquote|center|The Quote Text|Source|Citation}}

[[fr:modèle:citationD]]
[[ro:Format:CitareText]]</noinclude>

Latest revision as of 09:01, 16 June 2021

The template appears as follows in article space:

Lorem ipsum dolor sit amet, consectetur adipiscing 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.

and as follows in all other namespaces: