Sjabloonbespreking:Inligtingskas stad/gebruik
Gebruik
wysig- Belangrik: Plaas asseblief alle numeriese waardes in 'n ongeformateerde styl (bv. sonder spasies) en dui desimale plekke met 'n punt aan (dit sal met 'n komma vertoon). Verwysings en voetnotas moet asseblief by die respektiewelike parameters bygevoeg word. Numeriese waardes wat nie ongeformateerd is nie mag 'n "Expression error" veroorsaak. Ongeformateerde waardes sal outomaties deur die sjabloon geformateer word. Indien enige probleme met enige iets opduik, moet daar dadelik melding van gemaak word op die sjabloon se besprekingsblad
Hieronder is 'n voorbeeld van die gehele sjabloon se leë sintaks en dan 'n meer basiese vorm met minder parameters. Daarna volg 'n verduideliking van al die parameters (sien Sjabloonbespreking:Inligtingskas_stad/gebruik#Tabel.
Volledige leë sintaks
wysig{{Inligtingskas stad <!-- Basiese inligting ----------------> |naam = <!-- ten minste een van die eerste twee velde moet ingevul word --> |amptelike_naam = |ander_naam = |inheemse_naam = <!-- indien anders as die Afrikaanse naam --> |bynaam = |soort_vestiging = <!--soos dorp, stad, ens.--> |totaal_soort = <!--om 'n nie-standaard naam vir die totale oppervlakte en bevolkingrye te stel (bv. Greater London). --> |leuse = |translit_taal1= <!-vir byvoorbeeld vir 'n naam wat uit Russies of Sjinees getranslitereer word--> |translit_taal1_tipe= |translit_taal1_info= |translit_taal1_tipe1= |translit_taal1_info1= |translit_taal1_tipe2= |translit_taal1_info2= |translit_taal1_tipe3= |translit_taal1_info3= |translit_taal1_tipe4= |translit_taal1_info4= |translit_taal1_tipe5= |translit_taal1_info5= |translit_taal1_tipe6= |translit_taal1_info6= |translit_taal2= |translit_taal2_tipe= |translit_taal2_info= |translit_taal2_tipe1= |translit_taal2_info1= |translit_taal2_tipe2= |translit_taal2_info2= |translit_taal2_tipe3= |translit_taal2_info3= |translit_taal2_tipe4= |translit_taal2_info4= |translit_taal2_tipe5= |translit_taal2_info5= |translit_taal2_tipe6= |translit_taal2_info6= <!-- beelde en kaarte -----------> |beeld_stasprofiel = |beeld_wydte = |beeld_onderskrif = |beeld_vlag = |vlag_wydte = |beeld_seël = |seël_wydte = |beeld_wapen = |wapen_wydte = |beeld_embleem = |embleem_soort = <!--Kenteken, logo, embleem, ens.--> |embleem_wydte = |beeld_kaart = |kaart_wydte = |kaart_onderskrif = |beeld_kaart2 = |kaart2_wydte = |kaart2_onderskrif = <!-- Ligging ------------------> |subverdeling_soort = <!--Land--> |subverdeling_naam = <!--naam van land--> |subverdeling_soort1 = <!--provinsie,ens.--> |subverdeling_naam1 = |subverdeling_soort2 = |subverdeling_naam2 = |subverdeling_soort3 = |subverdeling_naam3 = |subverdeling_soort4 = |subverdeling_naam4 = <!-- Kleiner dele (voorstede, ens.) en setel van regering --> |setel_soort = |setel = |dele_soort = |dele_styl = <!-- =list (vir 'n lys), vou (vir opvoubare lys), para (vir paragraafvorm) Verstek: lys tot 5 items, "vou" indien meer as 5--> |dele = <!-- parts text, or header for parts list --> |d1 = |d2 = <!-- ens. tot by d50: vir aparte lyste om gelys te word--> <!-- Politiek -----------------> |regering_voetnotas = |regeringsoort = |leier_titel = |leier_naam = |leier_titel1 = <!-- for places with, say, both a mayor and a city manager --> |leier_naam1 = |leier_titel2 = |leier_naam2 = |leier_titel3 = |leier_naam3 = |leier_titel4 = |leier_naam4 = |gevestig_titel = <!-- Settled --> |gevestig_datum = |gevestig_titel1 = <!-- Incorporated (town) --> |gevestig_datum1 = |gevestig_titel2 = <!-- Incorporated (city) --> |gevestig_datum2 = |gevestig_titel3 = |gevestig_datum3 = |grondlegger = |vernoem_na = <!-- Area ---------------------> |area_grootte = <!-- use only to set a special wikilink --> |eenheid_verkies = <!--Enter: Imperial, to display imperial before metric--> |area_voetnotas = |area_totaal_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_totaal_dunam = <!--Used in Middle East articles only--> |area_totaal_myl2 = |area_land_myl2 = |area_water_myl2 = |area_water_persent = |area_stedelik_km2 = |area_stedelik_myl2 = |area_metro_km2 = |area_metro_myl2 = |area_blanko1_titel = |area_blanko1_km2 = |area_blanko1_myl2 = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> </ref> tags--> |elevation_m = |elevation_ft = |elevation_max_m = |elevation_max_ft = |elevation_min_m = |elevation_min_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = |population_metro = |population_density_metro_km2 = |population_density_metro_sq_mi = |population_urban = |population_density_urban_km2 = |population_density_urban_sq_mi = |population_blank1_titel = |population_blank1 = |population_density_blank1_km2 = |population_density_blank1_sq_mi = <!-- General information ---------------> |timezone = |utc_offset = |timezone_DST = |utc_offset_DST = | coor_type = <!-- can be used to specify what the coordinates refer to --> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |area_code = |twin1 = |twin1_country = |twin2 = |twin2_country = |twin3 = |twin3_country = |twin4 = |twin4_country = |twin5 = |twin5_country = |twin6 = |twin6_country = |twin7 = |twin7_country = |blank_naam = |blank_info = |blank1_naam = |blank1_info = |blank2_naam = |blank2_info = |blank3_naam = |blank3_info = |blank4_naam = |blank4_info = |blank5_naam = |blank5_info = |blank6_naam = |blank6_info = |website = |footnotes = }}
}}
- Basic Empty Syntax --- For questions see the talk page.
{{Infobox Settlement <!--See Template:Infobox Settlement for additional fields that may be available--> <!--See the Table at Infobox Settlement for all fields and descriptions of usage--> <!-- Basic info ----------------> |naam = <!-- at least one of the first two fields must be filled in --> |official_naam = |other_naam = |native_naam = <!-- if different from the English naam --> |nicknaam = |settlement_type = <!-- e.g. Town, Village, City, etc.--> |total_type = <!-- to set a non-standard label for total area and population rows --> |motto = <!-- images and maps -----------> |image_skyline = |imagesize = |image_caption = |image_flag = |flag_size = |image_seal = |seal_size = |image_shield = |shield_size = |image_blank_emblem = |blank_emblem_type = |blank_emblem_size = |image_map = |mapsize = |map_caption = |image_map1 = |mapsize1 = |map_caption1 = <!-- Location ------------------> |subverdeling_type = <!--Country--> |subverdeling_naam = <!--the naam of the country--> |subverdeling_type1 = |subverdeling_naam1 = |subverdeling_type2 = |subverdeling_naam2 = <!-- Smaller parts (e.g. boroughs of a city) and seat of regering --> |seat_type = |seat = |parts_type = |parts_style = <!-- =list (for list), coll (for collapsed list), para (for paragraph format) Default is list if up to 5 items, coll if more than 5--> |parts = <!-- parts text, or header for parts list --> |p1 = |p2 = <!-- etc. up to p50: for separate parts to be listed--> <!-- Politics -----------------> |regering_footnotes = |regering_type = |leier_titel = |leier_naam = |leier_titel1 = <!-- for places with, say, both a mayor and a city manager --> |leier_naam1 = |established_titel = <!-- Settled --> |established_date = <!-- Area ---------------------> |area_magnitude = |unit_pref = <!--Enter: Imperial, to display imperial before metric--> |area_footnotes = |area_total_km2 = <!-- ALL fields with measurements are subject to automatic unit conversion--> |area_land_km2 = <!--See table @ Template:Infobox Settlement for details on unit conversion--> |area_water_km2 = |area_total_sq_mi = |area_land_sq_mi = |area_water_sq_mi = |area_water_percent = <!-- Elevation --------------------------> |elevation_footnotes = <!--for references: use <ref> </ref> tags--> |elevation_m = |elevation_ft = |elevation_max_m = |elevation_max_ft = |elevation_min_m = |elevation_min_ft = <!-- Population -----------------------> |population_as_of = |population_footnotes = |population_note = |population_total = |population_density_km2 = <!--For automatic calculation, any density field may contain: auto --> |population_density_sq_mi = <!-- General information ---------------> |timezone = |utc_offset = |timezone_DST = |utc_offset_DST = |coor_type = <!-- can be used to specify what the coordinates refer to --> |latd= |latm= |lats= |latNS= |longd= |longm= |longs= |longEW= <!-- Area/postal codes & others --------> |postal_code_type = <!-- enter ZIP code, Postcode, Post code, Postal code... --> |postal_code = |area_code = |website = |footnotes = }}
Tabel
wysigSteeds onder konstruksie
Naam en leusewysig | ||
Parameter | Gebruik | Beskrywing |
naam | vereis indien amptelike_naam nie ingevul is nie | Die gebruiklike naam in Afrikaans |
amptelike_naam | vereis indien naam nie ingevul is nie | Die amptelike naam in Afrikaans |
ander_naam | opsioneel | Vir plekke met 'n vroeër of meer bekende naam (bv. Bombaai) |
inheemse_naam | opsioneel | Indien anders as die Engelse naam. Sal onder die (amptelike) naam verskyn. |
settlement_type | opsioneel | Enige soort kan ingetik word, soos Stad, Dorp, Gehuggie, Munisipaliteit, Reservaat, ens. Indien hier iets ingevul word sal dit onder die name vertoon, mits naam ingevul is. Kan ook gebruik word as 'n etiket vir 'n totale bevolking/area (verstek Stad) indien dit nodig is om te onderskei van Stadsgebied of Metropolitaanse gebied. Indien hierdie waardes ("stadsgebied" en "metropolitaanse gebied" nie ingevul is nie, is die etiket Totaal, tensy die totaal_soort ingevul is. |
totaal_soort | opsioneel | Spesifiseer na watter "totaal" die oppervlak/area en bevolkingsyfers verwys, b.v. Groter Londen. Hierdie parameter plaas geniet voorrang bo die ander etikette vir totale bevolking/area. Om geen etiket te hê nie, vul gerus in |
bynaam | opsioneel | Indien daar 'n bekende bynaam bestaan (bv. "The Big Apple" vir New York Stad) |
leuse | opsioneel | Die leuse word onder die bynaam geplaas, indien die bestaan. |
translit_taal1 | opsioneel | Die inskrywing word hier voor die woord "transliterasie" geplaas. (Byvoorbeel "Sjinese transliterasie". "Ander" is ook 'n geldige inskrywing. |
translit_taal1_tipe | opsioneel | Skrif of alfabet wat gebruik word |
translit_taal1_info | opsioneel | Getranslitereerde naam |
translit_taal2 | opsioneel | Vir 'n tweede transliterasie (bv. stede wat beide 'n Tibettaanse en 'n Sjinese transliterasie het) |
translit_taal2_tipe | opsioneel | |
translit_taal2_info | opsioneel | |
Beelde en kaartewysig | ||
Parameter | Gebruik | Beskrywing |
beeld_stadsprofiel | opsioneel | Ten spyte van die naam hoef dit nie 'n stadsprofiel (skyline) te wees nie - enige beeld kan gebruik word. Die beeldwydte is by verstek 250px, tensy anders aangedui. |
beeldwydte | opsioneel | Kan gebruik word om die grootte van die beeld_stadsprofiel groter of kleiner te maak. Kan handig wees om die inligtingskas self ook wyer te maak. |
beeld_onderskrif | opsioneel | Indien teenwoordig, sal hierdie parameter 'n onderskrif onder die beeld_stadsprofiel plaas. |
beeld_vlag | opsioneel | Vir vertoning van 'n vlag. Verstekwydte: 100px |
vlag_wydte | opsioneel | Kan gebruik word om die wydte van die vlag meer of minder as 100px maak, soos gewens. |
vlagskakel | opsioneel | |
beeld_seël | opsioneel | Indien daar 'n amptelike seël is. |
seëlskakel | opsioneel | |
seël_wydte | opsioneel | Verstekwydte: 100px |
beeld_wapen | opsioneel | Indien daar 'n wapen of wapenskild is. |
wapenskakel | opsioneel | Die sjabloon behoort wapens outomaties te skakel, indien artikels daaroor bestaan. Gebruik hierdie parameter slegs indien daar nie 'n outomatiese skakel geskep word nie. |
wapen_wydte | opsioneel | Verstekwydte: 100px |
beeld_embleem | opsioneel | Kan gebruik word indien 'n amptelik kenteken, embleem, ens. bestaan. |
embleemsoort | opsioneel | Om te spesifieer watter soort embleem "beeld_embleem" is (bv. kenteken, logo, ens.) Die verstek is "Embleem". |
embleem_wydte | opsioneel | |
embleemskakel | opsioneel | |
image_map | opsioneel | |
mapsize | opsioneel | |
map_caption | opsioneel | |
image_map1 | opsioneel | A secondary map image. The field image_map must be filled in first. Example see: Bloomsburg, Pennsylvania. |
mapsize1 | opsioneel | |
map_caption1 | opsioneel | |
image_dot_map | opsioneel | A field for manually superimposing a dot over a blank map using an "X" & "Y" system. Blank maps, if available, can be found over at Wikimedia Commons. Example see: Rainbow Lake, Alberta |
dot_mapsize | opsioneel | To change the dot map size; default is 180px. |
dot_map_caption | opsioneel | For placing a caption under the dot map. |
dot_x dot_y |
opsioneel | For manually superimposing the dot left/right and up/down on the map. |
pushpin_map | opsioneel | The naam of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (eg. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Padang, Indonesia |
pushpin_label_position | opsioneel | The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right. |
pushpin_mapsize | opsioneel | Must be entered as only a number—no need for px. The default value is 250. |
pushpin_map_caption | opsioneel | Fill out if a different caption from map_caption is desired. |
Location, subverdelings, regering and Established informationwysig | ||
Field naam | Usage | Description |
subverdeling_type | opsioneel | This field is almost always "Country". |
subverdeling_naam | opsioneel | Depends on the subverdeling_type |
subverdeling_type1 to subverdeling_type4 |
opsioneel | Can be State/Province, region, county. |
subverdeling_naam1 to subverdeling_naam4 |
opsioneel | |
seat_type | opsioneel | The label for the seat of regering (defaults to Seat). |
seat | opsioneel | The seat of regering. |
parts_type | opsioneel | The label for the smaller subverdelings (defaults to Boroughs). |
parts_style | opsioneel | Set to list to display as a collapsible list, coll as a collapsed list, or para to use paragraph style. Default is list for up to 5 items, otherwise coll. |
parts | opsioneel | Text or header of the list of smaller subverdelings. |
p1, p2, etc. | opsioneel | (maximum p50) The smaller subverdelings to be listed. |
regering_footnotes | opsioneel | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
regering_type | opsioneel | Example: |
leier_party | opsioneel | Political party of the place's leier. |
leier_titel | opsioneel | First titel of the place's leier, e.g. Mayor |
leier_naam | opsioneel | Tip: naams are automatically wiki-linked if an article exists; if the target is not the intended one, insert a character such as "& nbsp;" to disable the link |
leier_titel1 to leier_titel4 |
opsioneel | |
leier_naam1 to leier_naam4 |
opsioneel | For long lists use {{Collapsible list}}. See Halifax for an example. |
established_titel | opsioneel | Example: First settled |
established_date | opsioneel | |
established_titel1 | opsioneel | Example: Incorporated (town) |
established_date1 | opsioneel | |
established_titel2 | opsioneel | Example: Incorporated (city) |
established_date2 | opsioneel | |
established_titel3 | opsioneel | |
established_date3 | opsioneel | |
founder | opsioneel | The naam of the settlement's founder |
naamd_for | opsioneel | The source of the naam of the settlement (a person, a place, et cetera) |
Geographic informationwysig | ||
These fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they should enter both values in their respective fields. | ||
Field naam | Usage | Description |
unit_pref | opsioneel | To change the unit order to imperial (metric), enter imperial. The default display style is metric (imperial). However, the template will swap the order automatically if the subverdeling_naam equals some variation of the U.S. or the UK. For the middle east, a unit preference of dunam can be entered (only affects total area). All values must be entered in a raw format: no commas, spaces, or unit symbols. The template will format them automatically. |
area_footnotes | opsioneel | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
area_magnitude | opsioneel | Area magnitude of total_area in terms of m². Should enter 1 E+6 for area of 1.0 km². See 1 E+6 m² |
area_total_dunam | opsioneel | Total area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers and square miles if area_total_km2 and area_total_sq_mi are empty. Examples: Gaza and Ramallah |
area_total_km2 | opsioneel | Total area in square kilometers—symbol: km², which is wiki-linked. Value must be entered in raw format, no commas or spaces. Auto-converted to display square miles if area_total_sq_mi is empty. Deprecated naam =area_total |
area_land_km2 | opsioneel | Land area in square kilometers—symbol: km². Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_land_sq_mi is empty. Deprecated naam =area_land |
area_water_km2 | opsioneel | Water area in square kilometers—symbol: km². Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_water_sq_mi is empty. Deprecated naam =area_water |
area_total_sq_mi | opsioneel | Total area in square miles—symbol: sq mi, which is wiki-linked. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_total_km2 is empty. Deprecated name =TotalArea_sq_mi |
area_land_sq_mi | opsioneel | Land area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_land_km2 is empty. Deprecated name =LandArea_sq_mi |
area_water_sq_mi | opsioneel | Water area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_water_km2 is empty. Deprecated name =WaterArea_sq_mi |
area_water_percent | opsioneel | Enter the percent of water without the "%" |
area_urban_km2 | opsioneel | Deprecated name =area_urban |
area_urban_sq_mi | opsioneel | Deprecated name =UrbanArea_sq_mi |
area_metro_km2 | opsioneel | Deprecated name =area_metro |
area_metro_sq_mi | opsioneel | Deprecated name =MetroArea_sq_mi |
area_blank1_titel | opsioneel | Example see London |
area_blank1_km2 | opsioneel | |
area_blank1_sq_mi | opsioneel | |
area_blank2_titel | opsioneel | |
area_blank2_km2 | opsioneel | |
area_blank2_sq_mi | opsioneel | |
elevation_footnotes | opsioneel | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
elevation_m | opsioneel | Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, the editor must enter a converted range in the elevation_ft field to over-ride the automatic conversion. Deprecated name =elevation |
elevation_ft | opsioneel | Raw number, entered in feet. Will automatically convert to display elevation in meters if elevation_m field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, the editor must enter a converted range in the elevation_m field to over-ride the automatic conversion. |
elevation_max_m, elevation_max_ft, elevation_min_m, elevation_min_ft | opsioneel | Used to give highest and/or lowest elevations, if available, instead of just a single value. Example: Halifax Regional Municipality |
coor_type | opsioneel | If needed, to specify more exactly which coordinates are given (e.g. Town Hall). |
latd | opsioneel | Latitude degrees. Can also be used for decimal degrees. |
latm | opsioneel | Latitude minutes |
lats | opsioneel | Latitude seconds |
latNS | opsioneel | Latitude North or South. |
longd | opsioneel | |
longm | opsioneel | |
longs | opsioneel | |
longEW | opsioneel | |
Population infomationwysig | ||
The density fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. To calculate density automatically, type auto in place of any density value. | ||
Field naam | Usage | Description |
population_as_of | opsioneel | |
population_footnotes | opsioneel | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
population_total | opsioneel | |
population_density_km2 | opsioneel | Deprecated name =population_density |
population_density_sq_mi | opsioneel | Deprecated name =population_density_mi2 |
population_metro | opsioneel | |
population_density_metro_km2 | opsioneel | |
population_density_metro_sq_mi | opsioneel | Deprecated name =population_density_metro_mi2 |
population_urban | opsioneel | |
population_density_urban_km2 | opsioneel | |
population_density_urban_sq_mi | opsioneel | Deprecated name =population_density_urban_mi2 |
population_blank1_titel | opsioneel | Can be used for estimates. Example: Windsor, Ontario |
population_blank1 | opsioneel | The population value for blank1_titel |
population_density_blank1_km2 | opsioneel | |
population_density_blank1_sq_mi | opsioneel | |
population_blank2_titel | opsioneel | |
population_blank2 | opsioneel | |
population_density_blank2_km2 | opsioneel | |
population_density_blank2_sq_mi | opsioneel | |
population_demonym | Not currently available | A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians. |
population_note | opsioneel | A place for additional infomation such as the name of the source. See Windsor, Ontario for example. |
Other infomationwysig | ||
Field Name | Usage | Description |
timezone | opsioneel | |
utc_offset | opsioneel | |
timezone_DST | opsioneel | |
utc_offset_DST | opsioneel | |
postal_code_type | opsioneel | |
postal_code | opsioneel | |
area_code | opsioneel | |
blank_naam | opsioneel | Can be used for additional information such as car plates |
blank_info | opsioneel | This is where the information for the blank_naam would go. Example see: Warsaw. |
blank1_naam to blank6_naam |
opsioneel | |
blank1_info to blank6_info |
opsioneel | |
twin1 to twin7 |
opsioneel | naam of a twin city |
twin1_country to twin7_country |
opsioneel | Country of the twin city |
footnotes | opsioneel | |
website | opsioneel |
Usage Example
wysigfrom Detroit, Michigan--Note Pipe characters are in front of the line of cell data, instead of at the end of the line, which simplify the spacing:
<includeonly>