Template:Wy/th/Quickbar

From Wikimedia Incubator
ข้อมูลสรุป

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.

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.png
| 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=calling code
| 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
}}