Templat:Portal Class: Perbedaan antara revisi
Konten dihapus Konten ditambahkan
Tidak ada ringkasan suntingan |
Tidak ada ringkasan suntingan |
||
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;">{{smallcaps|Kelas}}</div><!-- Title text of the template -->
<div>'''{{x-larger|{{#if: {{{
| {{#switch: {{{
| none = t/a
| #default = [[Portal:{{
|
}}|{{
}}
| {{#switch: {{NAMESPACE}} | Portal = ? | #default =
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 "
-->
}}{{#if: {{{
| [[Portal:{{
|
|
}}|{{
|0
}}{{#if: {{{
| [[Portal:{{
|
|
|
}}|{{
|0
}}}}'''</div>
<div style="font-size: 0.9em;">[[Portal:Portal|Utama]]/[[
<!--
The following code is for the automatic subclassification of all portals by class (which is useful for both maintenance and browsing)
-->{{#ifeq: {{{
| none
| <!-- "none" = no category -->
| {{#switch: {{NAMESPACE}}
| Portal = [[Kategori:Portal {{#switch: {{lc:{{{
| 000 = komputer, informasi, dan referensi umum
|
|
|
|
|
|
|
|
|
|
}}|{{PAGENAME}}]]
| #default = <!-- no categories in non-Portal namespaces -->
|