Template:Topic in country/layout
Jump to navigation
Jump to search
This documentation is transcluded from Template:Topic in country/layout/doc.
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
Parameter | Description | Default | Status | |
---|---|---|---|---|
topic | name of topic from category name | empty | required | |
country | name of country from category tree | empty | required | |
countryart | article to use ahead of country name, get from {{Country label}} | empty | optional | |
continent1 | first continent of the country, get from {{Country label}}, will limit navbox to relevant continent | empty | optional | |
continent2 | second continent of the country, get from {{Country label}}, will limit navbox to relevant continent | empty | optional | |
continent3 | third continent of the country, get from {{Country label}}, will limit navbox to relevant continent | empty | optional | |
imagesize | number of pixels for flag image, if different from default | 40 | optional | |
nocat | set to any value to suppress automatic categorization | empty | optional | |
nonav | set to any value to suppress navbox generation | empty | optional | |
nowib | set to any value to suppress {{Wikidata Infobox}} | empty | optional | |
nodif | set to any value to suppress {{Diffuseat}} | empty | optional | |
difat | override for parameter 1 in {{Diffuseat}} | empty | optional | |
debug | set to any value to enable debug functions (not currently supported) | empty | optional |
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: