Template:Cquote: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Skalman
mNo edit summary
m 1 revision imported
 
(115 intermediate revisions by 54 users not shown)
Line 1: Line 1:
{| cellpadding="10" align="center" style="border-collapse:collapse; background-color:transparent; border-style:none;"
{{main other
| width="20" valign=top | {{Click|image = cquote1.png|link = {{FULLPAGENAME}}| width = {{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}|height = {{{size|{{{3|{{{quoteheight|{{{height|20px}}}}}}}}}}}}}}| {{{1}}}
|demospace={{{demospace|}}}
| width="20" valign=bottom | {{Click|image = cquote2.png|link = {{FULLPAGENAME}}| width = {{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}|height = {{{size|{{{3|{{{quoteheight|{{{height|20px}}}}}}}}}}}}}}
|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>}}} }}} }}} }}} }}}
| colspan="3" style="padding-top: 10px" | {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;line-height:1em;text-align: right"><cite style="font-style:normal;">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite></p>}}
| author={{{author|{{{personquoted|}}} }}}
|}<noinclude>'''Usage:'''  <code><nowiki>{{cquote|quote text|quote width in pixels|quote height in pixels|Origin of quote|Cited source}}</nowiki><code>
| title ={{{title|{{{quotesource|{{{4|}}} }}} }}}
* Only the first parameter is required.
| source={{{source|{{{publication|{{{5|{{#if:{{{title}}}|{{{quotesource|}}}| }} }}} }}} }}}
[[category:Quotation templates|{{PAGENAME}}]]
}}
[[es:Plantilla:Cita]]
|2=<!-- result if elsewhere -->
[[pt:Predefinição:Quote2]]
{{(!}} class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
[[ru:Шаблон:Цитатник]]
  | left = float:left
[[sv:Mall:Citat]]
  | right = float:right
  | #default = margin:auto
  }}; 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|{{{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="vertical-align: top; border: none;{{#if:{{{rtl|}}}|direction:rtl;}} padding: {{#if:{{{small|}}}|4px 2px|4px 10px}}; {{#ifeq:{{{quotealign|}}}|center|text-align:center;}}" {{!}} {{trim quotes|{{{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>}}}}}}}}}}}}}}}}}
{{!}} 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]]}}
{{!}} colspan="3" class="cquotecite" style="border: none; padding-right: 4%; font-size: smaller; line-height:normal; text-align: right;" {{!}} <cite>—&#8202;{{#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>
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 23:39, 7 June 2021