Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
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.
meta>Izno
Line 21: Line 21:
|-
|-
{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|{{#if:{{NAMESPACE}}||[[Category:Articles with attributed pull quotes]]}}
{{#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><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>}}
{{!}} 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>}}
}}
}}
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
|}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 11:04, 12 April 2016