Template:State header: Difference between revisions
No edit summary |
(Added border to image (better for flags with white background)) |
||
Line 6: | Line 6: | ||
|width="15%" style="padding:2px;background:#f2e5d6;border-bottom:1px solid #ba9c63;-moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px;"|'''Other links''' | |width="15%" style="padding:2px;background:#f2e5d6;border-bottom:1px solid #ba9c63;-moz-border-radius-topright: 5px; -webkit-border-top-right-radius: 5px;"|'''Other links''' | ||
|- | |- | ||
|style="border-right:1px solid #ba9c63;text-align:center;"|[[file:{{{image}}}|100x80px|{{{imagetext}}}]] | |style="border-right:1px solid #ba9c63;text-align:center;"|[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]] | ||
|style="border-right:1px solid #ba9c63;padding:1px 4px;"| | |style="border-right:1px solid #ba9c63;padding:1px 4px;"| | ||
{{{toplinks}}} | {{{toplinks}}} |
Revision as of 23:09, 13 January 2010
{{{state}}} | Main pages | Cities | Other links |
[[file:{{{image}}}|100x80px|border|{{{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 header |state = |country = |cities = |toplinks = |csgroup = |wikipedia = |hitchwiki = |wikitravel = |image = |imagetext = }}