Template:Cquote: Difference between revisions

From WikiIndex
Jump to navigation Jump to search
(fix template:Documentation with 'No' parameter)
(tweaks)
Line 1: Line 1:
{|class="cquote" style="margin:auto; border-collapse:collapse; border:none; background-color:{{{bgcolor|transparent}}}; width:{{#if:{{{wide|}}}|100%|auto}}; {{#if:{{{bgcolor|}}}|border:1px solid #AAAAAA}}"
{|class=Cquote style="margin:auto; border-collapse:collapse; border:none; background-color:{{{bgcolor|transparent}}}; width:{{#if:{{{wide|}}}|100%|auto}}; {{#if:{{{bgcolor|}}}|border:1px solid #AAAAAA}}"
|width="20" valign="top" style="border:none; color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|width=20 valign=top style="border:none; color:#B2B7F2; font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
Line 6: Line 6:
|50px=100px
|50px=100px
|60px=120px
|60px=120px
|#default=35px}}; font-family:'Times New Roman', serif; font-weight:bold; text-align:left; padding:{{#if:{{{small|}}}|10px 2px|10px 10px}}"|
|#default=35px}}; font-family:'Times New Roman', serif; font-weight:bold; text-align:left; padding:{{#if:{{{small|}}}|10px 2px|10px 10px}}"|
|valign="top" style="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>}}}}}}
|valign=top style="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>}}}}}}
|width="20" valign="bottom" style="border:none; color:#B2B7F2; font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|width=20 valign=bottom style="border:none; color:#B2B7F2; font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|10px=20px
|10px=20px
|30px=60px
|30px=60px
Line 14: Line 14:
|50px=100px
|50px=100px
|60px=120px
|60px=120px
|#default=35px}}; font-family:'Times New Roman', serif; font-weight:bold; text-align:right; padding:{{#if:{{{small|}}}|10px 2px|10px 10px}}"|
|#default=35px}}; font-family:'Times New Roman', serif; font-weight:bold; text-align:right; padding:{{#if:{{{small|}}}|10px 2px|10px 10px}}"|
|-
|-
{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|
{{#if:{{{4|{{{author|}}}}}}{{{5|{{{source|{{{publication|}}}}}}}}}|
{{!}} colspan="3" class="cquotecite" style="border:none; padding-right:4%" {{!}} {{#if:{{{4|{{{author|<noinclude>Origin</noinclude>}}}}}}|<p style="font-size:smaller; text-align:right"><cite style="font-style:normal">—{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|<noinclude>Source</noinclude>}}}}}}}}}|, {{{5|{{{source|{{{publication}}}}}}}}}}}</cite></p>}}
{{!}}colspan=3 class=Cquotecite style="border:none; padding-right:4%"{{!}}{{#if:{{{4|{{{author|<noinclude>Origin</noinclude>}}}}}}|<p style="font-size:smaller; text-align:right"><cite style=font-style:normal>&nbsp;&nbsp;{{{4|{{{author}}}}}}{{#if:{{{5|{{{source|{{{publication|<noinclude>Source</noinclude>}}}}}}}}}|, {{{5|{{{source|{{{publication}}}}}}}}}}}</cite></p>}}
}}
}}
|}<!-- {{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|}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude>
{{documentation|No}}
{{Documentation|No}}
[[Category:Shortcut templates]]
[[Category:Shortcut templates]]</noinclude>
</noinclude>

Revision as of 01:55, 13 February 2019

lorem ipsum

No user documentation is available for this template. :-( Feel free to create one if you desire. :) This WMF imported template was copied (or imported) from an existing template of the same (or similar) name as this, in accordance with the terms of their respective license(s), at either the English Wikipedia (En.Wp), Wikimedia Meta-Wiki ('Meta'), Wikimedia Commons ('Commons'), or other Wikimedia Foundation (WMF) wiki site; as found at Template:Cquote.