Template:State header: Difference between revisions
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
{{ #if: {{{wikitravel|}}}|*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]}} | {{ #if: {{{wikitravel|}}}|*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]}} | ||
{{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}} | {{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}} | ||
|}<includeonly>[[Category:{{{ | |}<includeonly>[[Category:{{{state}}}]] {{IsIn|{{{country}}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] |
Revision as of 16:05, 11 January 2010
{{{state}}} | Main pages | Cities | Other links |
[[file:{{{image}}}|100x80px|{{{imagetext}}}]] |
{{{toplinks}}} |
{{{cities}}} |
{{ #if: |*[[:csgroup:{{{csgroup}}}|CS group]]}} {{ #if: |*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} {{ #if: |*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]}} {{ #if: |*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}} |
This is a meta-template used by state (provinces, regions, other intermediate entities between Country and City) header templates like template:Veneto for standard formatting. You can use it to easily make a new header template for a state/province/region that does not already have one.
Usage
use the following form in your header templates:
{{State |state = |country = |cities = |toplinks = |csgroup = |wikipedia = |hitchwiki = |wikitravel = |image = |imagetext = }}