Template:Quickbar

From Wikibok
Revision as of 16:12, 26 March 2017 by Yffo (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Quick Facts

<rdf>

<http://wikitravel.org/en/Quickbar> dcterms:spatial <urn:x-wikitravel:en:Quickbar> . <urn:x-wikitravel:en:Quickbar> a wts:Country . </rdf>

This template places a consistently-formatted summary of standard information at the top of every country article. Other destinations may also use a quick bar providing relevant information is available. 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:

{{quickbar
| 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
}}