Template:Cquote and Template:Cquote/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
move bgcolor |
Using NNBSP Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 2: | Line 2: | ||
{{Blockquote|text={{lorem ipsum}}}} |
{{Blockquote|text={{lorem ipsum}}}} |
||
and as follows in all other namespaces: |
and as follows in all other namespaces: |
||
</noinclude>{{ |
</noinclude>{{main other |
||
|demospace={{{demospace|}}} |
|demospace={{{demospace|}}} |
||
|1=<!-- result if in mainspace -->{{ |
|1=<!-- result if in mainspace -->{{quote |
||
| text={{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}} }}} }}} }}} }}} |
| text={{{text|{{{content|{{{quotetext|{{{quote|{{{1|<includeonly>{{error|Error: No text given for quotation (or equals sign used in the actual argument to an unnamed parameter)}}</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}} }}} }}} }}} }}} |
||
| author={{{author|{{{personquoted|}}} }}} |
| author={{{author|{{{personquoted|}}} }}} |
||
Line 11: | Line 11: | ||
}} |
}} |
||
|2=<!-- result if elsewhere --> |
|2=<!-- result if elsewhere --> |
||
<templatestyles src="Cquote/styles.css" /> |
|||
{{(!}} class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}} |
|||
<div class="cquote-sandbox pullquote" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}|left=float:left|right=float:right}} width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | background-color: {{{bgcolor}}}; border: 1px solid #AAAAAA;}}"> |
|||
| left = float:left |
|||
<blockquote class="cquote-body {{#ifeq:{{{quotealign|}}}|center|center}}" data-quote-size="{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}}"> |
|||
| right = float:right |
|||
⚫ | |||
| #default = margin:auto |
|||
</blockquote> |
|||
}}; border-collapse: collapse; border: none; {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}}; border: 1px solid #aaa;}} width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}};" |
|||
{{!}} style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}} |
|||
|10px=20px |
|||
|30px=60px |
|||
|40px=80px |
|||
|50px=100px |
|||
|60px=120px |
|||
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" {{!}} {{#if:{{{rtl|}}}|”|“}} |
|||
⚫ | |||
{{!}} style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}} |
|||
|10px=20px |
|||
|30px=60px |
|||
|40px=80px |
|||
|50px=100px |
|||
|60px=120px |
|||
|#default=40px}}; font-family: {{#if:{{{rtl|}}}|Roman|'Times New Roman', Times}}, serif; font-weight: bold; line-height: .6em; text-align: right; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" {{!}} {{#if:{{{rtl|}}}|“|”}} |
|||
{{!-}} |
|||
{{#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]]}} |
||
<p class="cquotecite-sandbox"> {{#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}}}}}}}}}}}}}}}}}}} |
|||
</p> |
|||
}} |
}} |
||
</div> |
|||
{{!)}} |
|||
}}<!-- {{subst:FULLPAGENAME}} --><noinclude> |
}}<!-- {{subst:FULLPAGENAME}} --><noinclude> |
||
{{documentation}} |
{{documentation}} |