Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish
Use thinspace; nbsp is too wide (or use nbsp and en dash, but full-width spaces are not used with em dashes).
meta>SMcCandlish
merging redundant code (and keeping it all inside "<!-- {{subst:FULLPAGENAME}} -->"); enabling citation of source w.o. author (e.g. scripture, law, etc.); sandboxed and testcased already.
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:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:Articles with attributed pull quotes]]}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|<div style="font-size: smaller; text-align: right;">—&thinsp;{{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}</div></cite>}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite><div style="font-size: smaller; text-align: right;">—&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}}}}}}}}}}}}}}}}}</div></cite>}}
}}
}}
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 02:53, 7 December 2015