Template:City header: Difference between revisions
[[Trustroots Wiki]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to navigationJump to search
There might be people who don't know what BW and CS stand for. so use the long name. |
-[[Category:{{{city}}}]] |
||
| Line 18: | Line 18: | ||
{{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} | {{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} | ||
{{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]}} | {{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]}} | ||
|}<includeonly> | |}<includeonly> {{IsIn|{{{country}}}}}</includeonly> | ||
<noinclude> | <noinclude> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
Latest revision as of 17:26, 9 December 2018
| {{{city}}} | Main pages | Smaller areas | Other links |
|
{{ #if: |[[file:{{{image}}}|100x80px|{{{imagetext}}}]]}} |
{{ #if: |{{{toplinks}}}}} |
{{ #if: |{{{areas}}}}} |
{{ #if: |*[[:bw:groups/{{{bwgroup}}}|BeWelcome group]]}} {{ #if: |*[[:csgroup:{{{csgroup}}}|CouchSurfing group]]}} {{ #if: |*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} {{ #if: |*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} {{ #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
[edit]use the following form in your header templates:
{{City header
|city =
|country =
|areas =
|toplinks =
|bwgroup =
|csgroup =
|wikipedia =
|hitchwiki =
|wikivoyage =
|image =
|imagetext =
}}