Difference between revisions of "Template:City header"

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to: navigation, search
(-[[Category:{{{city}}}]])
 
(3 intermediate revisions by 2 users not shown)
Line 13: Line 13:
 
{{ #if: {{{areas|}}}|{{{areas}}}}}
 
{{ #if: {{{areas|}}}|{{{areas}}}}}
 
|style="padding:1px 4px"|
 
|style="padding:1px 4px"|
{{ #if: {{{bwgroup|}}}|*[[:bw:groups/{{{bwgroup}}}|BW group]]}}
+
{{ #if: {{{bwgroup|}}}|*[[:bw:groups/{{{bwgroup}}}|BeWelcome group]]}}
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]}}
+
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CouchSurfing group]]}}
 
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}}
 
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}}
{{ #if: {{{wikitravel|}}}|*[[:wikivoyage:{{{wikitravel}}}|Wikivoyage]]}}
 
 
{{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}}
 
{{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}}
{{ #if: {{{hitchwiki|}}}|*[[:hitchwiki:{{{hitchwiki}}}|Wikihitchwiki]]}}
+
{{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]}}
|}<includeonly>[[Category:{{{city}}}]] {{IsIn|{{{country}}}}}</includeonly>
+
|}<includeonly> {{IsIn|{{{country}}}}}</includeonly>
 
<noinclude>
 
<noinclude>
 
[[Category:Templates]]
 
[[Category:Templates]]

Latest revision as of 18:26, 9 December 2018

{{{city}}} Main pages Smaller areas Other links



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  =
|wikivoyage =
|image      =
|imagetext  =
}}