Template:Designation list/doc

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 Infobox historic site, but is intended for articles that already have another infobox. It should usually be 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 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 WP: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
Up to 5 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-5) the following parameters may be used:

designation1 – Input the callname of the designation here. For a list of supported callnames, see Template:Designation/doc.
 * Example format –

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_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_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_date – Date when the site received this designation. Normally this parameter needs a reference (make sure it is properly formatted).
 * Example format –

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 –

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_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 –

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

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.
 * Custom parameters:
 * Example format –

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

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

Embedding
By adding 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  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
{	"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" }	} }