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
m fixed border-radius and removed some nastiness |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{|width="100%" cellspacing="0px" style="border:1px solid #ba9c63;border-radius: 5px;" | {|width="100%" cellspacing="0px" style="border:1px solid #ba9c63;border-radius: 5px;" | ||
|- | |- | ||
|width="15%" style="padding:2px;font-size:140%;background:#ede7b7;text-align:center;border-right:1px solid #ba9c63;border-bottom:1px solid #ba9c63; | |width="15%" style="padding:2px;font-size:140%;background:#ede7b7;text-align:center;border-right:1px solid #ba9c63;border-bottom:1px solid #ba9c63;border-radius-topleft: 5px;"|'''{{{country}}}''' | ||
|width="35%" style="padding:2px;background:#ede7b7;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Main pages''' | |width="35%" style="padding:2px;background:#ede7b7;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Main pages''' | ||
|width="35%" style="padding:2px;background:#ede7b7;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Places''' | |width="35%" style="padding:2px;background:#ede7b7;border-bottom:1px solid #ba9c63;border-right:1px solid #ba9c63"|'''Places''' | ||
Revision as of 16:23, 24 December 2012
| {{{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: |*[[: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 =
|bwgroup =
|csgroup =
|places =
|toplinks =
|wikipedia =
|hitchwiki =
|wikitravel =
|image =
|imagetext =
}}