Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
www>FuzzyCatPotato
No edit summary
meta>WOSlinker
(fix cite tag)
Line 1: Line 1:
{| style="margin: auto; border-collapse:collapse; border-style:none; background-color:transparent;" class="cquote" |
{| class="cquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
|<div style="padding:4px {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
  | left = float:left
|10px=40px
  | right = float:right
|30px=60px
  | #default = margin:auto
|40px=70px
  }}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}"
|50px=80px
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}}
|60px=90px
|#default=50px}};position:relative;"><span style="position:absolute;left:10px;top:-6px;z-index:1;font-family:'Times New Roman',serif;font-weight:bold;color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
Line 12: Line 10:
|50px=100px
|50px=100px
|60px=120px
|60px=120px
|#default=36px}}"></span><span style="position:absolute;right:10px;bottom:-20px;z-index:1;font-family:'Times New Roman',serif;font-weight:bold;color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | {{#if:{{{rtl|}}}|”|}}
| style="vertical-align: top; border: none;{{#if:{{{rtl|}}}|direction:rtl;}} padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{content|{{{quotetext|{{{quote|{{{1|<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="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
Line 18: Line 18:
|50px=100px
|50px=100px
|60px=120px
|60px=120px
|#default=36px}}">”</span>{{{1|Insert the text of the quote here, without quotation marks}}}</div>
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | {{#if:{{{rtl|}}}|“|”}}
|-
|-
{{#if:{{{4|}}}{{{5|}}}|
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:Articles with attributed pull quotes]]}}
{{!}} style="padding:4px 10px 8px;font-size:smaller;line-height:1.6em;text-align:right;" {{!}} {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<cite style="font-style:normal;position:relative;z-index:2">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite>}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; text-align: right;" {{!}} <cite>—&thinsp;{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|{{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}|{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|{{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}}}</cite>
}}
}}
|}<noinclude>{{doc}}</noinclude>
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
</noinclude>

Revision as of 19:31, 3 October 2017