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 Wikipedia: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 قالب:Designation/doc.

Although this template uses the same supported designations as قالب:Designation, a different colour palette is used. The colours for قالب:Designation (see قالب: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 قالب: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

تعديل
{{Designation list
| 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
Type:Cultural
Criteria:ii, iv
Designated:1981 (5th session)
Part of:Arles, Roman and Romanesque Monuments
Reference #:164
State Party:فرنسا
Region:Europe and North America
Official name: Obélisque antique
Designated:1840
Reference #:PA00081180

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 قالب: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 قالب: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 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:

Olympic Memorial Stadium
Olympic Memorial Stadium during the Big Match
Olympic Memorial Stadium during the Big Match
Location123 Main Street, Anytown, Any County
Broke groundDecember 21, 1921
OpenedMay 1, 1923
OwnerMinistry of Any County
OperatorGovernment of Anytown
SurfaceNatural Grass
ArchitectAcme
Designated:1997-02-05
Reference #:12345
Designated:2000-12-07
Reference #:ABCD
Designated:2010-09-31
Reference #:CN555
{{Infobox stadium
| stadium_name = Olympic Memorial Stadium
| image = [[ملف:11-11-06-LA-Coliseum-USC-UO.jpg|250px|Olympic Memorial Stadium during the Big Match]]
| caption = Olympic Memorial Stadium during the Big Match
| nrhp = {{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
}}
| 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
}}

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:

Lighthouse
Lighthouse
Location Anytown, USA
Year first lit 1900
Automated 1980
Foundation Concrete
Construction Cast Iron with Brick Lining
Tower shape 16-sided Pyramidal
Height 35 ft (10.6 m)
Focal height 265 ft.
Range 24 mi.
Admiralty number G4356
ARLHS number USA-636
USCG number 6-0385
{{Infobox lighthouse
 | image_name =Point reyes lighthouse 02.jpg  
 | caption = Lighthouse   
 | location = Anytown, USA
 | admiralty = G4356
 | ARLHS = USA-636
 | USCG = 6-0385
 | yearlit = 1900 
 | automated = 1980 
 | foundation = [[Concrete]]
 | construction = Cast [[Iron]] with [[Brick]] Lining
 | shape = 16-sided Pyramidal 
 | height = 35 ft (10.6 m)
 | range = 24 mi.
 | elevation = 265 ft.
}}

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:

Lighthouse
Lighthouse
Location Anytown, USA
Year first lit 1900
Automated 1980
Foundation Concrete
Construction Cast Iron with Brick Lining
Tower shape 16-sided Pyramidal
Height 35 ft (10.6 m)
Focal height 265 ft.
Range 24 mi.
Admiralty number G4356
ARLHS number USA-636
USCG number 6-0385
Designated:1997-02-05
Reference #:12345
Designated:2000-12-07
Reference #:ABCD
Designated:2010-09-31
Reference #:CN555
{{Infobox lighthouse
 | image_name =Point reyes lighthouse 02.jpg  
 | caption = Lighthouse   
 | location = Anytown, USA
 | admiralty = G4356
 | ARLHS = USA-636
 | USCG = 6-0385
{{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
}}
 | yearlit = 1900 
 | automated = 1980 
 | foundation = [[Concrete]]
 | construction = Cast [[Iron]] with [[Brick]] Lining
 | shape = 16-sided Pyramidal 
 | height = 35 ft (10.6 m)
 | range = 24 mi.
 | elevation = 265 ft.
}}

See also

تعديل