Template:Country header: Difference between revisions

[[Wiki.trustroots.org]] is an independent wiki with information for people who are actively exchanging hospitality.
No edit summary
No edit summary
Line 12: Line 12:
{{{places}}}
{{{places}}}
|style="padding:1px 4px"|
|style="padding:1px 4px"|
*[[:csgroup:{{{csgroup}}}|CS group]]
{{ #if: {{{csgroup|}}}|*[[:csgroup:{{{csgroup}}}|CS group]]
*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]
{{ #if: {{{wikipedia|}}}|*[[:wikipedia:{{{wikipedia}}}|Wikipedia]]
*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]
{{ #if: {{{wikitravel|}}}|*[[:wikitravel:{{{wikitravel}}}|Wikitravel]]
{{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}}
{{ #if: {{{hitchwiki|}}}|*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}}
|}<includeonly>[[Category:{{{country}}}]] {{IsIn|{{{region}}}}}</includeonly>
|}<includeonly>[[Category:{{{country}}}]] {{IsIn|{{{region}}}}}</includeonly>

Revision as of 19:30, 25 December 2009

{{{country}}} Main pages Places Other links
[[file:{{{image}}}|100x80px|{{{imagetext}}}]]

{{{toplinks}}}

{{{places}}}

{{ #if: |*[[:csgroup:{{{csgroup}}}|CS group]] {{ #if: |*[[:wikipedia:{{{wikipedia}}}|Wikipedia]] {{ #if: |*[[:wikitravel:{{{wikitravel}}}|Wikitravel]] {{ #if: |*[[:hitch:{{{hitchwiki}}}|Hitchwiki]]|}}

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     =
|csgroup    =
|places     =
|toplinks   =
|wikipedia  =
|hitchwiki  =
|wikitravel =
|image      =
|imagetext  =
}}