Templat:Cquote: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
fix css Tag: Pengembalian manual |
||
(17 revisi perantara oleh 10 pengguna tidak ditampilkan) | |||
Baris 1:
<noinclude>Templat muncul sebagai berikut di ruang artikel:
{{Blockquote|text={{lorem ipsum}}}}
dan seperti berikut di semua namespace lainnya:
</noinclude>{{Main other
|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}}}}};"
▲
|10px=20px
|30px=60px
Baris 9 ⟶ 22:
|50px=100px
|60px=120px
|#default=
{{!}} 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>}}}}}}}}}}}}}}}}}
|10px=20px
|30px=60px
Baris 17 ⟶ 30:
|50px=100px
|60px=120px
|#default=
{{!-}}
{{#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>— {{#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>
|