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 can either be used to display a stand-alone table or be embedded in an article's existing infobox.

Supported designations are listed at WikiQueer:WikiProject Historic sites. If you would like to add a new designation, contact members of the WikiProject by leaving a comment at the WikiProject talk page and/or see Template:Designation/doc.

Although this template uses the same supported designations as Template:Designation, a different colour palette is used. The colours for Template: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 WQ: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 WikiQueer 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 "embed = yes" to the first line of code, one can embed this template into another, creating the illusion of one continuous infobox. Though the process may be a little complicated, it is possible to insert this infobox into most if not all other infoboxes.

Please also 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.

Infoboxes that already have an embedding feature
Some infoboxes may already have a special parameter that already allows you to embed another. For example, Infobox stadium has a nrhp parameter for this purpose, so it is possible to do the following:





Infoboxes that do NOT have embedding features
For others, figure out which parameter is displayed at the bottom of the infobox. NOTE: The last parameter displayed is not always the last parameter in the code. Parameters can be written in any order in the code, but always display in a preset order according to the coding of the infobox. For example, in the following code using Infobox lighthouse, the USCG number is the last information shown, but not the last parameter in the code:



 Once the last parameter displayed is determined, find that parameter in the code. In the above example, the USCG number is the last thing displayed, so the parameter you're looking for is most likely USCG = 6-0385. To embed, simply add a line break after this parameter and insert the code with embed = yes as the first parameter. The final code and output for the above example would be:



