Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish
(code cleanup (see recent sandbox history for what each tweak is))
meta>SMcCandlish
(support parameter names of Template:Pull quote2 for easier conversion; added title param. to cat. test)
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|}}}}}}{{{5|{{{source|{{{publication|{{{title|}}}}}}}}}}}}|
{{#if:{{{4|{{{author|{{{personquoted|}}}}}}}}}{{{5|{{{source|{{{publication|{{{title|{{{quotesource|}}}}}}}}}}}}}}}|
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{4|{{{author|}}}}}}|<div style="font-size: smaller; text-align: right;">—{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|{{{title|}}}}}}}}}}}}|, {{{5|{{{source|{{{publication|{{{title}}}}}}}}}}}}}}</div></cite>}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{4|{{{author|{{{personquoted|}}}}}}}}}|<div style="font-size: smaller; text-align: right;">—{{{4|{{{author|{{{personquoted}}}}}}}}}{{#if:{{{5|{{{source|{{{publication|{{{title|{{{quotesource|}}}}}}}}}}}}}}}|, {{{5|{{{source|{{{publication|{{{title|{{{quotesource}}}}}}}}}}}}}}}}}</div></cite>}}
}}
}}
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|{{{title|}}}{{{quotesource|}}}}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 21:43, 12 September 2015