Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox Appellation/doc

Template page

This template renders the infobox for appellation pages. It pairs with Module:Boundaries for polygon lookup and writes semantic properties consumed by the home map and rollup queries elsewhere on the wiki.

Boundary polygons are not passed as a parameter. The template looks up the current page name in Module:Boundaries automatically. To register or update an appellation's polygon, edit that module directly.

Usage

{{Infobox Appellation
|appellation_name = 
|other_names = 
|image = 
|image_alt = 
|image_caption = 
|gene_pool = 
|regional_complex = 
|growing_region = 
|growing_area = 
|parent_appellation = 
|country = 
|provinces = 
|admin_2 = 
|admin_2_label = 
|coordinates = 
|elevation_range = 
|area_extent = 
|terrain = 
|climate = 
|rainfall = 
|seasons = 
}}

Parameters

Identity

appellation_name
Display name shown in the infobox header. Defaults to the page name if omitted. Provide explicitly only when the page name carries disambiguation suffixes that should not appear in the header.
other_names
Alternative spellings or local names, comma-separated. Shown as the subtitle below the header.
image
Filename of a representative image (without the File: prefix). Rendered at 320 px wide.
image_alt
Alt text for the image. Defaults to the appellation name.
image_caption
Caption shown below the image.

Hierarchy

gene_pool
e.g. South Asian Gene Pool. Linked.
regional_complex
e.g. Hindu Kush-Himalayan. Linked.
growing_region
e.g. Western Himalayas. Linked.
growing_area
e.g. Malana Valley. Linked.
parent_appellation
Used when an appellation sits inside another appellation (rare). Leave blank for peer appellations. Linked.

Geography

country
Linked.
provinces
Free text, can include multiple separated by commas.
admin_2
Free text. Defaults label to District; override via admin_2_label if a different administrative term applies (e.g. Province, Subdivision).
admin_2_label
Override label for the admin_2 row.
coordinates
Decimal lat,lng. Used both for the map's centre and for the displayed value. Format: 32.064, 77.265.

Landscape

elevation_range
e.g. 2,200–3,200 m.
area_extent
e.g. 4.4 km². Manual entry; the polygon's computed area is also stored separately by Module:Boundaries.
terrain
Short prose description.

Climate

climate
Climate type, e.g. Temperate montane.
rainfall
Annual rainfall figure or descriptor.
seasons
Wet/dry season descriptor or growing season window.

Semantic properties written

The infobox writes the following properties via :

  • Has appellation name
  • Has growing region
  • Has growing area
  • Has parent appellation
  • Has country
  • Has admin subdivision 1
  • Has admin subdivision 2
  • Has coordinates
  • Has elevation range
  • Has area extent
  • Has terrain
  • Has climate
  • Has rainfall
  • Has seasons
  • Has gene pool
  • Has regional complex
  • Has boundary — sourced from Module:Boundaries via

The page is also auto-categorised into Category:Appellations.

Boundary registration

To add or update the polygon for an appellation, edit Module:Boundaries directly. The key in the module must match the page name exactly. The infobox will pick up the polygon on the next page parse.

If the polygon does not appear after registration, null-edit the page or wait for the SMW job queue to catch up.

Map behaviour

The infobox map queries accessions linked to this appellation via Infobox Appellation/doc. If Property:Has appellation has not been created on the wiki, accessions will not roll up and the map will show only the polygon outline.

See also