跳至內容

模板:Designation/doc

維基百科,自由的百科全書

⚠️維護警告:如果條目返回「無效指定」,則說明添加的參數存在下列錯誤情形之一:

  1. 屬於還未列入本模板的保護名錄類型,請打開Template:Designation/text頁面增加相應的保護區類型;或者
  2. 從外語維基百科翻譯條目時,「designation」、「designated_other2_name」等類似參數,不應當被翻譯成中文。如果確需使用中文參數填寫,請先打開Template:Designation/text頁面在相應的保護區類型中增加中文參數,才能得到正確顯示。

Usage

[編輯]

This template is mainly used in conjunction with {{Infobox historic site}}, which is of interest to WikiProject Historic sites. This template tells the infobox how to display designations by passing along either a color or some text, which are dependent on the designation. The template is set up, however, so that anyone can use it as a stand-alone template to create tables, lists, and other articles throughout Wikipedia. The following is an explanation of how to use this template as a stand-alone template:

Template syntax

{{Designation|<designation>|<identifier>}}

  • <designation> – tells the template which designation to use. (i.e. "NRHP", "World Heritage Site", "NYCL", etc.) This parameter is case-insensitive, so "world heritage site" will yield the same thing as "WoRlD HeRiTaGe SiTe". All supported designations are listed below.
  • <identifier> – can be either of the following values:
    • colour (or color) – will return a hex code for the official color of <designation>
    • text – will return a link to the article talking about <designation>
    • divbox - will generate a bordered div block element version, consisting of the link to the article talking about <designation> (this is useful in various templates that use the {{Infobox}}}
Examples
  • {{Designation/colour|World Heritage Site}} yields " #FFE978"
  • {{Designation/text|Grade I}} yields "登錄建築-I級"
  • {{Designation/divbox|National Historic Site of Canada}} yields:

未完成翻譯的部分或本模板不包含的參數,均以「無效指定」顯示。

支持的指定

[編輯]

全球指定

[編輯]
Designation Bordered version Scope Count Valid <designation> values (Callnames)
聯合國教科文組織世界遺產 Global 874 World Heritage Site; WHS
IUCN Ia類(嚴格自然保護區 Global ??? IUCN Category Ia; IUCN Ia; Category Ia; Nature Reserve
IUCN Ib類(荒野保護區
IUCN Ib類(荒野保護區
Global ??? IUCN Category Ib; IUCN Ib; Category Ib; Wilderness Area
IUCN II類(國家公園
IUCN II類(國家公園
Global ??? IUCN Category II; IUCN II; Category II; National Park
IUCN III類(天然紀念物
IUCN III類(天然紀念物
Global ??? IUCN Category III; IUCN III; Category III; Natural Monument
IUCN IV類(棲息地/物種管理區)
IUCN IV類(棲息地/物種管理區)
Global ??? IUCN Category IV; IUCN IV; Category IV; Habitat Management; Species Management
IUCN V類(受保護的陸地/海洋景觀)
IUCN V類(受保護的陸地/海洋景觀)
Global ??? IUCN Category V; IUCN V; Category V; Protected Landscape; Protected Seascape
IUCN VI類(受管理的資源保護區)
IUCN VI類(受管理的資源保護區)
Global ??? IUCN Category VI; IUCN VI; Category VI; Managed Resource Protected Area
濕地公約 Global ??? Ramsar; Ramsar Wetland; Ramsar Wetland of International Importance
無效指定
無效指定
Global 263 Civil Engineering Landmark; Historic Civil Engineering Landmark; HCEL
無效指定
無效指定
Global 259 Mechanical Engineering Landmark; Historic Mechanical Engineering Landmark; HMEL

中華人民共和國

[編輯]

本模板為中華人民共和國提供了本地化方案,修改或翻譯時請注意。

Designation Bordered version Scope Count Valid <designation> values (Callnames)
全國重點文物保護單位
中華人民共和國國務院公布
中國 ??? 全國重點文物保護單位
省級文物保護單位
省級文物保護單位
中國 ??? 省級重點文物保護單位
市級文物保護單位
市級文物保護單位
中國 ??? 市級重點文物保護單位
縣級文物保護單位
縣級文物保護單位
中國 ??? 縣級重點文物保護單位
上海市人民政府公布
上海市優秀歷史建築
中國 ??? 上海市優秀歷史建築
天津市人民政府公布
天津市歷史風貌建築
中國 ??? 天津市歷史風貌建築
哈爾濱市人民政府公布
哈爾濱市保護建築
哈爾濱市人民政府公布
哈爾濱市保護建築
中國 ??? 哈爾濱市保護建築
國家級風景名勝區 中國 ??? 國家級風景名勝區
國家級自然保護區 中國 ??? 國家級自然保護區
國家級典型地震遺址 中國 ??? 國家級典型地震遺址
國家地質公園 中國 ??? 國家地質公園

National/regional designations

[編輯]
Designation Bordered version Scope Count Valid <designation> values (Callnames)
阿爾巴尼亞文化古蹟 Albania 201 Cultural Monument of Albania; Albanian Cultural Monument; Albania; Monument Kulture
阿根廷國家歷史古蹟 Argentina ~400 National Historic Monument of Argentina; Argentina Historic Monument; Argentina; NHMA
無效指定
無效指定
Australia ???? Australian national heritage list; Australia; ANHL
無效指定
無效指定
Australia ???? Commonwealth heritage list; Australian Commonwealth heritage list; Commonwealth; CWLTHL
無效指定
無效指定
Australia ???? Register national estate; register of the national estate; Australian register of the national estate; RNE
巴西國家歷史遺產 Brazil 1,047 National Historic Heritage of Brazil; Brazilian Historic Heritage; IPHAN; Brazil; NHHB
加拿大國家歷史遺產 Canada 958 National Historic Site of Canada; Canadian National Historic Site; Canada; National Historic Site; NHSC; NHS
無效指定
無效指定
Canada 163 Heritage Railway Station of Canada; Canadian Heritage Railway Station; HRSC
克羅埃西亞受保護自然價值 Croatia 461 Protected Natural Value of Croatia; Croatian Protected Natural Value; Protected area of Croatia; Croatian Protected area; Croatia Natural; Spomenik prirode
克羅埃西亞文化物 Croatia ??? Cultural Good of Croatia; Croatian Cultural Good; Croatia Cultural; Spomenik kulture
國家歷史公園和花園名錄英語Register of Historic Parks and Gardens of Special Historic Interest in England England ??? National Register of Historic Parks and Gardens; Register of Historic Parks and Gardens; Historic Parks and Gardens; England Historic Park; England Historic Garden; English Historic Park; English Historic Garden
法國歷史遺蹟 France >43,000 Monument historique; France; French
愛爾蘭自然古蹟 Ireland ~1,000 Irish National Monument; National Monument of Ireland; Ireland Monument in State Care; Irish Monument in State Care; Ireland; Irish
日本國寶 Japan 1079 National Treasure of Japan; Japanese National Treasure; Japan
荷蘭國家古蹟 Netherlands 55,000+ Rijksmonument; Dutch National Monument; Netherlands National Monument; National Monument of the Netherlands; Netherlands; Dutch
紐西蘭遺產-I類英語Heritage New Zealand New Zealand ??? Heritage New Zealand Category I; New Zealand Category I; NZ Category I
紐西蘭遺產-II類英語Heritage New Zealand New Zealand ??? Heritage New Zealand Category II; New Zealand Category II; NZ Category II
葡萄牙國家古蹟 Portugal 791 National Monument of Portugal; Portuguese National Monument; Monumento Nacional do Portugal; Portugal; IPPAR
羅馬尼亞歷史古蹟 Romania 29,540 National Register of Historic Monuments in Romania; Monument istoric; Romania; Romanian
塞爾維亞文化遺產 Serbia 2,391 Cultural Heritage of Serbia; Serbia; Serbian
蘇格蘭公園及景觀設計名錄 Scotland ~386 Inventory of Gardens and Designed Landscapes in Scotland; Gardens and Designed Landscapes in Scotland; Inventory of Gardens and Designed Landscapes
新加坡國家古蹟 Singapore ??? National Monument of Singapore; Singapore National Monument; Singapore
西班牙文化財產 Spain ~13,000 Spanish Property of Cultural Interest; Bien de Interés Cultural; BIC; Spain; Spanish
瑞士國家和區域重要文化財產名錄 Switzerland ??? Swiss Cultural Property of National Significance; Swiss; Switzerland; Swiss Cultural Property
無效指定
無效指定
Thailand ??? Ministry of Culture; Fine Arts Department
尚比亞國家古蹟 Zambia >3000 National Monument of Zambia; Zambian National Monument; Zambia

State/provincial/local designations

[編輯]
Designation Bordered version Scope Count Valid <designation> values (Callnames)
無效指定
無效指定
Australia - New South Wales ???? New South Wales state heritage register; NSW state heritage register; New South Wales heritage register; NSW heritage register; NSW; NSW shr
無效指定
無效指定
Australia - Queensland 1692 Queensland Heritage Register; QHR
無效指定
無效指定
Australia - South Australia ????

South Australian heritage register; SA heritage register; South Australia; SAHR

無效指定
無效指定
Australia - Tasmania ????

Tasmanian heritage register; Tasmania; TASHR

維多利亞遺產名錄英語Victorian Heritage Register Australia - Victoria ????

Victorian heritage register; Victoria (Australia); VICHR

無效指定
無效指定
Australia - Western Australia ???? Western Australia state register of heritage places; WA state register of heritage places; WASRHP; Western Australia
無效指定
無效指定
Canada - Alberta ??? Alberta Historic Resources Act; Alberta; AHRA
無效指定
無效指定
Canada - New Brunswick ??? New Brunswick Heritage Conservation Act; New Brunswick; NBHCA
無效指定
無效指定
Canada - Nova Scotia ??? Nova Scotia Heritage Property Act; Nova Scotia; NSHPA
安大略省文物法令英語Ontario Heritage Act Canada - Ontario ??? Ontario Heritage Act; Ontario
無效指定
無效指定
Canada - Prince Edward Island ??? Prince Edward Island; PEI; Heritage Places Protection Act
魁北克省文化遺產 Canada - Quebec ??? Repertoire du Patrimoine Culturel du Quebec; Quebec; Cultural Heritage Register of Quebec
無效指定
無效指定
Canada - Saskatchewan 800+ Saskatchewan Heritage Property Act; Saskatchewan; SHPA
香港法定古蹟 ChinaHong Kong 92 Declared Monument of Hong Kong; Hong Kong Declared Monument; HK Declared Monument
香港歷史建築 ChinaHong Kong 1154 Hong Kong Graded Building; HK Graded Building; Graded Building
香港歷史建築I級 China - Hong Kong 212 Hong Kong Grade I Historic Building; Hong Kong Grade I; HK Grade I
香港歷史建築II級 China - Hong Kong 366 Hong Kong Grade II Historic Building; Hong Kong Grade II; HK Grade II
香港歷史建築III級 China - Hong Kong 576 Hong Kong Grade III Historic Building; Hong Kong Grade III; HK Grade III
仰光城市地標 MyanmarYangon 188 Yangon City Heritage List; Yangon City Landmark; Yangon Landmark; Yangon City; Yangon
中華民國國家自然公園 台灣 ? Taiwan National Natural Park; TWNNP
台灣自然保留區 台灣 ? Taiwan Nature Reserve; TWNR
台灣地質公園 台灣 ? Taiwan Geopark; TWGP
台灣野生動物保護區 台灣 ? Taiwan Wildlife Refuge; TWWR
台灣野生動物重要棲息環境 台灣 ? Taiwan Major Wildlife Habitat; TWMWH
台灣自然保護區 台灣 ? Taiwan Forest Reserve; TWFR
United Kingdom
[編輯]
Designation Bordered version Scope Count Valid <designation> values (Callnames)
在冊古蹟 United Kingdom 19,763 Scheduled Monument; Scheduled Ancient Monument; Ancient Monument; UK Scheduled Monument; UK Ancient Monument; Scheduled Historic Monument; UK Monument in State Care; UK Scheduled Ancient Monument; UK Scheduled Historic Monument
登錄建築 United Kingdom >500,000 Listed Building; United Kingdom Listed Building; UK Listed Building
登錄建築-I級
登錄建築-I級
England & Wales 9,445 Grade I Listed Building; Grade I; United Kingdom Grade I; UK Grade I
登錄建築-II*級
登錄建築-II*級
England & Wales 22,164 Grade II* Listed Building; Grade II*; United Kingdom Grade II*; UK Grade II*
登錄建築-II級
登錄建築-II級
England & Wales 345,662 Grade II Listed Building; Grade II; United Kingdom Grade II; UK Grade II
登錄建築-A級
登錄建築-A級
Northern Ireland ??? Grade A Listed Building; Grade A; Northern Ireland Grade A
登錄建築-B+級
登錄建築-B+級
Northern Ireland ??? Grade B+ Listed Building; Grade B+; Northern Ireland Grade B+
登錄建築-B1級
登錄建築-B1級
Northern Ireland ??? Grade B1 Listed Building; Grade B1; Northern Ireland Grade B1
登錄建築-B2級
登錄建築-B2級
Northern Ireland ??? Grade B2 Listed Building; Grade B2; Northern Ireland Grade B2
登錄建築-A類
登錄建築-A類
Scotland ??? Category A Listed Building; Category A; Scotland Category A
登錄建築-B類
登錄建築-B類
Scotland ??? Category B Listed Building; Category B; Scotland Category B
登錄建築-C(S)類
登錄建築-C(S)類
Scotland ??? Category C Listed Building; Category C; Scotland Category C
英國註冊戰場英語Registered Battlefields (UK) United Kingdom ??? NHLE Battlefields; UK Registered Battlefields
無效指定
無效指定
United Kingdom >100 UK Protected Wreck; UK Maritime Military Grave; UK Historic Wreck; NHLE Wreck
無效指定
無效指定
England >10,000 England Conservation Area; English Conservation Area
無效指定
無效指定
United Kingdom >20,000 UK Locally Listed; Local Listed Site UK; Locally Listed Building
無效指定
無效指定
England >650,000 NHLE; NHLE List; NHLE Register; National Heritage List for England
國家歷史公園和花園名錄英語Register of Historic Parks and Gardens of Special Historic Interest in England England 1600 Historic garden; register of historic parks and gardens; historic parks and gardens; england registered parks and gardens
United States
[編輯]
Designation Bordered version Scope Count Valid <designation> values (Callnames)
美國國家史跡名錄 United States >80,000 National Register of Historic Places; NRHP
美國國家歷史名勝 United States ~2,450 National Historic Landmark; U.S. National Historic Landmark; US National Historic Landmark; NRHP-NHL; NHL
美國歷史區 United States ??? United States Historic District; U.S. Historic District; US Historic District; Historic District; NRHP-HD; HD
美國歷史區
貢獻性資產
United States ??? United States Contributing Property; U.S. Contributing Property; US Contributing Property; Contributing Property; NRHP-CP; CP
美國國家歷史名勝街區 United States ~200 U.S. National Historic Landmark District; US National Historic Landmark District; National Historic Landmark District; NRHP-NHLD; NHLD
美國國家紀念區 United States 93 U.S. National Monument; US National Monument; National Monument; NRHP-NMON; NMON
美國國家歷史遺址 United States 89 U.S. National Historic Site; US National Historic Site; National Historic Site; NRHP-NHS; NHS
美國國家紀念館 United States 44 U.S. National Memorial; US National Memorial; National Memorial; NRHP-NMEM; NMEM
美國國家歷史公園 United States 42 U.S. National Historical Park; US National Historical Park; National Historical Park; NRHP-NHP; NHP
美國國家戰場 United States 11 U.S. National Battlefield; US National Battlefield; National Battlefield; NRHP-NB; NB
美國國家軍事公園 United States 9 U.S. National Military Park
美國國家自然地標 United States ??? U.S. National Natural Landmark; US National Natural Landmark; National Natural Landmark; NNL
阿拉巴馬州地標 United StatesAlabama 1396 Alabama Register; Alabama Landmark; Alabama; USAL; ARLH
加利福尼亞州歷史地標英語California Historical Landmark United StatesCalifornia >1,000 California Historical Landmark; California; CHISL
無效指定
無效指定
United States - Colorado >1700 Colorado State Register of Historic Properties; Colorado; CSRHP; USCO
無效指定
無效指定
United States - Indiana ~1900 Indiana Register of Historic Sites and Structures; Indiana; IRHSS; USIN
密西根州立歷史遺址 United StatesMichigan 2730 Michigan State Historic Site; Michigan; MSHS
密西西比州地標 United StatesMississippi 890 Mississippi Landmark; Mississippi; USMS
內華達州歷史標誌 United States - Nevada 266 Nevada Historical Marker; Nevada Marker; Nevada; USNV
無效指定
無效指定
United States - New Hampshire ~200 New Hampshire State Register of Historic Places; New Hampshire State Register; New Hampshire; NHSR; NHSRHP; USNH
無效指定
無效指定
United States - New Jersey ??? New Jersey Register of Historic Places; New Jersey; NJRHP; USNJ
無效指定
無效指定
United States - New Mexico ~2000 N.M. State Register of Cultural Properties; New Mexico State Register; New Mexico; NMSRCP; NMSR; USNM
無效指定
無效指定
United States - Texas ~6300 Recorded Texas Historic Landmark; Texas; RTHL; USTX
無效指定
無效指定
United States - Texas ??? Texas State Antiquities Landmark; Texas; TSAL; USTX
無效指定
無效指定
United States - Virginia ??? Virginia Landmarks Register; Virginia; VLR; USVA
無效指定
無效指定
United StatesNew MexicoAlbuquerque 20 Albuquerque Historic Landmark; Albuquerque; ALBHL
無效指定
無效指定
United StatesCaliforniaBerkeley ~350 Berkeley Landmark; Berkeley; BERKL
芝加哥地標 United StatesIllinoisChicago ~200 Chicago Landmark; Chicago; CHICL
無效指定
無效指定
United StatesTexasDallas 100 Dallas Landmark; Dallas
無效指定
無效指定
United StatesIowaDavenport ~50 Davenport Register of Historic Properties; Davenport; DRHP
無效指定
無效指定
United StatesCaliforniaLong Beach 114 Long Beach Historic Landmark; Long Beach; LBHL
洛杉磯歷史文化古蹟 United StatesCaliforniaLos Angeles 886 Los Angeles Historic-Cultural Monument; Los Angeles Historic Cultural Monument; Los Angeles; LAHCM
紐約市地標 United StatesNew YorkNew York City ~23,000 New York City Landmark; NYC Landmark; New York City; NYC; NYCL
無效指定
無效指定
United StatesNebraskaOmaha ~100 Omaha Landmark; Omaha
牡蠣灣地標 United StatesNew YorkOyster Bay 40 Oyster Bay Landmark; Oyster Bay, New York; Oyster Bay, NY; Oyster Bay
無效指定
無效指定
United StatesPennsylvania >2,000 Pennsylvania Historical Marker; Pennsylvania; PA Marker
無效指定
無效指定
United StatesPennsylvaniaPhiladelphia ??? Philadelphia Register of Historic Places; Philadelphia; PRHP
無效指定
無效指定
United StatesPennsylvaniaPittsburgh >100 Pittsburgh Historic Designation; City of Pittsburgh; PGHL; CPHD
匹茲堡地標 United StatesPennsylvaniaPittsburgh 66 Pittsburgh Historic Landmark; Pittsburgh Landmark; Pittsburgh; PHLF
無效指定
無效指定
United StatesCaliforniaRiverside ~110 Riverside Landmark; Riverside; RIVL
聖路易斯地標 United StatesMissouriSt. Louis 121 St. Louis Landmark; St Louis Landmark; St. Louis; St Louis
無效指定
無效指定
United StatesCaliforniaSan Diego ~870 San Diego Historic Landmark; San Diego; SDHL
舊金山指定地標 United StatesCaliforniaSan Francisco ~250 San Francisco Designated Landmark; San Francisco Landmark; San Francisco; SFDL
無效指定
無效指定
United StatesCaliforniaSanta Monica ~90 Santa Monica Historic Landmark; Santa Monica; SMHL
無效指定
無效指定
United StatesWashingtonSeattle ~450 Seattle Landmark; Seattle

Adding new designations

[編輯]

If you've created or contributed to a list-article or individual property articles of a designation or heritage register not listed above, you can suggest its addition to the template. To suggest a new designation for inclusion in this template, raise a question at Wikipedia talk:WikiProject Historic sites.

Requirements

[編輯]

In order for a register to be added to this template, there are several criteria that must be met:

  1. The register must be an official designation consisting of a reasonable number of sites. If a designation covers only a small community and contains only a handful of sites, it's probably not necessary to add it to this template.
  2. There must be an article about the register on Wikipedia, and there should be at least an external link to a list of all sites on the register. Ideally, there should be a list article on Wikipedia containing links to all articles about sites on that register.
  3. The register's scope must be identified. What exactly can become listed on this register? Is it confined to a small area such as a city or municipality? Perhaps a state or province? Or maybe even an entire nation or many nations? A designation can be classified as "Global", meaning any site in any nation can qualify, "National/regional", meaning only sites in a particular nation or group of nations (i.e. the United Kingdom or North America) can qualify, "State/provincial", meaning only sites in a particular region of a country (i.e. a state in the United States or an emirate in the United Arab Emirates) may qualify, or "Local", meaning only sites in a specific city, neighborhood, or community may qualify.
  4. Text and a color scheme must be chosen for the designation. This template allows an editor freedom over the background color of the designation's bar in {{Infobox historic site}} as well as the text color. The text of the bar will link to the main article of the register in some way, and should contain sufficient information to uniquely identify the register.
  5. Valid callnames must be chosen for the designation. Callnames are valid values for the <designation> parameter described at the top of this page. Callnames are unique to an individual register, so if another similar designation contains callnames that may conflict with the new register, some reconciliation will be needed (i.e. if Switzerland maintains two national designations and one is already in this template using the callname "Switzerland", that callname must be taken out to remove ambiguity before the second designation is added).

Through discussion, determine a color scheme for the designation and which text will appear in the infobox bar. Also, determine callnames, identifying any ambiguities or overlap between designations. Once the text, the color, and the callname(s) have been discussed, the designation can be incorporated into this template. Below are a few guidelines on how to choose these identifiers.

Color selection

[編輯]

While it's desirable for the colors to be related to the designation, accessibility is our first concern. Some users of Wikipedia may be fully or partially color blind, and certain color combinations can be hard for them to see. It may be necessary to modify the colors a little to accommodate these users; for more information see Wikipedia:Color.

In general, very light colors are preferred in order to have adequate contrast between the text and the background. The following colors are all acceptable choices:

#FFE978 #DACAA5 #CDE5B2 #BFFFBF #B2E5CD #A5CADA #A8BDEC #FFC0CB

The bordered div box versions (as used on {{Infobox historic site}}) do not have these accessibility issues, and thus use a different color palette.

Callname selection

[編輯]

In choosing callnames (valid <designation> values), choose names that are generally associated with the designation – not personal preferences (i.e. don't choose "My Hometown," "Family Vacation Spot," etc.). Be sure to include many different variations on word order (If you include "Canadian National Historic Site" then include "National Historic Site of Canada" as well). Callnames are case-insensitive, so there is no need for various capitalization changes.

You may use abbreviations, but use abbreviations that make sense. For Atlanta Landmarks, "AL" wouldn't be good because it may be confused with landmarks in Alabama; something like "ATL" would be better because more potential readers would associate that with Atlanta. For smaller cities it is wise to include country or state names too (such as "Oyster Bay, New York") because people are more likely to use state names than for larger, more well-known cities.

Care must also be taken to avoid overlap or ambiguity in choosing callnames. Common practice in this template's designations is to include the nation, state, or city's name as a potential callname for that designation. If a nation, state, or city maintains more than one historic register, though, things can get messy. When adding a new designation, check first to make sure that no other designations use the callnames you wish to attach to the new designation. If you were adding a new national designation for Switzerland, you would notice that the designation already in the template (Swiss Cultural Properties of National Significance) uses the callname "Switzerland". Since your new designation would also be a national designation of Switzerland, the "Switzerland" callname should be removed from the old designation, making sure to update any articles using that callname, before the new designation is added to the template.

Text selection

[編輯]
Be sure to provide adequate information to uniquely identify the designation.

When selecting the text that will be shown in the infobox bar, be sure to provide enough information to uniquely identify the designation. Many registers in this template are very similar, and some may even overlap in scope (i.e. a single area may be covered by more than one register). Make sure when selecting the text that will display in the designation's bar that enough information is given to remove all ambiguity. If you were adding a register about the National monuments of Singapore, you couldn't simply choose "National Monument" for the text bar because almost every single country contains its own national monuments. Generally a good idea is to include the nation, region, or area covered by the register in the text. Instead of "State Landmark", the text should read "California Landmark" or something similar.

The list article to which the text will point can be helpful in identifying the register, though it should not be a primary identifier. A reader should be able to read the text of the bar and know immediately which register the infobox is talking about. Secondary information such as intricacies of scope, requirements of addition, and explanations of labels (Grade I, Category C, Type IV, etc.) should be explained in the list article but not the text bar. While adequate information is needed in the text bar, make sure not to be overly descriptive so as not to overwhelm the infobox. If the bar's text takes up more than two lines, you should probably think about shortening it.

Designation incorporation

[編輯]

After colors, text, and callnames have been chosen, the designation is ready to be added to the template. You should probably ask someone at Wikipedia talk:WikiProject Historic sites to do this for you, but if you feel up to it, you can dive into template code independently. Before editing anything, you may want to check out Help:Template.

The template is split up into three major code blocks:

To incorporate the designation's color into the template, find the appropriate scope-level (Global, national/regional, state/provincial, or local) section of the "color" block of code. The section is alphabetized according to scope. Nation's names are in alphabetical order, followed by states or provinces, followed by cities. Find the appropriate location in alphabetic order for your new designation and insert a new line. On this line, list the callname(s) selected for the designation, separated by vertical pipes ("|"). Be sure to add the callname(s) in all caps to remove case sensitivity; if a callname is not entered in all caps, it will not work. General practice is to not allow the callnames to exceed a certain point on a line to preserve readability, so if a designation passes the column of existing equal signs, it should be moved to a new line. At the end of the last line of callnames, add an equal sign and then the HEX value of the color chosen. In order for the wikisoftware to parse the color correctly, "& #35;" (without the space it renders a "#" sign) must be added to the front of the HEX color. Once this is done, repeat the procedure for the alternate colour template.

After the colors are added, you can simply copy/paste that entire line of code including all callnames down into the "text" block of code at the bottom of the template. Be sure to maintain the alphabetical order of the section by pasting into the same location in the text block that you pasted into the color block. After pasting, delete the HEX color and replace it with the text for the infobox bar. This text, as discussed above, should contain a link to the register's main list article. To change the text color of a link, a <span> element is used (See existing designations for examples).

After the colors and text have been added to the template, you are ready to save. Before clicking save, double check to see that nothing else other than what you added was changed (you can use the "Show changes" option if necessary) and save the page with the edit summary "Added _______ designation," inserting the name of the designation you just added.

After the color/text are added to the main template, you can either ask someone at Wikipedia talk:WikiProject Historic sites to update the "Supported designations" page or update it yourself. To add your designation to the page, you'll have to find the correct scope-based subpage. If you want to add a global designation, append "/Global" to the end of the article name (i.e. Template:Designation/Supported designations/Global); for national/regional designations, it's /National; for state/provincial designations, it's /State; and for local/municipal designations, it's /Local. Once you've navigated to the correct subpage, simply click the edit button and add a new table row in the correct alphabetical order based on descending order of scope (So if you were adding New York State Landmarks, and Alabama/Ohio were already there, you would add New York between the two. If there was a Hong Kong landmark, it would be even before Alabama because "China" starts with C and "United States" starts with U). The simplest method of creating a new row is to copy/paste a pre-existing row and edit that. For more information on Wikipedia Tables, see Help:Table.

Don't change anything in the first column except the designation call. Change the former designation callname to one of your designation's callnames in both the "color" and "text" locations. The next cell is the scope of the designation. Scopes are generally in Country – State/province – City/municipality, etc. form, so for the New York State example, you would not just type "New York"; you would type "United States – New York" and for Hong Kong, you would type "China – Hong Kong." The next column is the approximate count of sites having that designation. No sources are needed on this list since the count will more than likely appear on the main article for that designation, a requirement to be supported by this infobox. The final cell is a list of all callnames that can be used to call that designation. You can copy and paste the callnames from the main template, but be sure to separate them by semicolons instead of leaving the vertical pipes, and make sure not to leave them in all caps. After you have added the new row, save the page with the same edit summary used when you updated the main template.