Template:Infobox marae/doc
Appearance
![]() | This is a documentation subpage for Template:Infobox marae. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
This template should be used to produce an Infobox for New Zealand Māori marae. The template has been designed to be flexible enough for use with other major Māori and Polynesian cultural locations. For example:
- The template can be adapted for use on historic pā sites by changing the
type
parameter to[[pā]]
. - The template has five fields for named whare (buildings) on the cultural site.
- The words used to describe whare vary between iwi. The label for a building can be adjusted using the
whare<number>_label
field for each whare. - While it was not designed for the purpose, the template is generic enough that it could be used for similar cultural sites in other Polynesian cultures, for example the Hawaiian heiau. If you would like to request changes to improve support for other Polynesian cultures, please make a request on the talk page.
Parameters are described in the table below. Additional examples of usages can be found in the test cases.
Usage
[edit]{{Infobox marae
|name =
|english_name =
|etymology =
|nickname =
|nicknames =
|type = <!-- defaults to [[Marae]] -->
|image =
|imagesize =
|image_alt =
|image_caption =
|logo_image =
|logo_image_size =
|logo_image_alt =
|logo_image_caption =
|image_map =
|map_alt =
|map_caption =
|pushpin_map =
|pushpin_map_alt =
|pushpin_map_caption =
|pushpin_mapsize =
|pushpin_label_position =
|mapframe = <!-- "yes" to show an interactive map -->
|coordinates = <!-- {{coord|latitude|longitude|type:city|display=inline,title}} -->
|coordinates_footnotes =
|location =
|iwi =
|hapū =
|rūnanga =
|opened =
|closed =
|constructed =
|abandoned =
|destroyed =
|whare1 =
|whare1_opened =
|whare1_closed =
|whare1_label = <!-- defaults to {{lang|mi|[[Wharenui]]}} -->
|whare2 =
|whare2_opened =
|whare2_closed =
|whare2_label = <!-- defaults to {{lang|mi|Wharekai}} -->
|whare3 =
|whare3_opened =
|whare3_closed =
|whare3_label = <!-- defaults to {{lang|mi|Whare karakia}} -->
|whare4 =
|whare4_opened =
|whare4_closed =
|whare4_label = <!-- defaults to {{lang|mi|Whare}} -->
|whare5 =
|whare5_opened =
|whare5_closed =
|whare5_label = <!-- defaults to {{lang|mi|Whare}} -->
|website = <!-- {{Official URL}} -->
|module =
|footnotes =
}}
Parameter names and descriptions
[edit]Name(s) | ||
---|---|---|
Parameter name | Usage | Description |
name | optional | This is the usual name of the marae complex in te reo Māori. If it's not specified, the english_name or page name will be used. |
english_name | optional | The official name in English. Use english_name only if the marae's English name is widely used and is different to the name in te reo Māori. |
etymology | optional | and English translation or explanation of the te reo Māori name |
nickname | optional | well-known nickname |
nicknames | optional | if more than one well-known nickname, use this |
Image | ||
image | optional | Primary image representing the marae. Commonly a photo of the ātea, wharenui or entrance gate. For major marae, the {{multiple image}} template can be used in place of a single image to create a collage. |
imagesize | optional | Can be used to tweak the size of the image up or down. This can be helpful if an editor wants to make the infobox wider. If used, px must be specified; default size is 250px. Note WP:IMGSIZELEAD recommends that images should be no wider than upright=1.35 -equivalent to 300px
|
image_alt | optional | Alt text for the image, used by visually impaired readers who cannot see the image. See WP:ALT. |
image_caption | optional | Will place a caption under the image (if present) |
Logo or emblem image | ||
logo_image | optional | Can be used if a marae has an official logo. |
logo_image_size | optional | If used, px must be specified; default size is 100px. |
logo_image_alt | optional | Alt text for logo image. |
logo_image_caption | optional | Caption beneath "image_logo" to specify what the logo refers to. |
Map images | ||
image_map | optional | |
mapsize | optional | If used, px must be specified; default is 250px. |
map_alt | optional | Alt text for map. |
map_caption | optional | |
image_map1 | optional | A secondary map image. The field image_map must be filled in first. Example see: Bloomsburg, Pennsylvania. |
mapsize1 | optional | If used, px must be specified; default is 250px. |
map_alt1 | optional | Alt text for secondary map. |
map_caption1 | optional | |
pushpin_map | optional | The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields (from |coordinates= ) position a pushpin coordinate marker and label on the map automatically. Example: Padang, Indonesia. To show multiple pushpin maps, provide a list of maps separated by #, e.g., California#USA
|
pushpin_mapsize | optional | Must be entered as only a number—do not use px. The default value is 250. Equivalent to width parameter in Template:Location map.
|
pushpin_map_alt | optional | Alt text for pushpin map; used by screen readers, see WP:ALT. Equivalent to alt parameter in Template:Location map.
|
pushpin_map_caption | optional | Fill out if a different caption from map_caption is desired. Equivalent to caption parameter in Template:Location map.
|
pushpin_map_caption_notsmall | optional | |
pushpin_label | optional | The text of the label to display next to the identifying mark; a wikilink can be used. If not specified, the label will be the text assigned to the name or official_name parameters (if |pushpin_label_position=none , no label is displayed).Equivalent to label parameter in Template:Location map.
|
pushpin_label_position | optional | The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right. Equivalent to position parameter in Template:Location map.
|
pushpin_outside | optional | Equivalent to outside parameter in Template:Location map.
|
pushpin_relief | optional | Set this to y or any non-blank value to use an alternative relief map provided by the selected location map (if a relief map is available). Equivalent to relief parameter in Template:Location map.
|
pushpin_image | optional | Allows the use of an alternative map; the image must have the same edge coordinates as the location map template. Equivalent to AlternativeMap parameter in Template:Location map.
|
pushpin_overlay | optional | Can be used to specify an image to be superimposed on the regular pushpin map. Equivalent to overlay_image parameter in Template:Location map.
|
mapframe | optional | Add a {{infobox mapframe}} map. See the documentation below in #Mapframe maps for more details on usage. |
coordinates | optional | Latitude and longitude. Use {{Coord}}. See the documentation for {{Coord}} for more details on usage. |
coordinates_footnotes | optional | Reference(s) for coordinates, placed within <ref> </ref> tags, possibly using the citing format at {{Cite web}}
|
location | optional | Description of where the marae is. If it is in a town, use the format <town>, <region>, <country> (e.g Ōnuku, Banks Peninsula, New Zealand). If the marae is part of a larger complex or facility, use the name of that (e.g Te Papa or Victoria University of Wellington). |
Affiliation and governance | ||
iwi | optional | The name of the iwi most closely affiliated with the marae. If more than one iwi is affiliated, comma-separate. If this is a pan-tribal marae, omit this and instead provide rūnanga. |
rūnanga | optional | The name of the rūnanga that administers the marae, particularly if it is a pan-tribal marae. If the marae is administered directly by the rūnanga of an iwi or hapū, omit this and provide the name of the iwi/hapū. |
hapū | optional | The name of the hapū most closely affiliated with the marae. If more than one hapū is affiliated, comma-separate. Provide iwi also. |
website | optional | External link to official website, use {{Official URL}} if Property P856 "official website" exists on Wikidata, or {{URL|example.com}} |
Dates and buildings | ||
opened | optional | Date (or year) that the marae was established or opened. |
closed | optional | Date (or year) that the marae was established or opened. |
constructed | optional | Year(s) that the marae/pā was built. use {{circa|}} if the exact date is unknown. |
destroyed | optional | Date (or year) that the location was destroyed; use for pā sites that were destroyed by attackers. |
abandoned | optional | Date (or year) that the location was abandoned, use {{circa|}} if the exact date is unknown. |
whare1 | optional | The name of the primary building on the marae. |
whare1_opened | optional | The date that the primary building on the marae opened. |
whare1_closed | optional | The date that the primary building on the marae opened. |
whare1_label | optional | Defaults to wharenui (large hall). |
whare2 | optional | The name of the secondary building on the marae. |
whare2_opened | optional | The date that the secondary building on the marae opened. |
whare2_closed | optional | The date that the secondary building on the marae opened. |
whare2_label | optional | Defaults to wharekai (food hall). |
whare3 | optional | The name of a tertiary building on the marae. |
whare3_opened | optional | The date that the tertiary building on the marae opened. |
whare3_closed | optional | The date that the tertiary building on the marae opened. |
whare3_label | optional | Defaults to whare karakia (church). |
whare4 | optional | The name of a tertiary building on the marae. |
whare4_opened | optional | The date that the tertiary building on the marae opened. |
whare4_closed | optional | The date that the tertiary building on the marae opened. |
whare4_label | optional | Defaults to whare. |
whare5 | optional | The name of a tertiary building on the marae. |
whare5_opened | optional | The date that the tertiary building on the marae opened. |
whare5_closed | optional | The date that the tertiary building on the marae opened. |
whare5_label | optional | Defaults to whare. |
Technical | ||
module | optional | To embed infoboxes at the bottom of the infobox |
footnotes | optional | Text to be displayed at the bottom of the infobox |