Template:Portal Class/sandbox
Appearance
This is the template sandbox page for Template:Portal Class (diff). See also the companion subpage for test cases. |
This template uses Lua: |
This template uses TemplateStyles: |
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
[edit]Place inside the notes field of {{Portal header}}.
Usage
[edit]{{Portal Class | class = | subclass1 = | subclass2 = | number = }}
Parameters
[edit]- 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
[edit]To label a portal as part of Subclass AM - Museums:
{{Portal Class | class = a | subclass1 = m | subclass2 = | number = }}
Related templates
[edit]Sister template:
Child template: