Template:Cquote: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>SMcCandlish thin no-break space after em dash for readability |
meta>SMcCandlish moving virtually dead code to ends of the #if tests (no one uses the numbered parameters any more since {{{3}}} was eliminated a long time ago); adding {{{quotetext}}} param. alias, from Template:Pull quote2, for easier conversion. |
||
| Line 4: | Line 4: | ||
| #default = margin:auto | | #default = margin:auto | ||
}}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}" | }}; border-collapse: collapse; border: none; background-color: {{{bgcolor|transparent}}}; width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}}; {{#if: {{{bgcolor|}}} | border: 1px solid #AAAAAA;}}" | ||
| style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{ | | style="width: 20px; vertical-align: top; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}} | ||
|10px=20px | |10px=20px | ||
|30px=60px | |30px=60px | ||
| Line 11: | Line 11: | ||
|60px=120px | |60px=120px | ||
|#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | “ | |#default=40px}}; font-family: 'Times New Roman', Times, serif; font-weight: bold; line-height: .6em; text-align: left; padding: {{#if:{{{small|}}}|10px 2px|10px 10px}};" | “ | ||
| style="vertical-align: top; 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>}}}}}} | | style="vertical-align: top; border: none; padding: {{#if:{{{small|}}}|4px 2px|4px 10px}};" | {{{text|{{{quotetext|{{{1|<includeonly>Insert the text of the quote here, without quotation marks.</includeonly><noinclude>{{lorem ipsum}}</noinclude>}}}}}}}}} | ||
| style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{ | | style="width: 20px; vertical-align: bottom; border: none; color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{quotewidth|{{{width|{{{2|20px}}}}}}}}}}}} | ||
|10px=20px | |10px=20px | ||
|30px=60px | |30px=60px | ||
| 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:{{{ | {{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}| | ||
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{ | {{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%" {{!}} <cite>{{#if:{{{author|{{{personquoted|{{{4|}}}}}}}}}|<div style="font-size: smaller; text-align: right;">— {{{author|{{{personquoted|{{{4}}}}}}}}}{{#if:{{{source|{{{publication|{{{title|{{{quotesource|{{{5|}}}}}}}}}}}}}}}|, {{{source|{{{publication|{{{title|{{{quotesource|{{{5}}}}}}}}}}}}}}}}}</div></cite>}} | ||
}} | }} | ||
|}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if: | |}<!-- {{subst:FULLPAGENAME}} -->{{#if:{{NAMESPACE}}||{{#if:{{{author|{{{personquoted|{{{source|{{{publication|{{{title|{{{quotesource|{{{4|{{{5|}}}}}}}}}}}}}}}}}}}}}}}}|[[Category:Articles with attributed pull quotes]]}}}}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> | ||
Revision as of 22:08, 12 September 2015
| “ | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. | ” |
Lua error in Module:Documentation at line 7: Module:Documentation/config returned boolean, table expected.