Difference between revisions of "Template:Infobox Country"

From Hitchwiki
Jump to navigation Jump to search
m
 
(34 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 25em; text-align: left; font-size: 90%; float: right; border-left: 1px solid #aaa; border-top: 1px solid #aaa; border-right: 1px solid #aaa; border-bottom: 1px solid #aaa;"
+
{| class="infobox mw-collapsible"
 +
! colspan="2" class="infobox-h1" | <div>[[File:Flag of {{PAGENAME}}.svg|30px|border|Flag of {{PAGENAME}}]] {{PAGENAME}}</div>
 
|-
 
|-
| colspan="2" style="text-align:center; font-size: large;" | [[Image:flag_{{{country|{{PAGENAME}}}}}.png|30px|border|Flag {{{country|{{PAGENAME}} }}}]] {{PAGENAME}}
+
| colspan="2" class="infobox-h2" | '''Information'''
 
|-
 
|-
| colspan="2" align=center style="background:#D8E2EF;" | '''Information'''
+
! [[Language]]:
|-
+
| {{{language|}}}
! Language:
 
| {{{language}}}
 
 
|-  
 
|-  
 
! Capital:
 
! Capital:
| {{{capital}}}
+
| {{{capital|}}}
 
|-
 
|-
 
! Population:
 
! Population:
| {{{pop}}}
+
| {{{pop|}}}
 
|-
 
|-
 
! Currency:
 
! Currency:
| {{{currency}}}
+
| {{{currency|}}}
 +
|-
 +
{{#if: {{{paved|}}} | ! Paved roads:
 +
{{!}} {{{paved}}} }}  
 
|-
 
|-
 
! [[Hitchwiki:Hitchability|Hitchability]]:
 
! [[Hitchwiki:Hitchability|Hitchability]]:
| {{{hitch}}}
+
| {{{hitch|}}}
 +
|-
 +
{{#if: {{{hitchbase|}}}{{{avp|}}}{{{links|}}} | ! More info:
 +
{{!}} {{#if: {{{hitchbase|}}} | [http://hitchbase.com/orte.php?LANG=eng&l_id={{{hitchbase}}} Hitchbase] }} {{#if: {{{avp|}}} | [http://ve.free-travels.ru/articles/item.php?country={{{avp}}} AVP Free Encyclopedia {{ru}}] }} {{{links|}}} }}
 
|-
 
|-
!More Info: 
+
! colspan=2 {{!}} Meet fellow hitchhikers on [https://www.trustroots.org/search?location={{urlencode:{{PAGENAME}}}} Trustroots] {{#if: {{{BW|}}} | or [http://www.bewelcome.org/places/{{PAGENAMEE}}/{{{BW}}} BeWelcome] }}
| {{ #ifeq: {{{hitchbase|null}}} | null | | [http://hitchbase.com/ergebnisse.php?LANG=ger&abfrage%5Bstartort%5D={{{hitchbase}}} Hitchbase] }}
 
| {{ #ifeq: {{{avp|null}}} | null | | [http://ve.free-travels.ru/articles/item.php?country={{{avp}}} AVP Free Encyclopedia (ru)] }}
 
 
|-
 
|-
| colspan="2" style="text-align:center;" | {{{map|}}}
+
| colspan="2" class="infobox-map" | {{{map|}}}
 
|}{{IsIn|{{{in|}}}}}
 
|}{{IsIn|{{{in|}}}}}
 
<noinclude>
 
<noinclude>
Line 30: Line 33:
 
<pre>
 
<pre>
 
{{Infobox Country
 
{{Infobox Country
|country =
 
 
|in =  
 
|in =  
 
|map =
 
|map =
Line 38: Line 40:
 
|currency =  
 
|currency =  
 
|hitch =  
 
|hitch =  
 +
|hitchbase =
 +
|avp =
 +
|links =
 +
|paved =
 +
|BW =
 
}}</pre>
 
}}</pre>
  
 
Note: This template automatically adds the ''breadcrumb navigation'' via parameter “in” ([[Template:IsIn]]).
 
Note: This template automatically adds the ''breadcrumb navigation'' via parameter “in” ([[Template:IsIn]]).
 
Therefore the parameter should be filled in with the appropriate (article) name of the continent or region of the earth for each country.
 
Therefore the parameter should be filled in with the appropriate (article) name of the continent or region of the earth for each country.
 
  
 
[[Category:Templates]]
 
[[Category:Templates]]
  
 
[[de:Vorlage:Infobox Land]]
 
[[de:Vorlage:Infobox Land]]
[[fr:Infobox Pays]]
+
[[fr:Modèle:Infobox Pays]]
 
[[ru:Инфо-врезка Страна]]
 
[[ru:Инфо-врезка Страна]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:05, 31 August 2016

Flag of Infobox Country Infobox Country
Information
Language:
Capital:
Population:
Currency:
Hitchability:
Meet fellow hitchhikers on Trustroots

Usage:

{{Infobox Country
|in = 
|map =
|language = 
|capital = 
|pop = 
|currency = 
|hitch = 
|hitchbase = 
|avp = 
|links =
|paved = 
|BW =
}}

Note: This template automatically adds the breadcrumb navigation via parameter “in” (Template:IsIn). Therefore the parameter should be filled in with the appropriate (article) name of the continent or region of the earth for each country.