Difference between revisions of "Template:Regions"
m (I hope it's not too late) |
m |
||
Line 7: | Line 7: | ||
|} | |} | ||
</center> | </center> | ||
− | {{#if:{{{country|}}}||{{#ifeq:{{FULLPAGENAME}}|Template:Regions||{{#ifeq:{{Regions/Owners|{{{1|}}}}}|FAIL|[[Category:Regions not assigned to a country]]|}}}}}}</includeonly> | + | {{#if:{{{country|}}}||{{#ifeq:{{FULLPAGENAME}}|Template:Regions||{{#ifeq:{{Regions/Owners|{{{1|}}}}}|FAIL|[[Category:Regions not assigned to a country]]|}}}}}}</includeonly><noinclude> |
− | <noinclude> | + | |
{{Regions|Aland}} | {{Regions|Aland}} | ||
This template is used to show regions owned by countries in the region page. When you create a page for new region, add <nowiki>{{Regions|{{BASEPAGENAME}}}}</nowiki> to the page. | This template is used to show regions owned by countries in the region page. When you create a page for new region, add <nowiki>{{Regions|{{BASEPAGENAME}}}}</nowiki> to the page. | ||
Line 16: | Line 15: | ||
{{Regions|country=Finland}} | {{Regions|country=Finland}} | ||
− | This template will be updated | + | This template will be updated normally once a month. |
== Customizing == | == Customizing == |
Latest revision as of 04:27, 22 March 2016
Regions of Republic of China (Taiwan) |
---|
Aland · Algarve · Burgenland · Eastern Taiwan · Kalimantan · Latgale · Maine · Marmara · North-Eastern Thailand · Northern Taiwan · Salzburg · Saxony · Scotland · South West States · Southern Taiwan · Sulawesi · Svizzera italiana · Taurida · Trentino-South Tyrol · Vorarlberg |
This template is used to show regions owned by countries in the region page. When you create a page for new region, add {{Regions|{{BASEPAGENAME}}}} to the page.
To show "Regions of country" add the country name as country=name|
parameter. For example {{Regions|country=Finland}}
will produce
Regions of Finland |
---|
Arkansas · Lapland · Mid Andes · Oulu · Sindh · Southern Finland · Western Finland |
This template will be updated normally once a month.
Customizing
There are few ways of customizing this template.
Changing the color of the header
To change the color of the header, you need to add an entry for your country to Template:Regions/Header with background:#XXXXXX
- CSS property. See other entries to get an example about entering the value for your country.
Note: It's important that you use the same name for your country as can be found here. Spelling it in any other way will not work.
Changing the color of the header text
To change the color of the header text, you need to add an entry for your country to Template:Regions/HeaderText with "thenameofthecolor
" -code. See other entries to get an example about entering the value for your country.
Note: It's important that you use the same name for your country as can be found here. Spelling it in any other way will not work.