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
(reference to new header template)
Line 1: Line 1:
'''THIS TEMPLATE IS OUTDATED!!! --- Please use [http://couchwiki.org/en/Template:Country_header Template:Country_header] instead'''
{|width="100%" cellspacing="0px" style="border:1px solid #ba9c63;border-radius: 5px;"
{|width="100%" cellspacing="0px" style="border:1px solid #ba9c63;border-radius: 5px;"
|-
|-
Line 21: Line 23:
<noinclude>
<noinclude>
[[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 TEMPLATE IS OUTDATED!!! --- Please use [http://couchwiki.org/en/Template:Country_header Template:Country_header] instead'''
===Usage===
use the following form in your header templates:
<pre>
{{Country header
|country    =
|region    =
|bwgroup    =
|csgroup    =
|places    =
|toplinks  =
|wikipedia  =
|hitchwiki  =
|wikivoyage =
|image      =
|imagetext  =
}}
</pre>
</noinclude>
</noinclude>

Revision as of 22:57, 5 July 2013

THIS TEMPLATE IS OUTDATED!!! --- Please use Template:Country_header instead

{{{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 TEMPLATE IS OUTDATED!!! --- Please use Template:Country_header instead