Templat:Portal Class: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Mencoba menyelesaikan masalah sendiri sekali lagi |
||
Baris 1:
<div style="clear: right; border: solid #aaa 1px; margin: 0 1em 1em 1em; font-size: 0.9em; background: #f9f9f9; min-width: 50px; padding: 4px; text-align: center; float: left;">
<div style="font-size: 0.9em;">
<div>'''{{x-larger|{{#if: {{{kelas|}}}
| {{#switch: {{{kelas}}}<!-- If defined as "none" (rather than left blank) it will display "t/a" -->
Baris 9:
}}
| {{#switch: {{NAMESPACE}} | Portal = ? | #default = t/a}}<!-- If no class is defined
In Portal: namespace this will result in a question mark and automatically categorise the portal as unclassified. Elsewhere, this will just result in the term "t/a" appearing.▼
▲In Portal: namespace this will result in a question mark and automatically categorise the portal as unclassified
-->
}}
{{#if:
| kelas = {{{kelas}}}
}}]] |
▲ }}}}'''</div>
<div style="font-size: 0.9em;">[[Portal:Portal|Utama]]/[[Portal:Indeks|Indeks]]</div><!-- Base text to top and bottom portals of the entire Portal: namspace -->
<!--
|