Sjabloon:Quickbar: verschil tussen versies

Uit Wikivoyage
Verwijderde inhoud Toegevoegde inhoud
(WT-nl) 3wisemen (overleg | bijdragen)
k (Import from wikitravel.org/nl)
(WT-nl) 3wisemen (overleg | bijdragen)
k (Import from wikitravel.org/nl)
Regel 17: Regel 17:
{{if|test={{{callingcode|}}}|then={{quickbar item|heading=[[List of country calling codes|Oproep Code]]|value={{{callingcode|}}}}}|else={{quickbar empty}}}}
{{if|test={{{callingcode|}}}|then={{quickbar item|heading=[[List of country calling codes|Oproep Code]]|value={{{callingcode|}}}}}|else={{quickbar empty}}}}
{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}|else={{quickbar empty}}}}
{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}|else={{quickbar empty}}}}
{{if|test={{{timezone|}}}|then={{quickbar item|heading=[[Time zones|Tijdzone]]|value={{{timezone|}}}}}|else={{quickbar empty}}}}
{{if|test={{{timezone|}}}|then={{quickbar item|heading=[[Tijdzone|Tijdzone]]|value={{{timezone|}}}}}|else={{quickbar empty}}}}
|}
|}
</div>
</div>

Versie van 18 apr 2007 10:05

Beknopt


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