YOU CAN EDIT THIS PAGE! Just click any blue "Edit" link and start writing!

Difference between revisions of "Template:Quickbar"

From Wikitravel
Jump to: navigation, search
m (Reverted edits by (Talk) to last version by Wrh2)
m (typo(s))
(9 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<!-- begin quick bar -->
<!-- begin quick bar -->
<div style="float: right; margin: 0 0 1em 1em">
<div id="quickbar" style="float: right; margin: 0 0 1em 1em">
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; background-color: #f3f3ff" width="250"
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; font-size:85%; background-color: #f3f3ff" width="250"
{{ #if: {{{image|}}} | {{quickbar topimage|image={{{image|}}}}} }}
{{ #if: {{{image|}}} | {{quickbar topimage|image={{{image|}}}}} }}
{{ #if: {{{location|}}} | {{quickbar image|heading=Location|image={{{location|}}}}} }}
{{ #if: {{{location|}}} | {{quickbar image|heading=Location|image={{{location|}}}}} }}
Line 48: Line 48:

Revision as of 18:48, 18 May 2011

Quick Facts

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):

| 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