Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish
(thin no-break space after em dash for readability)
meta>SMcCandlish
(moving virtually dead code to ends of the #if tests (no one uses the numbered parameters any more since {{{3}}} was eliminated a long time ago); adding {{{quotetext}}} param. alias, from Template:Pull quote2, for easier conversion.)
Line 4: Line 4:
   | #default = margin:auto
   | #default = margin:auto
   }}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}"
   }}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}"
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
Line 11: Line 11:
|60px=120px
|60px=120px
|#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | “
|#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | “
| style="vertical-align: top; border: none; padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{1|<includeonly>Insert the text of the quote here, without quotation marks.</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}
| style="vertical-align: top; border: none; padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{quotetext|{{{1|<includeonly>Insert the text of the quote here, without quotation marks.</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}}
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
| 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 20: Line 20:
|#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | ”
|#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | ”
|-
|-
{{#if:{{{4|{{{author|{{{personquoted|}}}}}}}}}{{{5|{{{source|{{{publication|{{{title|{{{quotesource|}}}}}}}}}}}}}}}|
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{4|{{{author|{{{personquoted|}}}}}}}}}|<div style="font-size: smaller; text-align: right;">—&#8239;{{{4|{{{author|{{{personquoted}}}}}}}}}{{#if:{{{5|{{{source|{{{publication|{{{title|{{{quotesource|}}}}}}}}}}}}}}}|, {{{5|{{{source|{{{publication|{{{title|{{{quotesource}}}}}}}}}}}}}}}}}</div></cite>}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|<div style="font-size: smaller; text-align: right;">—&#8239;{{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}</div></cite>}}
}}
}}
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|{{{title|}}}{{{quotesource|}}}}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 22:08, 12 September 2015