Template:ද්වාර ශීර්ෂකය

From Wikisource
Jump to navigation Jump to search
ද්වාර ශීර්ෂකය

භාවිතය[edit]

මෙය සියළුම ද්වාර නාමාවකාශයෙ පිටුවල ඉහළින්ම භාවිතාවන සැකිල්ල වේ. මෙමගින් අදාළ මංසළකුණු සබැඳි සහ ද්වාරයේ ආවරණය පිළිබඳ විස්තර සැපයෙයි. මෙහි ආකාර දෙකක් වෙයි:

සාමාන්‍ය භාවිතය:

{{ද්වාර ශීර්ෂකය
 | title     = 
 | class     = 
 | subclass1 = 
 | reviewed  = 
 | shortcut  = 
 | notes     = 
}}

සම්පූර්ණ භාව්තය:

As portals may be linked from Wikidata, use of that process would generally be preferred, if appropriate, rather than use of parameters.

{{ද්වාර ශීර්ෂකය
 | title          = 
 | parent         = 
 | class          = 
 | subclass1      = 
 | subclass2      = 
 | number         = 
 | midclass       = 
 | reviewed       = 
 | forcecat       = 
 | sortkey        = 
 | portal         = 
 | related_author = 
 | wikipedia      = 
 | commons        = 
 | commonscat     = 
 | wikiquote      = 
 | wikinews       = 
 | wiktionary     = 
 | wikibooks      = 
 | wikiversity    = 
 | wikispecies    = 
 | wikivoyage     = 
 | wikidata       = 
 | meta           = 
 | shortcut       = 
 | notes          = 
}}

පරාමිති[edit]

  • සාමාන්‍ය පැරාමිති
    • title: Portal title.
    • parent: Parent portal (if applicable). This overrides the default portal links in the title bar. Categorises into the hidden category Category:Portals linking to a parent
    • class: The classification letter of the portal (see Portal:Index)
    • subclass1: The first subclass letter of the portal (if applicable)
    • subclass2: The second subclass letter of the portal (if applicable)
    • number: The classification number of the portal (if applicable). Not yet in use.
    • midclass: Forces the display of both subclasses if both subclass1 and subclass2 are defined.
    • shortcut: Shortcut to the portal.
    • reviewed: Set to yes when the portal's classification has been reviewed, see also {{Portal review}}.
    • notes: Notes regarding the portal.
  • Overrides (for exceptions)
    • forcecat: By default this template categorises the portal into Category:Portals, if the header is used on a basepage (not a subpage) of the Portal namespace. Use "n" or "no" to prevent this categorisation; use "forced" to force the categorisation regardless of the basepage/namespace.
    • sortkey: Sortkey for automatic categorisation.
  • Internal links (optional - use whichever are appropriate)
    • portal: slash-separated list of related portals. Eg Template:Tt
    • related_author: slash-separated list of related authors. Eg Template:Tt
  • Interwiki links (optional - use whichever are appropriate. Consider using linking through Wikidata)
    • wikipedia, commons, commonscat, wikiquote, wikinews, wiktionary, wikibooks, wikiversity, wikispecies, meta, wikivoyage, wikidata