Help Wikitravel grow by contributing to an article! Learn how.
New users, please see Help or go to the Pub to ask questions.

Difference between revisions of "Template:Quickbar"

From Wikitravel
Jump to: navigation, search
(RDF to define a country)
(update description)
Line 25: Line 25:
 
<!-- end quick bar --><noinclude>
 
<!-- end quick bar --><noinclude>
  
This template replaces the HTML quickbars previously used in country templates.  Note that per current consensus, quickbars should ONLY be used for country articles - please discuss on the [[Template talk:Quickbar]] page if you feel that quickbars should be used for cities or other article types.
+
This template places a consistently-formatted summary of standard information at the top of every country article.  Note that per current consensus, quickbars should ONLY be used for articles about sovereign '''countries''' and their separately-administered '''territories''' (generally speaking, places with their own 2-character ISO country code and Internet Top-Level Domain).  It should not be used for U.S. states, Canadian provinces, or any other article type.  Please discuss on the [[Template talk:Quickbar]] page if you feel that quickbars should be used for other article types.
  
To implement use the following format (note that the location, flag, and main images MUST NOT be wider than 250px):
+
It uses the following format (note that the lead and location images MUST NOT be wider than 250px, and the flag image should be 108px to match those we got from the CIA factbook):
  
 
<pre><nowiki>
 
<pre><nowiki>
 
{{quickbar
 
{{quickbar
 
| image=[[Image:image|noframe|250px]]
 
| image=[[Image:image|noframe|250px]]
| flag=[[Image:flag]]
+
| flag=[[Image:flag|noframe|108px]]
 
| location=[[Image:location|noframe|250px]]
 
| location=[[Image:location|noframe|250px]]
 
| capital=[[Capital]]
 
| capital=[[Capital]]
| government=Type of government
+
| government=type of government
| currency=Currency used
+
| currency=currency used
| area=Country area
+
| area=land area
| population=Population
+
| population=recent population estimate
 
| language=[[Language1]], [[Language2]], Language3, ...
 
| language=[[Language1]], [[Language2]], Language3, ...
| religion=Religion(s)
+
| religion=common religion(s)
| electricity=Electrical voltage and current
+
| electricity=electrical voltage and current (plug type)
| callingcode=Calling code
+
| callingcode=calling code
| tld=Internet top level domain
+
| tld=internet top level domain
| timezone=Time zone(s) in relation to UTC
+
| timezone=time zone(s) in relation to UTC
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
</noinclude>
 
</noinclude>

Revision as of 22:30, 19 June 2007


This template places a consistently-formatted summary of standard information at the top of every country article. Note that per current consensus, quickbars should ONLY be used for articles about sovereign countries and their separately-administered territories (generally speaking, places with their own 2-character ISO country code and Internet Top-Level Domain). It should not be used for U.S. states, Canadian provinces, or any other article type. Please discuss on the Template talk:Quickbar page if you feel that quickbars should be used for other article types.

It uses the following format (note that the lead and location images MUST NOT be wider than 250px, and the flag image should be 108px to match those we got from the CIA factbook):

{{quickbar
| image=[[Image:image|noframe|250px]]
| flag=[[Image:flag|noframe|108px]]
| location=[[Image:location|noframe|250px]]
| capital=[[Capital]]
| government=type of government
| currency=currency used
| area=land area
| population=recent population estimate
| language=[[Language1]], [[Language2]], Language3, ...
| religion=common religion(s)
| electricity=electrical voltage and current (plug type)
| callingcode=calling code
| tld=internet top level domain
| timezone=time zone(s) in relation to UTC
}}


Variants

Actions

Destination Docents

In other languages