Template talk:Geobox Protected Area

From Wikipedia, the free encyclopedia

Beskydy
Landscape Protected Area
 Moravian-Silesian Beskids from Kunčice pod Ondřejníkem
Moravian-Silesian Beskids from Kunčice pod Ondřejníkem
Country Czech Republic
Regions Moravian-Silesian, Zlín
Districts Nový Jičín, Frýdek Místek, Vsetín
Area 119,696 ha (295,775 acre)
Highest point Lysá hora
 - elevation 1,323 m (4,341 ft)
Lowest point Zubří
 - elevation 350 m (1,150 ft)
Geology Godulian sandstone
Founded 1973-03-05
Managed by Správa CHKO Beskydy
 - location Rožnov pod Radhoštěm
Website : nature.hyperlink.cz/Beskydy

[edit] Visitation

Hey Caroig, looks like putting together a Geobox for bridges might be more challenging than I realized. While looking at Geobox Protected Area, I noticed that the example code for visitation was misspelled "vistancy", the template coding was spelled correctly. However, if you look at Dartmoor you'll see that there is bad output for visitation. So far I haven't found the offending code. VerruckteDan 23:14, 29 March 2007 (UTC)

Fixed, there was just a missing colon after an "if". If something doesn't work the problem is most often a missing or extra curly brace or a missing pipe. Thanks a lot for your edits … I'm afraid there'll be more such inconsistency between the code and the docs. I've never used the visitation field myself, that's why I didn't notice this. – Caroig (talk) 04:02, 30 March 2007 (UTC)
Aa for the bridges, you might want to copy the "blocks" from a Geobox which would be more or less the same (country etc., image/map …) and then start adding the bridge specific fields (possibly first without the Geobox row subtemplates). I suppose bridges will have length and width fields, you can take them from {{Geobox Mountain Range}}. It would also be easier for you if you edit the template in an external editor (something like Notepad, but a bit more advanced), the code looks cleaner in it. – Caroig (talk) 04:12, 30 March 2007 (UTC)
Thanks for the fix and the suggestions. VerruckteDan 04:19, 30 March 2007 (UTC)

[edit] Unit conversion

So, I've got some more questions for you, sorry. I'm playing around with using this template for the Pennsylvania state parks. The default area unit is square miles, and I determined that the parameter "area_unit = acre" would set it at acres with a conversion to hectares. Here are my questions:

  1. When it displays acre it does not show the plural, so it says "36 acre" in stead of "36 acres".
  2. Second, is there a way to specify the unit it converts the value to? The conversion that is being used by the state parks is acres to square km.

As always, thanks for your help. VerruckteDan 01:56, 1 April 2007 (UTC)

I took it "acre", i.e. the singular form, could be used as an abbreviation as there's no proper abbreviated form for this unit, {{Convert}} uses it this way too. I may simply be wrong.
Well, there isn't. I created a set of conversion subtemplates which only convert between "corresponding" units, I mean unit pairs (metric/imperial) which are used in the similar context, feet/meters, miles/kilometers, etc. because that's what you mostly need in the Geoboxes. The submplates are not designed as general conversion functions. … The same thing is acres/hectares, they're both the second largest area units when the figure in square miles/square kilometers would be too small. But, I can add this conversion if you believe it useful. – Caroig (talk) 21:22, 1 April 2007 (UTC)

[edit] Cities

Does anybody object to me changing "Cities:" to "Settlements:"? Treating the two as a synonym is a bit of an Americanism, and many countries have legal defitions of the word "city" that exclude many large and notable settlements which deserve to be mentioned in this infobox. Joe D (t) 00:29, 8 April 2007 (UTC)

You can simply redefine the label that gets diplayed in front of the list of cities/town/villages etc. by adding city_type paramter and assigning it any text you wish. Every label in the Geobox can be redefined using the appropriate _type parameter. – Caroig (talk) 20:40, 9 April 2007 (UTC)
Ah, thanks. Joe D (t) 21:06, 9 April 2007 (UTC)