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

Difference between revisions of "Template:Quickbar/working"

From Wikitravel
Jump to: navigation, search
(update to include flag and emergency numbers,etc)
(add ToC)
Line 25: Line 25:
{{ #if: {{{timezone|}}} | {{quickbar item|heading=[[Time zones|Time Zone]]|value={{{timezone|}}}}} | {{quickbar empty}} }}
{{ #if: {{{timezone|}}} | {{quickbar item|heading=[[Time zones|Time Zone]]|value={{{timezone|}}}}} | {{quickbar empty}} }}
{{ #if: {{{emergencies|}}} | {{quickbar item|heading=Emergencies|value={{{emergencies|}}}}} | {{quickbar empty}} }}
{{ #if: {{{emergencies|}}} | {{quickbar item|heading=Emergencies|value={{{emergencies|}}}}} | {{quickbar empty}} }}

Revision as of 16:41, 14 October 2013

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 US 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.

Note that the lead and location images MUST NOT be wider than 250px, and the flag image should be 108px; if the width fields are not set, it will default to this. Remember, DO NOT add the [[File: |noframe|250px]] to any of the images, just the image name with the type suffix. The template uses the following format:

| image=image file name
| imagewidth=optionally set the lead image's size; defaults to 250px
| caption=shows a caption when the image is hovered over
| flag=flag.svg
| flagwidth=optional and sparingly used for flags such as [[Nepal|Nepal's]]; defaults to 108px
| location=location.png
| locationwidth=optionally set the size of the map; defaults to 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=Country calling code preceded by +
| tld=internet top level domain
| timezone=time zone(s) in relation to UTC
| emergencies=emergency phone number(s) to dial for ambulance, fire, police, etc