Template:Country header: Difference between revisions
(→Usage) |
m (Reverted edits by 87.238.90.186 (Talk) to last revision by Globetrotter tt) |
||
Line 20: | Line 20: | ||
[[Category:Templates]] | [[Category:Templates]] | ||
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. | 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: | |||
<pre> | |||
{{Country header | |||
|country = | |||
|region = | |||
|csgroup = | |||
|places = | |||
|toplinks = | |||
|wikipedia = | |||
|hitchwiki = | |||
|wikitravel = | |||
|image = | |||
|imagetext = | |||
}} | |||
</pre> | |||
</noinclude> |
Revision as of 18:48, 30 July 2011
{{{country}}} | Main pages | Places | Other links |
[[file:{{{image}}}|100x80px|border|{{{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 = }}