Templat:Cquote: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
per en |
fix css Tag: Pengembalian manual |
||
(7 revisi perantara oleh 5 pengguna tidak ditampilkan) | |||
Baris 1:
<noinclude>Templat muncul sebagai berikut di ruang artikel:
{| class="cquote" role="presentation" style="{{#switch:{{{float|}}}▼
{{Blockquote|text={{lorem ipsum}}}}
dan seperti berikut di semua namespace lainnya:
</noinclude>{{Main other
|demospace={{{demospace|}}}
|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 -->
▲{
| left = float:left
| right = float:right
| #default = margin:auto
}}; border-collapse: collapse; border: none; {{#if:{{{bgcolor|}}}|background-color: {{{bgcolor
|10px=20px
|30px=60px
Baris 10 ⟶ 22:
|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}};"
|10px=20px
|30px=60px
Baris 18 ⟶ 30:
|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:{{{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|}}}}}}}}}|
}}
{{!)}}
}}<!-- {{subst:FULLPAGENAME}} --><noinclude>
{{documentation}}
</noinclude>
|