Template:Rquote: Difference between revisions

From Hololive Fan Wiki
Content added Content deleted
(Show as rendered in main space for people who might not read the documentation)
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<templatestyles src="Rquote/styles.css"/>
<noinclude>The template appears as follows in article space:
{| 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|}}}"
{{Quote|text={{lorem ipsum}}| style=width:33%}}
|- style="text-align:left; vertical-align:top;"
and as follows in all other namespaces:
| 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;"|
</noinclude>{{main other
| 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>}}}}}}}}}}}}}}}}}
|demospace={{{demospace|}}}
| 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;"|
|1=<!-- result if in mainspace -->{{Quote
|-
| 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>}}}}}}}}}}}}}}}}}
| 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>}}
| author = {{{3|{{{author|<noinclude>person quoted</noinclude>}}}}}}
|}<!--Markup inserted from Template:Rquote--><noinclude>
| source = {{#if:{{{4|{{{source|}}}}}}|{{{4|{{{source<noinclude>|cited source</noinclude>}}}}}}}}
| style =float:{{{1|{{{align}}}}}}; width:{{{width|33%}}}; {{{style|}}}
}}
|2=<!-- result if elsewhere -->
{{{!}} class="rquote pullquote float{{{1|{{{align}}}}}}" role="presentation" style="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;"
{{!}} 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;"{{!}}
{{!}} 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>}}}}}}}}}}}}}}}}}
{{!}} 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;"{{!}}
{{!}}-
{{!}} 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>}}
{{!}}}
}}<!--Markup inserted from Template:Rquote-->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 16:30, 22 May 2022

Template:Rquote/doc