Template:Country header: Difference between revisions
[[Trustroots Wiki]] is an independent wiki with information for people who are actively exchanging hospitality.
Jump to navigationJump to search
removing {{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}} - this is now added automatically by User:Robyt |
No edit summary |
||
| Line 16: | Line 16: | ||
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]}} | {{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]}} | ||
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} | {{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} | ||
{{ #if: {{{wikitravel|}}}|*[[: | {{ #if: {{{wikitravel|}}}|*[[:wikivoyage:{{{wikitravel}}}|Wikivoyage]]}} | ||
{{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} | {{ #if: {{{wikivoyage|}}}|*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} | ||
|}<includeonly>[[Category:{{{country}}}]] </includeonly> | |}<includeonly>[[Category:{{{country}}}]] </includeonly> | ||
Revision as of 21:31, 5 July 2013
| {{{country}}} | Main pages | Places | Other links |
|
{{ #if: |[[file:{{{image}}}|100x80px|border|{{{imagetext}}}]]}} |
{{ #if: |{{{toplinks}}}}} |
{{ #if: |{{{places}}}}} |
{{ #if: |*[[:bw:groups/{{{bwgroup}}}|BW group]]}} {{ #if: |*[[:csgroup:{{{csgroup}}}|CS group]]}} {{ #if: |*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]}} {{ #if: |*[[:wikivoyage:{{{wikitravel}}}|Wikivoyage]]}} {{ #if: |*[[:wikivoyage:{{{wikivoyage}}}|Wikivoyage]]}} |
This is a meta-template used by country header templates like template:Italy for standard formatting. You can use it to easily make a new header template for a country that does not already have one.
Usage
use the following form in your header templates:
{{Country header
|country =
|region =
|bwgroup =
|csgroup =
|places =
|toplinks =
|wikipedia =
|hitchwiki =
|wikivoyage =
|image =
|imagetext =
}}