வார்ப்புரு:Designation/doc
{{Documentation subpage}}
 &lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&gt;
 
 ==Usage==
 This template is mainly used in conjunction with {{tl|Infobox Historic Site}}, which is under the supervision of [[Wikipedia:WikiProject Historic Sites|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
 &lt;code&gt;&lt;nowiki&gt;{{Designation|&lt;designation&gt;|&lt;identifier&gt;}}&lt;/nowiki&gt;&lt;/code&gt;
 
 *&lt;designation&gt; – tells the template which designation to use. (i.e. &quot;NRHP&quot;, &quot;World Heritage Site&quot;, &quot;NYCL&quot;, etc.) This parameter is case-insensitive, so &quot;world heritage site&quot; will yield the same thing as &quot;WoRlD HeRiTaGe SiTe&quot;. All supported designations are listed below.
 *&lt;identifier&gt; – can be either of the two following values:
 **''color'' (or ''colour'') – will return a hex code for the official color of &lt;designation&gt;
 **''text'' – will return a link to the article talking about &lt;designation&gt;
 
 ;Examples:
 *&lt;code&gt;&lt;nowiki&gt;{{Designation/colour|World Heritage Site}}&lt;/nowiki&gt;&lt;/code&gt; yields &quot;{{Designation/colour|World Heritage Site}}&quot;
 *&lt;code&gt;&lt;nowiki&gt;{{Designation/text|Grade I}}&lt;/nowiki&gt;&lt;/code&gt; yields &quot;{{Designation/text|Grade I}}&quot;
 
 ==Supported designations==
 {{Designation/Supported designations}}
 
 ==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:
 # 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.
 # 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.
 # 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 &quot;Global&quot;, meaning any site in any nation can qualify, &quot;National/regional&quot;, meaning only sites in a particular nation or group of nations (i.e. the [[United Kingdom]] or [[North America]]) can qualify, &quot;State/provincial&quot;, 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 &quot;Local&quot;, meaning only sites in a specific city, neighborhood, or community may qualify.
 # 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 {{tl|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.
 # Valid callnames must be chosen for the designation. Callnames are valid values for the &lt;designation&gt; 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 &quot;Switzerland&quot;, 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====
 {| class=wikitable style=&quot;float:right; text-align:center; width:150px; margin:5px&quot; cellpadding=0
 |[[File:Flag of France.svg|150px]]
 |-
 ! style=&quot;background:{{Designation/colour|France}}&quot; | {{Designation/text|France}}
 |-
 | colspan=2 | The background of the [[Monument Historique]] designation matches the French flag
 |}
 While most colors on Wikipedia are completely arbitrary, the colors in this template are (usually) connected at least loosely with their designations. For example, the blue background of [[Monument historique]] is the same shade of blue present in the [[Flag of France]]. Also, the red background of [[New York City Landmark]]s is meant to symbolize &quot;[[The Big Apple]]&quot;, one of the city's nicknames. It is desirable for any new designation to have a well-thought-out color.
 
 While it's desirable for the colors to be related to the designation, [[WP:Accessibility|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]].
 
 ====Callname selection====
 In choosing callnames (valid &lt;designation&gt; values), choose names that are generally associated with the designation – not personal preferences (i.e. don't choose &quot;My Hometown,&quot; &quot;Family Vacation Spot,&quot; etc.). Be sure to include many different variations on word order (If you include &quot;Canadian National Historic Site&quot; then include &quot;National Historic Site of Canada&quot; 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, &quot;AL&quot; wouldn't be good because it may be confused with landmarks in Alabama; something like &quot;ATL&quot; 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 &quot;Oyster Bay, New York&quot;) 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 &quot;Switzerland&quot;. Since your new designation would also be a national designation of Switzerland, the &quot;Switzerland&quot; 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====
 [[File:Missing map.svg|right|thumb|200px|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 &quot;National Monument&quot; 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 &quot;State Landmark&quot;, the text should read &quot;California Landmark&quot; 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 [[WT:HSITES]] to do this for you, but if you feel up to it, you can dive into template code independently. The template is split up into two major code blocks – one for colors and one for text. Before editing anything, you may want to check out [[Help:Templates]].
 
 {{caution|'''Editing [[Template:Designation]] without knowing what you're doing could result in the breaking of many articles. It is highly recommended that you seek help at [[Wikipedia talk:WikiProject Historic sites]] before attempting to edit this template.'''}}
 To incorporate the designation's color into the template, find the appropriate scope-level (Global, national/regional, state/provincial, or local) section of the &quot;color&quot; 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 (&quot;|&quot;). 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 [[hexadecimal|HEX]] value of the color chosen. In order for the wikisoftware to parse the color correctly, &quot;&amp; #35;&quot; (without the space it renders a &quot;&amp;#35;&quot; sign) must be added to the front of the HEX color.
 
 After the color is added, you can simply copy/paste that entire line of code including all callnames down into the &quot;text&quot; 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 &lt;nowiki&gt;&lt;span&gt;&lt;/nowiki&gt; element is used (See existing designations for examples).
 
 After the color 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 &quot;Show changes&quot; option if necessary) and save the page with the edit summary &quot;Added _______ designation,&quot; 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 [[WT:HSITES]] to update the &quot;Supported designations&quot; 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 &quot;/Global&quot; to the end of the article name (i.e. [[Template:Designation/Supported designations/Global]]); for national/regional designations, it's [[Template:Designation/Supported designations/National|/National]]; for state/provincial designations, it's [[Template:Designation/Supported designations/State|/State]]; and for local/municipal designations, it's [[Template:Designation/Supported designations/Local|/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 &quot;China&quot; starts with C and &quot;United States&quot; 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:Tables]].
 
 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 &quot;color&quot; and &quot;text&quot; 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 &quot;[[New York]]&quot;; you would type &quot;[[United States]] – [[New York]]&quot; and for Hong Kong, you would type &quot;[[China]] – [[Hong Kong]].&quot; The next column is the approximate count of sites having that designation. No [[WP:RS|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.
 
 &lt;includeonly&gt;
 &lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&gt;
 [[Category:Geography and place metatemplates]]