Template:State header: Difference between revisions

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
(Keep the couchwiki layout - Undo revision 2834 by Trave (Talk))
(added bwgroup)
Line 12: Line 12:
{{{cities}}}
{{{cities}}}
|style="padding:1px 4px"|
|style="padding:1px 4px"|
{{ #if: {{{bwgroup|}}}|*[[:bw:groups/{{{bwgroup}}}|BW group]]}}
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]}}
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]}}
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}}
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}}
Line 28: Line 29:
|cities    =
|cities    =
|toplinks  =
|toplinks  =
|bwgroup    =
|csgroup    =
|csgroup    =
|wikipedia  =
|wikipedia  =

Revision as of 16:47, 4 September 2011

{{{state}}} Main pages Cities Other links
[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]]

{{{toplinks}}}

{{{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  =
}}