Difference between revisions of "Template:Infobox First Nation/doc"
Jump to navigation
Jump to search
imported>Awmcphee |
imported>James Hyett (Updated TemplateData to reflect changes to the template) |
||
| Line 159: | Line 159: | ||
"description": "An Infobox for First Nations in Canada", | "description": "An Infobox for First Nations in Canada", | ||
"params": { | "params": { | ||
| − | " | + | "band_name": { |
| − | "label": " | + | "label": "Band Name", |
| − | "description": "The | + | "description": "The band name, automatically included in the infobox title.", |
| + | "type": "string", | ||
| + | "required": true, | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "band_number": { | ||
| + | "label": "Band Number", | ||
| + | "description": "The band number, automatically included in the infobox title.", | ||
| + | "type": "number", | ||
| + | "required": false, | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "endonym": { | ||
| + | "label": "Endonym", | ||
| + | "description": "The preferred or Indigenous-language name of the band, if applicable.", | ||
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| Line 168: | Line 182: | ||
"image": { | "image": { | ||
"label": "Image", | "label": "Image", | ||
| − | "description": " | + | "description": "The image to display in the infobox, preferably an official insignia.", |
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"required": false, | "required": false, | ||
| Line 175: | Line 189: | ||
"caption": { | "caption": { | ||
"label": "Image caption", | "label": "Image caption", | ||
| − | "description": " | + | "description": "A caption for the image.", |
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "map": { | ||
| + | "label": "Map", | ||
| + | "description": "Another image slot, preferably for a map showing the FN's territory (traditional or modern).", | ||
| + | "type": "wiki-file-name", | ||
| + | "required": false, | ||
| + | }, | ||
| + | "map_caption": { | ||
| + | "label": "Map caption", | ||
| + | "description": "A caption for the map.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
| − | " | + | "people": { |
| − | "label": " | + | "label": "People", |
| − | "description": "The | + | "description": "The ethnic group of the FN (example: Cree).", |
| − | "type": " | + | "type": "string", |
| + | "required": false, | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "treaty": { | ||
| + | "label": "Treaty", | ||
| + | "description": "The most relevant historical or modern treaty signed by the FN.", | ||
| + | "type": "string", | ||
| + | "required": false, | ||
| + | "suggested": true | ||
| + | }, | ||
| + | "headquarters": { | ||
| + | "label": "Headquarters", | ||
| + | "description": "The location of the FN's administrative headquarters.", | ||
| + | "type": "string", | ||
"required": false, | "required": false, | ||
}, | }, | ||
| − | " | + | "province": { |
| − | "label": " | + | "label": "Province", |
| − | "description": "The | + | "description": "The FN's province, will automatically process territory names as input too", |
"type": "string", | "type": "string", | ||
"required": false, | "required": false, | ||
| − | |||
}, | }, | ||
"main_reserve": { | "main_reserve": { | ||
| Line 201: | Line 240: | ||
"reserve": { | "reserve": { | ||
"label": "Other Reserves", | "label": "Other Reserves", | ||
| − | "description": " | + | "description": "The name of all other reserves, use * syntax.", |
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 208: | Line 247: | ||
"label": "Area", | "label": "Area", | ||
"description": "The total area of all reserves, in km<sup>2</sup>.", | "description": "The total area of all reserves, in km<sup>2</sup>.", | ||
| + | "type": "number", | ||
| + | "required": false | ||
| + | }, | ||
| + | "pop_year": { | ||
| + | "label": "Population Year", | ||
| + | "description": "The date associated with the provided population counts.", | ||
"type": "number", | "type": "number", | ||
"required": false | "required": false | ||
| Line 214: | Line 259: | ||
"label": "Registered Population On Own Reserve", | "label": "Registered Population On Own Reserve", | ||
"description": "Total registered population living on the First Nation's own reserve(s).", | "description": "Total registered population living on the First Nation's own reserve(s).", | ||
| + | "type": "number", | ||
| + | "required": false | ||
| + | }, | ||
| + | "on_other_land": { | ||
| + | "label": "Registered Population On Other Land", | ||
| + | "description": "The population on reserves owned by other bands, or on Crown land leased by the band, etc.", | ||
"type": "number", | "type": "number", | ||
"required": false | "required": false | ||
| Line 219: | Line 270: | ||
"off_reserve": { | "off_reserve": { | ||
"label": "Registered Population Off Reserve", | "label": "Registered Population Off Reserve", | ||
| − | "description": " | + | "description": "The population not living on any kind of reserve or territory officially associated with the band.", |
"type": "number", | "type": "number", | ||
"required": false | "required": false | ||
| Line 225: | Line 276: | ||
"total_pop": { | "total_pop": { | ||
"label": "Total Population", | "label": "Total Population", | ||
| − | "description": " | + | "description": "The total population of the band (use if on/off reserve populations aren't known or automatic addition isn't working).", |
"type": "number", | "type": "number", | ||
"required": false | "required": false | ||
| Line 235: | Line 286: | ||
"required": false | "required": false | ||
}, | }, | ||
| − | " | + | "council": { |
| − | "label": "Council | + | "label": "Council", |
| − | "description": " | + | "description": "A list of names of councillors, use * syntax.", |
| − | "type": " | + | "type": "string", |
"required": false | "required": false | ||
}, | }, | ||
"tribal_council": { | "tribal_council": { | ||
"label": "Tribal Council", | "label": "Tribal Council", | ||
| − | "description": "The | + | "description": "The associated tribal council, if any.", |
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "website": { | ||
| + | "label": "Website", | ||
| + | "description": "A link to the official website.", | ||
| + | "type": "string", | ||
| + | "required": false | ||
| + | }, | ||
| + | "footnotes": { | ||
| + | "label": "Footnotes", | ||
| + | "description": "A citation, probably to the band's INAC profile.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
| Line 250: | Line 313: | ||
"format": "{{_\n| _______________________________ = _\n}}\n", | "format": "{{_\n| _______________________________ = _\n}}\n", | ||
"paramOrder": [ | "paramOrder": [ | ||
| − | " | + | "band_name", |
| + | "band_number", | ||
| + | "endonym", | ||
"image", | "image", | ||
"caption", | "caption", | ||
| − | " | + | "map", |
| − | " | + | "map_caption", |
| + | "people", | ||
| + | "treaty", | ||
| + | "headquarters", | ||
| + | "province", | ||
"main_reserve", | "main_reserve", | ||
"reserve", | "reserve", | ||
"area", | "area", | ||
| + | "pop_year", | ||
"on_reserve", | "on_reserve", | ||
| + | "on_other_land", | ||
"off_reserve", | "off_reserve", | ||
"total_pop", | "total_pop", | ||
"chief", | "chief", | ||
| − | " | + | "council", |
| − | "tribal_council" | + | "tribal_council", |
| + | "website", | ||
| + | "footnotes" | ||
] | ] | ||
} | } | ||
Revision as of 20:51, 21 August 2019
| This is a documentation subpage for Template:Infobox First Nation. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
{{Infobox First Nation
| band_name =
| band_number =
| endonym =
| image =
| caption =
| map =
| map_caption =
| people =
| treaty =
| headquarters =
| province =
| main_reserve =
| reserve =
| area =
| pop_year =
| on_reserve =
| on_other_land =
| off_reserve =
| total_pop =
| chief =
| council =
| tribal_council =
| website =
| footnotes =
}}
Alternate version with INAC footnote already prefilled. Just add the band number to the URL and update the access date.
{{Infobox First Nation
| band_name =
| band_number =
| endonym =
| image =
| caption =
| map =
| map_caption =
| people =
| treaty =
| headquarters =
| province =
| main_reserve =
| reserve =
| area =
| pop_year =
| on_reserve =
| on_other_land =
| off_reserve =
| total_pop =
| chief =
| council =
| tribal_council =
| website =
| footnotes = <ref>{{Cite web|title=First Nation Detail|website=Indigenous and Northern Affairs Canada|publisher=Government of Canada|access-date=August 20, 2019|url=http://fnp-ppn.aandc-aadnc.gc.ca/fnp/Main/Search/FNMain.aspx?BAND_NUMBER=[!!!BAND NUMBER HERE!!!]&lang=eng}}</ref>
}}
Notice
This template is to be used articles about First Nation bands (such as Chippewas of Nawash Unceded First Nation) and not reserves (such as Shoal Lake 39). For a template to be sued with reserves see Template:Infobox settlement.
Parameters
|band_name=the band name, automatically included in the infobox title|band_number=the band number, automatically included in the infobox title|endonym=the preferred or Indigenous-language name of the band, if applicable|image=the image to display in the infobox, preferably an official insignia|caption=a caption for the image|map=another image slot, preferably for a map showing the FN's territory (traditional or modern)|map_caption=a caption for the map|people=the ethnic group of the FN (example: Cree)|treaty=the most relevant historical or modern treaty signed by the FN (examples: Treaty 8, Nisga'a Final Agreement)|headquarters=the location of the FN's administrative headquarters|province=the FN's province, will automatically process territory names as input too|main_reserve=the name of the main reserve, if applicable|reserve=the name of all other reserves, use * syntax|area=the total area of all reserves in km2|pop_year=the date associated with the provided population counts|on_reserve=the population on reserves owned by the band|on_other_land=the population on reserves owned by other bands, or on Crown land leased by the band, etc.|off_reserve=the population not living on any kind of reserve or territory officially associated with the band|total_pop=the total population of the band (use if on/off reserve populations aren't known or automatic addition isn't working)|chief=the name of the current chief|council=a list of names of councillors, use * syntax|tribal_council=the associated tribal council (if any)|website=a link to the official website|footnotes=a citation, probably to the band's INAC profile
Example
{{Infobox First Nation
| band_name = Sample Nation of Wet Lake
| band_number = 675
| endonym = Nèhinaw
| image = Example.jpg
| caption =
| map =
| map_caption =
| people = Cree
| treaty = Example Treaty
| headquarters = Wet Lake
| province = Ontario
| main_reserve = Wet Lake 16
| reserve =
* Wet Lake 16A
* Wet Lake 16B
* Dry Lake 6
| area = 594.7
| pop_year = 2019
| on_reserve = 1230
| on_other_land = 20
| off_reserve = 678
| total_pop = <!-- Notice the total population is automatically calculated -->
| chief = Bernard Sampleman
| council =
* Primo Sampleman
* Segundus Sampleman
| tribal_council = Ontario Association of Sample Entities
| website = example.ex.ca
}}
TemplateData
Extended content
|
|---|
|
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.
TemplateData for Infobox First Nation Syntax error in JSON. |
