Template:Infobox designation list/doc

From the AARoads Wiki: Read about the road before you go
Jump to navigation Jump to search

Usage

This template generates a table of designations for sites which have been deemed worthy of protection by local, state, provincial, national, or other governmental bodies. Its functionality is similar to Template:Infobox historic site, but is intended for articles that already have another infobox. It should usually be embedded in an article's existing infobox, but can be used to display a stand-alone table in a subsection, such as in an article on a broader topic, if necessary.

Supported designations are listed at w:Wikipedia:WikiProject Historic sites. If you would like to add a new designation, post a note on the template's talk page.

Although this template uses the same supported designations as Template:Designation, a different colour palette is used. The colours for {{Designation}} (see Template:Designation/colour) are used for backgrounds, so the background and text colour combinations must not be hard to see for those who are fully or partially colour blind (see Help:Accessibility). The colours for this template (see Template:Designation/colour2) are used for borders, so there is somewhat greater scope to use colours connected at least loosely with their designations. For example, the blue border used for Monument historique is the same shade of blue present in the Flag of France.

Blank template

Designations
Former Invalid designation
Official name{{{designation1_offname}}}
Type{{{designation1_type}}}
Criteria{{{designation1_criteria}}}
Designated{{{designation1_date}}}
Delisted{{{delisted1_date}}}
Part of{{{designation1_partof}}}
Reference no.{{{designation1_number}}}
{{{designation1_free1name}}}{{{designation1_free1value}}}
{{{designation1_free2name}}}{{{designation1_free2value}}}
{{{designation1_free3name}}}{{{designation1_free3value}}}
Former Invalid designation
Official name{{{designation2_offname}}}
Type{{{designation2_type}}}
Criteria{{{designation2_criteria}}}
Designated{{{designation2_date}}}
Delisted{{{delisted2_date}}}
Part of{{{designation2_partof}}}
Reference no.{{{designation2_number}}}
{{{designation2_free1name}}}{{{designation2_free1value}}}
{{{designation2_free2name}}}{{{designation2_free2value}}}
{{{designation2_free3name}}}{{{designation2_free3value}}}
Former Invalid designation
Official name{{{designation3_offname}}}
Type{{{designation3_type}}}
Criteria{{{designation3_criteria}}}
Designated{{{designation3_date}}}
Delisted{{{delisted3_date}}}
Part of{{{designation3_partof}}}
Reference no.{{{designation3_number}}}
{{{designation3_free1name}}}{{{designation3_free1value}}}
{{{designation3_free2name}}}{{{designation3_free2value}}}
{{{designation3_free3name}}}{{{designation3_free3value}}}
Former Invalid designation
Official name{{{designation4_offname}}}
Type{{{designation4_type}}}
Criteria{{{designation4_criteria}}}
Designated{{{designation4_date}}}
Delisted{{{delisted4_date}}}
Part of{{{designation4_partof}}}
Reference no.{{{designation4_number}}}
{{{designation4_free1name}}}{{{designation4_free1value}}}
{{{designation4_free2name}}}{{{designation4_free2value}}}
{{{designation4_free3name}}}{{{designation4_free3value}}}
Former Invalid designation
Official name{{{designation5_offname}}}
Type{{{designation5_type}}}
Criteria{{{designation5_criteria}}}
Designated{{{designation5_date}}}
Delisted{{{delisted5_date}}}
Part of{{{designation5_partof}}}
Reference no.{{{designation5_number}}}
{{{designation5_free1name}}}{{{designation5_free1value}}}
{{{designation5_free2name}}}{{{designation5_free2value}}}
{{{designation5_free3name}}}{{{designation5_free3value}}}
Former Invalid designation
Official name{{{designation6_offname}}}
Type{{{designation6_type}}}
Criteria{{{designation6_criteria}}}
Designated{{{designation6_date}}}
Delisted{{{delisted6_date}}}
Part of{{{designation6_partof}}}
Reference no.{{{designation6_number}}}
{{{designation6_free1name}}}{{{designation6_free1value}}}
{{{designation6_free2name}}}{{{designation6_free2value}}}
{{{designation6_free3name}}}{{{designation6_free3value}}}
{{Infobox designation list
| embed                   = 
| designation1            = 
| designation1_offname    = 
| designation1_type       = 
| designation1_criteria   = 
| designation1_date       = 
| delisted1_date          = 
| designation1_partof     = 
| designation1_number     = 
| designation1_free1name  = 
| designation1_free1value = 
| designation1_free2name  = 
| designation1_free2value = 
| designation1_free3name  = 
| designation1_free3value = 
| designation2            = 
| designation2_offname    = 
| designation2_type       = 
| designation2_criteria   = 
| designation2_date       = 
| delisted2_date          = 
| designation2_partof     = 
| designation2_number     = 
| designation2_free1name  = 
| designation2_free1value = 
| designation2_free2name  = 
| designation2_free2value = 
| designation2_free3name  = 
| designation2_free3value = 
| designation3            = 
| designation3_offname    = 
| designation3_type       = 
| designation3_criteria   = 
| designation3_date       = 
| delisted3_date          = 
| designation3_partof     = 
| designation3_number     = 
| designation3_free1name  = 
| designation3_free1value = 
| designation3_free2name  = 
| designation3_free2value = 
| designation3_free3name  = 
| designation3_free3value = 
| designation4            = 
| designation4_offname    = 
| designation4_type       = 
| designation4_criteria   = 
| designation4_date       = 
| delisted4_date          = 
| designation4_partof     = 
| designation4_number     = 
| designation4_free1name  = 
| designation4_free1value = 
| designation4_free2name  = 
| designation4_free2value = 
| designation4_free3name  = 
| designation4_free3value = 
| designation5            = 
| designation5_offname    = 
| designation5_type       = 
| designation5_criteria   = 
| designation5_date       = 
| delisted5_date          = 
| designation5_partof     = 
| designation5_number     = 
| designation5_free1name  = 
| designation5_free1value = 
| designation5_free2name  = 
| designation5_free2value = 
| designation5_free3name  = 
| designation5_free3value =
| designation6            = {{{designation6}}}
| designation6_offname    = {{{designation6_offname}}}
| designation6_type       = {{{designation6_type}}}
| designation6_criteria   = {{{designation6_criteria}}}
| designation6_date       = {{{designation6_date}}}
| delisted6_date          = {{{delisted6_date}}}
| designation6_partof     = {{{designation6_partof}}}
| designation6_number     = {{{designation6_number}}}
| designation6_free1name  = {{{designation6_free1name}}}
| designation6_free1value = {{{designation6_free1value}}}
| designation6_free2name  = {{{designation6_free2name}}}
| designation6_free2value = {{{designation6_free2value}}}
| designation6_free3name  = {{{designation6_free3name}}}
| designation6_free3value = {{{designation6_free3value}}}
}}

Designations

Designations
TypeCultural
Criteriaii, iv
Designated1981 (5th session)
Part ofArles, Roman and Romanesque Monuments
Reference no.164
RegionEurope and North America
Official nameObélisque antique
Designated1840
Reference no.PA00081180

Up to six designations can be displayed. Normally designations are listed in decreasing scope (i.e. an international designation first, followed by a national one, etc.). Each designation is represented by a colored bar, controlled by the {{Designation}} template. For more information see Template:Designation/doc.

To display a designation, there are several templates. While no parameters are necessary, it is recommended that at least the designation date and reference number (if applicable) are known before adding the designation. For each designation (1–6) the following parameters may be used:

designation1 – Input the callname of the designation here. For a list of supported callnames, see Template:Designation/doc#Supported designations.

Example format – | designation1 = World Heritage Site

designation1_offname – The official name of the historic site, as listed in the register. If the official name is the same as the common name at the top of the infobox, this field is not necessary. If more than one name is included on the register, include all of them.

Example format – | designation1_offname = Obélisque antique

designation1_type – Some registers have certain types of designations (i.e. "Natural" and "Cultural", "Grade I" and "Grade II", etc.). If the type is closely associated with the designation, input that type here.

Example format – | designation1_type = Cultural

designation1_criteria – Some registers require sites to meet specific criteria (normally one or more items in a list) for inclusion. If the criteria is known, input it here.

Example format – | designation1_criteria = ii, iv

designation1_date – Date when the site received this designation. Normally this parameter needs a reference (make sure it is properly formatted).

Example format – | designation1_date = March 4, 1972<ref>{{cite web|...}}</ref>

delisted1_date – If a site has been removed from a designation's list, this is the date of delisting. Setting a value to this parameter causes the designation's color bar to turn grey and adds the word "Former" to the beginning. This parameter also needs a reference.

Example format – | delisted1_date = March 5, 1972<ref>{{cite web|...}}</ref>

designation1_partof – Some designations are part of larger designations (i.e. an individually designated building inside a designated district or an individually designated district in a designated city). For example, Ellis Island is a part of the Statue of Liberty National Monument; both are listed as New York City Landmarks. If the larger designation is listed on the same register, include the name of the larger designation here. If a Wikipedia article exists about that designation, link to it.

Example format – | designation1_partof = [[w:Statue of Liberty National Monument|Statue of Liberty National Monument]]

designation1_number – Most registers include unique reference numbers for each site so that they can be searched for more easily than by name (There may be two Jones Houses on the register, but they have unique reference numbers). Include this reference number here.

Example format – | designation1_number = 70010045

For designations 2-6, these same parameters are used, only "designation1" in all the parameters is replaced by "designation2", "designation3", etc.

Custom parameters

Besides all of these hard-coded parameters there is also the possibility of adding up to 3 custom parameters for each designation. These can be used for information specific to that single register (such as "Region" for World Heritage Sites or "Multiple Property Submission" to the U.S. National Register of Historic Places). If there is anything extra needed to fully identify the designated site, include it here. designation1_free1name – The name (bolded part) of the 1st custom parameter you would like to identify.

Example format – | designation1_free1name = Region

designation1_free1value – The value to which you want to set the custom parameter.

Example format – | designation1_free1value = [[w:World Heritage Sites in Europe|Europe and North America]]

Up to three custom parameters can be named and defined for each parameter (| designation1_free2name =, | designation1_free2value =, etc.).

Embedding

By adding |embed=yes to the first line of code, one can embed this infobox into another, creating one continuous infobox. Other infoboxes will need to have a special parameter that allows embedding. For example, {{Infobox venue}} has an embedded parameter for this purpose, so it is possible to do the following:

Please note that parameters and other data which appear in both templates should usually be eliminated from one or the other to avoid repeating information. For example, {{Infobox protected area}} already has parameters to display IUCN designations.


Template Data

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox designation list in articles based on its TemplateData.

TemplateData for Infobox designation list

<templatedata> { "description": "An Infobox on Designation list", "params": { "embed": { "type": "string", "suggested": true }, "delisted1_date": { "type": "string" }, "designation1": { "suggested": true, "type": "string" }, "designation1_offname": { "type": "string" }, "designation1_type": { "type": "string" }, "designation1_criteria": { "type": "string" }, "designation1_date": { "type": "string" }, "designation1_partof": { "type": "string" }, "designation1_number": { "type": "string" }, "designation1_free1name": { "type": "string" }, "designation1_free1value": { "type": "string" }, "designation1_free2name": { "type": "string" }, "designation1_free2value": { "type": "string" }, "designation1_free3name": { "type": "string" }, "designation1_free3value": { "type": "string" }, "designation2": { "suggested": true, "type": "string" }, "delisted2_date": { "type": "string" }, "designation2_offname": { "type": "string" }, "designation2_type": { "type": "string" }, "designation2_criteria": { "type": "string" }, "designation2_date": { "type": "string" }, "designation2_partof": { "type": "string" }, "designation2_number": { "type": "string" }, "designation2_free1name": { "type": "string" }, "designation2_free1value": { "type": "string" }, "designation2_free2name": { "type": "string" }, "designation2_free2value": { "type": "string" }, "designation2_free3name": { "type": "string" }, "designation2_free3value": { "type": "string" }, "designation3": { "suggested": true, "type": "string" }, "delisted3_date": { "type": "string" }, "designation3_offname": { "type": "string" }, "designation3_type": { "type": "string" }, "designation3_criteria": { "type": "string" }, "designation3_date": { "type": "string" }, "designation3_partof": { "type": "string" }, "designation3_number": { "type": "string" }, "designation3_free1name": { "type": "string" }, "designation3_free1value": { "type": "string" }, "designation3_free2name": { "type": "string" }, "designation3_free2value": { "type": "string" }, "designation3_free3name": { "type": "string" }, "designation3_free3value": { "type": "string" }, "designation4": { "suggested": true, "type": "string" }, "delisted4_date": { "type": "string" }, "designation4_offname": { "type": "string" }, "designation4_type": { "type": "string" }, "designation4_criteria": { "type": "string" }, "designation4_date": { "type": "string" }, "designation4_partof": { "type": "string" }, "designation4_number": { "type": "string" }, "designation4_free1name": { "type": "string" }, "designation4_free1value": { "type": "string" }, "designation4_free2name": { "type": "string" }, "designation4_free2value": { "type": "string" }, "designation4_free3name": { "type": "string" }, "designation4_free3value": { "type": "string" }, "designation5": { "suggested": true, "type": "string" }, "delisted5_date": { "type": "string" }, "designation5_offname": { "type": "string" }, "designation5_type": { "type": "string" }, "designation5_criteria": { "type": "string" }, "designation5_date": { "type": "string" }, "designation5_partof": { "type": "string" }, "designation5_number": { "type": "string" }, "designation5_free1name": { "type": "string" }, "designation5_free1value": { "type": "string" }, "designation5_free2name": { "type": "string" }, "designation5_free2value": { "type": "string" }, "designation5_free3name": { "type": "string" }, "designation5_free3value": { "type": "string" }, "designation6": { "suggested": true, "type": "string" }, "delisted6_date": { "type": "string" }, "designation6_offname": { "type": "string" }, "designation6_type": { "type": "string" }, "designation6_criteria": { "type": "string" }, "designation6_date": { "type": "string" }, "designation6_partof": { "type": "string" }, "designation6_number": { "type": "string" }, "designation6_free1name": { "type": "string" }, "designation6_free1value": { "type": "string" }, "designation6_free2name": { "type": "string" }, "designation6_free2value": { "type": "string" }, "designation6_free3name": { "type": "string" }, "designation6_free3value": { "type": "string" } } } </templatedata>

See also