Template:City header: Difference between revisions
(rollback some vandalism) |
(added bw-group) |
||
Line 12: | Line 12: | ||
{{{areas}}} | {{{areas}}} | ||
|style="padding:1px 4px"| | |style="padding:1px 4px"| | ||
{{ #if: {{{bwgroup|}}}|*[http://www.bewelcome.org/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: | ||
|areas = | |areas = | ||
|toplinks = | |toplinks = | ||
|bwgroup = | |||
|csgroup = | |csgroup = | ||
|wikipedia = | |wikipedia = |
Revision as of 18:56, 29 August 2011
{{{city}}} | Main pages | Smaller areas | Other links |
[[file:{{{image}}}|100x80px|{{{imagetext}}}]] |
{{{toplinks}}} |
{{{areas}}} |
{{ #if: |*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 city header templates like template:Hamburg for standard formatting. You can use it to easily make a new header template for a city that does not already have one.
Usage
use the following form in your header templates:
{{City header |city = |country = |areas = |toplinks = |bwgroup = |csgroup = |wikipedia = |hitchwiki = |wikitravel = |image = |imagetext = }}