Template:මව් ද්වාරය

From Wikisource
Jump to navigation Jump to search

Portal:සුචිය


This template is a navigation aid for the Portal: namespace. It creates stacked links to the appropriate portals, given reference letters. This navigation system uses an adapted version of the Library of Congress Classification system.

Placement[edit]

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

භාවිතය[edit]

{{මව් ද්වාරය
 | class     =
 | subclass1 = 
 | subclass2 = 
 | number    = 
 | midclass  =
}}

පැරාමිති[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.
  • midclass: If yes or y, this display the link to the main subclass as well the class and secondary subclass.

If no parameters are passed to the template it creates a link to Portal:Index

If midclass is not set to Yes (or y) the template will just display the class and the subclass specified by subclass2. In this case, the template still needs to the subclass1 parameter to be defined, in order to select the correct subclass.

උදාහරණ[edit]

උදාහරණ 1[edit]

To label a portal as part of Subclass UEA - Armor:

{{මව් ද්වාරය
 | class     = u
 | subclass1 = e
 | subclass2 = a
 | number    = 
 | midclass  =
}}

Class U - စစ်ရေးသိပ္ပံ
Subclass EA - [[Portal:Template:LCC Class U|Template:LCC Class U]]

උදාහරණ 2[edit]

Alternatively, the midclass parameter can be used to display all three links:

{{මව් ද්වාරය
 | class     = u
 | subclass1 = e
 | subclass2 = a
 | number    = 
 | midclass  = y
}}

Class U - စစ်ရေးသိပ္ပံ
Subclass E - [[Portal:Template:LCC Class U|Template:LCC Class U]]
Subclass A - [[Portal:Template:LCC Class U|Template:LCC Class U]]

උදාහරණ 3[edit]

To label a portal as part of Subclass UE - Cavalry:

{{මව් ද්වාරය
 | class     = u
 | subclass1 = e
 | subclass2 = 
 | number    = 
 | midclass  =
}}

Class U - စစ်ရေးသိပ္ပံ
Subclass E - [[Portal:Template:LCC Class U|Template:LCC Class U]]

සටහන: In this case, the parameter midclass would have no effect as subclass2 is not being used.

ආශ්‍රිත සැකිලි[edit]

සොයුරු සැකිලි:

Child සැකිලි:

Grandchild සැකිලි: