Templat:Cquote: Perbedaan antara revisi

Konten dihapus Konten ditambahkan
Borgx (bicara | kontrib)
kTidak ada ringkasan suntingan
Faredoka (bicara | kontrib)
fix css
Tag: Pengembalian manual
 
(19 revisi perantara oleh 12 pengguna tidak ditampilkan)
Baris 1:
<noinclude>Templat muncul sebagai berikut di ruang artikel:
{| style="margin:auto; border-collapse:collapse; border-style:none; background-color:{{{bgcolor|transparent}}}; {{
{{Blockquote|text={{lorem ipsum}}}}
#if: {{{bgcolor|}}}
dan seperti berikut di semua namespace lainnya:
| border: 1px solid #AAAAAA;
</noinclude>{{Main other
}}" class="cquote"
|demospace={{{demospace|}}}
| width="20" valign="top" style="color:#B2B7F2;font-size:{{#switch:{{{size|{{{2|{{{quotewidth|{{{width|20px}}}}}}}}}}}}
|1=<!-- result if in mainspace -->{{Blockquote
| 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|}}} }}}
| title ={{{title|{{{quotesource|{{{4|}}} }}} }}}
| source={{{source|{{{publication|{{{5|{{#if:{{{title}}}|{{{quotesource|}}}| }} }}} }}} }}}
}}
|2=<!-- result if elsewhere -->
{{(!}} class="cquote pullquote" role="presentation" {{#if:{{{rtl|}}}|dir="rtl"}} style="{{#switch:{{{float|}}}
| left = float:left
| right = float:right
| #default = margin:auto
}}; border-collapse: collapse; border: none; {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor}}}; border: 1px solid #aaa;}} width: {{#if: {{{wide|}}} | 100% | {{{width|auto}}}}};"
|{{!}} widthstyle="20"width: 20px; vertical-align: valign="top"; border: none; style="color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{2quotewidth|{{{quotewidthwidth|{{{width2|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
Baris 9 ⟶ 22:
|50px=100px
|60px=120px
|#default=35px40px}}; 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>}}}}}}}}}}}}}}}}}
| valign="top" style="padding:4px 10px;" | {{{1|Insert the text of the quote here, without quotation marks. <noinclude>{{lorem ipsum}}</noinclude>}}}
|{{!}} widthstyle="20"width: 20px; vertical-align: valign="bottom"; border: none; style="color: {{{qcolor|#B2B7F2}}}; font-size: {{#switch:{{{size|{{{2quotewidth|{{{quotewidthwidth|{{{width2|20px}}}}}}}}}}}}
|10px=20px
|30px=60px
Baris 17 ⟶ 30:
|50px=100px
|60px=120px
|#default=36px40px}}; 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:{{{4|}}}{{{5|}}}|
{{!}} 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>
{{!}} colspan="3" style="padding-right: 4%" {{!}} {{#if:{{{4|<noinclude>Origin</noinclude>}}}|<p style="font-size:smaller;text-align: right"><cite style="font-style:normal;">—{{{4}}}{{#if:{{{5|<noinclude>Source</noinclude>}}}|, {{{5}}}}}</cite></p>}}
}}
{{!)}}
|}<noinclude>{{{{PAGENAME}}/doc}}</noinclude>
}}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
</noinclude>