Template:State header: Difference between revisions
[[Trustroots Wiki]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to navigationJump to search
fixed css and removed nastiness |
m typo |
||
| Line 7: | Line 7: | ||
|- | |- | ||
|style="border-right:1px solid #ba9c63;text-align:center;"| | |style="border-right:1px solid #ba9c63;text-align:center;"| | ||
{{ #if: {{{image|}}}|[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]] | {{ #if: {{{image|}}}|[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]]}} | ||
|style="border-right:1px solid #ba9c63;padding:1px 4px;"| | |style="border-right:1px solid #ba9c63;padding:1px 4px;"| | ||
{{ #if: {{{toplinks|}}}|{{{toplinks}}}}} | {{ #if: {{{toplinks|}}}|{{{toplinks}}}}} | ||
Revision as of 17:03, 24 December 2012
| {{{state}}} | Main pages | Cities | Other links |
|
{{ #if: |[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]]}} |
{{ #if: |{{{toplinks}}}}} |
{{ #if: |{{{cities}}}}} |
{{ #if: |*[[:bw:groups/{{{bwgroup}}}|BW group]]}} {{ #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 header
|state =
|country =
|cities =
|toplinks =
|bwgroup =
|csgroup =
|wikipedia =
|hitchwiki =
|wikitravel =
|image =
|imagetext =
}}