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 1: Line 1:
{|width="100%" cellspacing="0px" style="margin-bottom:8px;border:1px solid #aaa;background:#effaef;"
{|width="100%" cellspacing="0px" style="margin-bottom:8px;border:1px solid #aaa;background:#ede7b7;"
|-
|-
|width="15%" style="font-size:140%;text-align:center;background:#ded;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"|'''{{{country}}}'''
|width="15%" style="font-size:140%;text-align:center;border-right:1px solid #ccc;border-bottom:1px solid #ccc;"|'''{{{country}}}'''
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ddd;border-right:1px solid #ddd"|'''Main pages'''
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ddd;border-right:1px solid #ddd"|'''Main pages'''
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ddd;border-right:1px solid #ddd"|'''Places'''
|width="35%" style="padding:1px 4px;border-bottom:1px solid #ddd;border-right:1px solid #ddd"|'''Places'''

Revision as of 17:55, 26 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  =
}}