Difference between revisions of "Template:Infobox Country"

From Hitchwiki
Jump to navigation Jump to search
m
 
(13 intermediate revisions by 5 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}}} [http://www.xe.com/ucc/convert.cgi?Amount=1,000.00&From={{{currency}}}&amp;To=EUR EUR] [http://www.xe.com/ucc/convert.cgi?Amount=1,000.00&From={{{currency}}}&amp;To=USD USD]
+
| {{{currency|}}}
 
|-
 
|-
{{ #ifeq: {{{paved|null}}} | null | |
+
{{#if: {{{paved|}}} | ! Paved roads:  
! Paved roads:  
+
{{!}} {{{paved}}} }}  
{{!}} {{{paved}}}  
 
}}  
 
 
|-
 
|-
 
! [[Hitchwiki:Hitchability|Hitchability]]:
 
! [[Hitchwiki:Hitchability|Hitchability]]:
| {{{hitch}}}
+
| {{{hitch|}}}
 
|-
 
|-
!More Info: 
+
! colspan=2 {{!}} Meet fellow hitchhikers on [https://www.trustroots.org/search?location={{urlencode:{{PAGENAME}}}} Trustroots]
| {{ #ifeq: {{{hitchbase|null}}} | null | | [http://hitchbase.com/orte.php?l_id={{{hitchbase}}}&LANG=eng Hitchbase] }}
 
 
|-
 
|-
!
+
| colspan="2" class="infobox-map" | {{{map|}}}
| {{ #ifeq: {{{avp|null}}} | null | | [http://ve.free-travels.ru/articles/item.php?country={{{avp}}} AVP Free Encyclopedia (ru)] ([http://209.85.135.104/translate_c?hl=en&langpair=ru%7Cen&u=http://ve.free-travels.ru/articles/item.php?country={{{avp}}} en]) <small>[[AVP Free Encyclopedia|Info]]</small>
 
}}
 
 
|-
 
|-
| colspan="2" | {{ #ifeq: {{{BW|null}}} | null | | '''Find a host through''' [http://www.bewelcome.org/places/{{{BW}}} Be Welcome] }}
+
! colspan=2 {{!}} Check out hitchhiking spots on [https://hitchmap.com/ Hitchmap]
|-
 
| colspan="2" style="text-align:center;" | {{{map|}}}
 
 
|}{{IsIn|{{{in|}}}}}
 
|}{{IsIn|{{{in|}}}}}
 
<noinclude>
 
<noinclude>
Line 40: Line 32:
 
<pre>
 
<pre>
 
{{Infobox Country
 
{{Infobox Country
|country =
 
 
|in =  
 
|in =  
 
|map =
 
|map =
Line 50: Line 41:
 
|hitchbase =  
 
|hitchbase =  
 
|avp =  
 
|avp =  
 +
|links =
 
|paved =  
 
|paved =  
|BW =  
+
|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]]

Latest revision as of 20:48, 14 December 2024

Flag of Infobox Country Infobox Country
Information
Language:
Capital:
Population:
Currency:
Hitchability:
Meet fellow hitchhikers on Trustroots
Check out hitchhiking spots on Hitchmap

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.