Template:Infobox designation list/doc

From IxWiki
Revision as of 19:14, 10 August 2020 by Heku (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 {{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 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 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
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}}}
{{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 = 
}}

Designations

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

Up to five 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#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 = [[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-5, 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 = [[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:

Olympic Memorial Stadium
Olympic Memorial Stadium during the Big Match
Olympic Memorial Stadium during the Big Match
Location123 Main Street, Anytown, Any County
OwnerMinistry of Any County
OperatorGovernment of Anytown
SurfaceNatural Grass
Construction
Broke groundDecember 21, 1921
OpenedMay 1, 1923
ArchitectAcme
Designated1997-02-05
Reference no.12345
Designated2000-12-07
Reference no.ABCD
Designated2010-09-31
Reference no.CN555
{{Infobox venue
| stadium_name = Olympic Memorial Stadium
| image = [[File:11-11-06-LA-Coliseum-USC-UO.jpg|250px|Olympic Memorial Stadium during the Big Match]]
| caption = Olympic Memorial Stadium during the Big Match
| location = 123 Main Street, Anytown, Any County
| broke_ground = December 21, 1921
| opened = May 1, 1923
| owner = Ministry of Any County
| operator = Government of Anytown
| surface = Natural Grass
| architect = Acme
| embedded =
  {{Infobox designation list
  | embed = yes
  | designation1 = WHS
  | designation1_date = 1997-02-05
  | designation1_number = 12345
  | designation2 = NRHP
  | designation2_date = 2000-12-07
  | designation2_number = ABCD
  | designation3 = California
  | designation3_date = 2010-09-31
  | designation3_number = CN555
  }}
}}

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

An Infobox on Designation list

Template parameters

ParameterDescriptionTypeStatus
embedembed

no description

Stringsuggested
delisted1_datedelisted1_date

no description

Stringoptional
designation1designation1

no description

Stringsuggested
designation1_offnamedesignation1_offname

no description

Stringoptional
designation1_typedesignation1_type

no description

Stringoptional
designation1_criteriadesignation1_criteria

no description

Stringoptional
designation1_datedesignation1_date

no description

Stringoptional
designation1_partofdesignation1_partof

no description

Stringoptional
designation1_numberdesignation1_number

no description

Stringoptional
designation1_free1namedesignation1_free1name

no description

Stringoptional
designation1_free1valuedesignation1_free1value

no description

Stringoptional
designation1_free2namedesignation1_free2name

no description

Stringoptional
designation1_free2valuedesignation1_free2value

no description

Stringoptional
designation1_free3namedesignation1_free3name

no description

Stringoptional
designation1_free3valuedesignation1_free3value

no description

Stringoptional
designation2designation2

no description

Stringsuggested
delisted2_datedelisted2_date

no description

Stringoptional
designation2_offnamedesignation2_offname

no description

Stringoptional
designation2_typedesignation2_type

no description

Stringoptional
designation2_criteriadesignation2_criteria

no description

Stringoptional
designation2_datedesignation2_date

no description

Stringoptional
designation2_partofdesignation2_partof

no description

Stringoptional
designation2_numberdesignation2_number

no description

Stringoptional
designation2_free1namedesignation2_free1name

no description

Stringoptional
designation2_free1valuedesignation2_free1value

no description

Stringoptional
designation2_free2namedesignation2_free2name

no description

Stringoptional
designation2_free2valuedesignation2_free2value

no description

Stringoptional
designation2_free3namedesignation2_free3name

no description

Stringoptional
designation2_free3valuedesignation2_free3value

no description

Stringoptional
designation3designation3

no description

Stringsuggested
delisted3_datedelisted3_date

no description

Stringoptional
designation3_offnamedesignation3_offname

no description

Stringoptional
designation3_typedesignation3_type

no description

Stringoptional
designation3_criteriadesignation3_criteria

no description

Stringoptional
designation3_datedesignation3_date

no description

Stringoptional
designation3_partofdesignation3_partof

no description

Stringoptional
designation3_numberdesignation3_number

no description

Stringoptional
designation3_free1namedesignation3_free1name

no description

Stringoptional
designation3_free1valuedesignation3_free1value

no description

Stringoptional
designation3_free2namedesignation3_free2name

no description

Stringoptional
designation3_free2valuedesignation3_free2value

no description

Stringoptional
designation3_free3namedesignation3_free3name

no description

Stringoptional
designation3_free3valuedesignation3_free3value

no description

Stringoptional
designation4designation4

no description

Stringsuggested
delisted4_datedelisted4_date

no description

Stringoptional
designation4_offnamedesignation4_offname

no description

Stringoptional
designation4_typedesignation4_type

no description

Stringoptional
designation4_criteriadesignation4_criteria

no description

Stringoptional
designation4_datedesignation4_date

no description

Stringoptional
designation4_partofdesignation4_partof

no description

Stringoptional
designation4_numberdesignation4_number

no description

Stringoptional
designation4_free1namedesignation4_free1name

no description

Stringoptional
designation4_free1valuedesignation4_free1value

no description

Stringoptional
designation4_free2namedesignation4_free2name

no description

Stringoptional
designation4_free2valuedesignation4_free2value

no description

Stringoptional
designation4_free3namedesignation4_free3name

no description

Stringoptional
designation4_free3valuedesignation4_free3value

no description

Stringoptional
designation5designation5

no description

Stringsuggested
delisted5_datedelisted5_date

no description

Stringoptional
designation5_offnamedesignation5_offname

no description

Stringoptional
designation5_typedesignation5_type

no description

Stringoptional
designation5_criteriadesignation5_criteria

no description

Stringoptional
designation5_datedesignation5_date

no description

Stringoptional
designation5_partofdesignation5_partof

no description

Stringoptional
designation5_numberdesignation5_number

no description

Stringoptional
designation5_free1namedesignation5_free1name

no description

Stringoptional
designation5_free1valuedesignation5_free1value

no description

Stringoptional
designation5_free2namedesignation5_free2name

no description

Stringoptional
designation5_free2valuedesignation5_free2value

no description

Stringoptional
designation5_free3namedesignation5_free3name

no description

Stringoptional
designation5_free3valuedesignation5_free3value

no description

Stringoptional

See also