Help:Adding a new region

From The Climbing Cyclist Wiki
Jump to: navigation, search

Every climb guide on the site is assigned a category according to where it can be found. For example, The 1 in 20 climb is found in the Dandenong Ranges east of Melbourne, and therefore it is assigned to the "Climbs in the Dandenong Ranges" category.

The location category system has four tiers, of which the location category is the lowest:

"Climb guides" -> "Climbs in COUNTRY NAME" -> "Climbs in STATE/TERRITORY/PROVINCE NAME" -> "Climbs in REGION NAME"

For example, the 1 in 20 climb, as mentioned, sits inside the "Climbs in the Dandenong Ranges" category. This, in turn, sits inside "Climbs in Victoria" which in turn sits inside "Climbs in Australia". This, finally, sits inside the "Climb guides" category.

Every category on the site should have its own page, from location categories through to nation categories. If you're adding a climb to the site, chances are the location your climb falls within already has a category page. If it doesn't, you should create one!

Simply click on the red link at the bottom of your newly created climb guide page and it will take you to a blank page. All you need to do there is add a little bit of code which will autogenerate some pretty nifty information for that page.

Note: many countries are divided in different ways. France, for example has "regions" which are divided into "departments" which are further divided into "Arrondissements". When adding French climbs to this Wiki, use the Region in place of the state and the Department instead of the region. For example, Alpe d'Huez is in the Isère department which, in turn, is in the Rhône-Alpes region. So, the Alpe d'Huez climb should have the category [[Category:Climbs in Isère]] and that page should have the category [[Category:Climbs in Rhône-Alpes]].

New Zealand is divided into regions and then into territorial authorities. So, for example, the Coronet Peak climb is categorised [[Category:Climbs in the Queenstown-Lakes District]] which, in turn, is categorised in [[Category:Climbs in Otago]]

Italy is divided into regions and then into provinces.

A similar strategy should be applied for other countries where state/territory divisions are slightly different.

Note: when adding a new region page, the page needs to have "Category:" in the title: e.g:

Adding a map and list of climbs in the region[edit]

Each region should have its own dynamically generated map and table showing which climbs are in that region, and what the basic stats of those climbs are. For example, check out the "Climbs in the Dandenong Ranges" category page.

These maps and tables are automatically generated – once the code below is entered and saved, the map and table will automatically update whenever someone adds a new climb to that region.

To get this working, simply paste the following text into your newly created location category page:

{{Region category | region = xxxxxxx | stateterritoryprovince = yyyyyyyy }}

where xxxxxx should be replaced with "Climbs in THE REGION" as per the name of the page you're editing, and where yyyyyy should be replaced with "Climbs in THE STATE, TERRITORY OR PROVINCE THE REGION IS PART OF".

For example, if you wanted to add a map and table to the "Climbs in the Blue Mountains" category page the text you should paste into that page should be:

{{Region category | region = Climbs in the Blue Mountains | stateterritoryprovince = Climbs in New South Wales }}

State, territory or province pages[edit]

Category pages for the next level up the chain -- for states, territories and provinces -- work the same as location category pages. Simply create them and add the relevant bit of code. For example, if you wanted to add a map and list of all of the climbs in New South Wales to the "Climbs in New South Wales" category page, you'd simply paste in:

{{Region category | region = Climbs in New South Wales | stateterritoryprovince = Climbs in Australia }}