Lompat ke isi

Templat:Portal Class/dok

Dari Wikisumber bahasa Indonesia, perpustakaan bebas
Ini adalah subhalaman dokumentasi untuk Templat:Portal Class.
Halaman ini mengandung informasi penggunaan, kategori, pranala antarbahasa, dan lain-lain yang bukan merupakan bagian dari halaman templat asli.

This template is a navigation aid for the Portal: namespace. It creates a box that both displays the portal classification and provides links to the appropriate portals. This navigation system uses an adapted version of the Library of Congress Classification system.

Placement

[sunting]

Place inside the notes field of {{Portal header}}.

Usage

[sunting]
{{Portal Class
 | class     =
 | subclass1 = 
 | subclass2 = 
 | number    = 
}}

Parameters

[sunting]
  • {{{class}}}: The main subclass
  • {{{subclass1}}}: The main subclass
  • {{{subclass2}}}: The secondary subclass
  • {{{number}}}: This parameter is not implemented at this time. It exists as a provision for possible future use of the number segment of the Library of Congress Classification system.

If no parameters are passed to the template it displays the default text "n/a"

Example

[sunting]

To label a portal as part of Subclass AM - Museums:

{{Portal Class
 | class     = a
 | subclass1 = m
 | subclass2 = 
 | number    = 
}}
Kelas


[sunting]

Sister template:

Child template:

Grandchild templates: