Help Wikitravel grow by contributing to an article! Learn how.

Difference between revisions of "Template:Quickbar"

From Wikitravel
Jump to: navigation, search
m (Reverted edits by Upamanyuwikitravel (Talk); changed back to last version by 74.192.206.14)
(RDF to define a country)
Line 19: Line 19:
 
{{if|test={{{timezone|}}}|then={{quickbar item|heading=[[Time zones|Time Zone]]|value={{{timezone|}}}}}|else={{quickbar empty}}}}
 
{{if|test={{{timezone|}}}|then={{quickbar item|heading=[[Time zones|Time Zone]]|value={{{timezone|}}}}}|else={{quickbar empty}}}}
 
|}
 
|}
</div>
+
</div><rdf>
 +
<http://wikitravel.org/en/{{PAGENAMEE}}> dcterms:spatial <urn:x-wikitravel:en:{{PAGENAMEE}}> .
 +
<urn:x-wikitravel:en:{{PAGENAMEE}}> a wts:Country .
 +
</rdf>
 
<!-- end quick bar --><noinclude>
 
<!-- end quick bar --><noinclude>
  

Revision as of 17:16, 11 June 2007


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.

To implement use the following format (note that the location, flag, and main images MUST NOT be wider than 250px):

{{quickbar
| image=[[Image:image|noframe|250px]]
| flag=[[Image:flag]]
| location=[[Image:location|noframe|250px]]
| capital=[[Capital]]
| government=Type of government
| currency=Currency used
| area=Country area
| population=Population
| language=[[Language1]], [[Language2]], Language3, ...
| religion=Religion(s)
| electricity=Electrical voltage and current
| callingcode=Calling code
| tld=Internet top level domain
| timezone=Time zone(s) in relation to UTC
}}


Variants

Actions

Destination Docents

In other languages