Template:Topic in country/layout

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

layout template, generally to take input from other templates, to add categories and navbox as appropriate for categories named Category:Topic in country

The template automatically sets the following categories:

  • Category:Topic of country (fallback to Category:Country)
  • Category:Topic in continent1
  • Category:Topic in continent2
  • Category:Topic in continent3
  • Category:Topic by country

Usage

{{topic in country/layout |topic= |country= |countryart= |continent1= |continent2= |continent3= |imagesize= |nocat= |nonav= |nowib= |nodif= |difat= |debug= }}

Template parameters

ParameterDescriptionDefaultStatus
topicname of topic from category nameemptyrequired
countryname of country from category treeemptyrequired
countryartarticle to use ahead of country name, get from {{Country label}}emptyoptional
continent1first continent of the country, get from {{Country label}}, will limit navbox to relevant continentemptyoptional
continent2second continent of the country, get from {{Country label}}, will limit navbox to relevant continentemptyoptional
continent3third continent of the country, get from {{Country label}}, will limit navbox to relevant continentemptyoptional
imagesizenumber of pixels for flag image, if different from default40optional
nocatset to any value to suppress automatic categorizationemptyoptional
nonavset to any value to suppress navbox generationemptyoptional
nowibset to any value to suppress {{Wikidata Infobox}}emptyoptional
nodifset to any value to suppress {{Diffuseat}}emptyoptional
difatoverride for parameter 1 in {{Diffuseat}}emptyoptional
debugset to any value to enable debug functions (not currently supported)emptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: no user group specified

Placement: At the top of the page

Relies on: