Difference between revisions of "Template:Infobox Country"

From Hitchwiki
Jump to navigation Jump to search
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" 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;"
 
|-
 
|-
| colspan="2" style="text-align:center; font-size: large;" | [[Image:flag_{{{country|{{PAGENAME}}}}}.png|30px|border|Flag of {{{country|{{PAGENAME}}}}}]] {{PAGENAME}}
+
| colspan="2" style="text-align:center; font-size: large;" | [[Image:flag_{{{country|{{PAGENAME}} }}}.png|30px|border|Flag of {{{country|{{PAGENAME}} }}}]] {{PAGENAME}}
 
|-
 
|-
 
| colspan="2" style="text-align:center;" | {{{map|}}}
 
| colspan="2" style="text-align:center;" | {{{map|}}}
Line 37: Line 37:
 
}}</pre>
 
}}</pre>
  
Note: This template automatically
+
Note: This template automatically adds the ''breadcrumb navigation'' via parameter “in” ([[Template:IsIn]]).
* sorts the page on which it is used in the appropriate ''category'' of the continent or region of the earth as well as it 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.
(This way you save two redundant mentions of the continent's/region's name...)
 
  
  

Revision as of 13:11, 4 October 2008

Flag of Infobox Country Infobox Country
Information
Language: {{{language}}}
Capital: {{{capital}}}
Population: {{{pop}}}
Currency: {{{currency}}}
Hitchability: {{{hitch}}}

Usage:

{{Infobox Country
|country = 
|in = 
|map =
|language = 
|capital = 
|pop = 
|currency = 
|hitch = 
}}

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.