Шаблон:Портал

Матеріал з Вікіджерел
Перейти до навігації Перейти до пошуку
[редагувати] [історія] [очистити кеш] Іконка документації Документація шаблону

Usage[ред.]

This is a template to be used at the top of every Portal: namespace page, to provide navigational links and to describe the scope of that portal. This template has got two variants:

  • {{national}} for nation-related portals
  • {{person}} for person-related portals

Базовий шаблон:

{{портал
 | title     = 
 | class     = 
 | subclass1 = 
 | reviewed  = 
 | shortcut  = 
 | notes     = 
}}

Full usage:

As portals may be linked from Вікідата, 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       = 
 | wikilivres     = 
 | meta           = 
 | shortcut       = 
 | notes          = 
}}

Параметри[ред.]

  • Нормальні параметри
  • Overrides (for exceptions)
    • forcecat: By default this template categorises the portal into Категорія:Портали, 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 World History/Greece
    • related_author: slash-separated list of related authors. Eg William Shakespeare/Francis Bacon
  • Interwiki links (optional - use whichever are appropriate. Consider using linking through Wikidata)
    • wikipedia, commons, commonscat, wikiquote, wikinews, wiktionary, wikibooks, wikiversity, wikispecies, meta, wikilivres, wikivoyage, wikidata