Difference between revisions of "Template:Infobox Country"

From Hitchwiki
Jump to navigation Jump to search
m
 
(43 intermediate revisions by 10 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}}}.png|30px|border|Flag of {{{country}}}]] {{PAGENAME}}
+
| colspan="2" class="infobox-h2" | '''Information'''
 
|-
 
|-
| colspan="2" style="text-align:center;" | {{{map|}}}
+
! [[Language]]:
|-
+
| {{{language|}}}
| colspan="2" align=center style="background:#D8E2EF;" | '''Information'''
 
|-
 
 
 
! 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|}}} }}
 +
|-
 +
! 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] }}
 +
|-
 +
| colspan="2" class="infobox-map" | {{{map|}}}
 +
|}{{IsIn|{{{in|}}}}}
 
<noinclude>
 
<noinclude>
 
== Usage: ==
 
== Usage: ==
 
<pre>
 
<pre>
{{infobox Country
+
{{Infobox Country
|country =  
+
|in =  
 
|map =
 
|map =
 
|language =  
 
|language =  
Line 34: 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]]).
 +
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]]
  
[[fr:Infobox Pays]]
+
[[de:Vorlage:Infobox Land]]
 +
[[fr:Modèle:Infobox Pays]]
 
[[ru:Инфо-врезка Страна]]
 
[[ru:Инфо-врезка Страна]]
[[de:Vorlage:Infobox_Land]]
 
 
</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.