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

Difference between revisions of "Template:Quickbar"

From Wikitravel
Jump to: navigation, search
(initial version, much of the info from nps.gov)
 
(use optional params)
Line 11: Line 11:
 
|-
 
|-
 
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; background-color: #ddddff" | '''Quick Facts'''
 
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; background-color: #ddddff" | '''Quick Facts'''
|-
+
{{if|test={{{capital|}}}|then={{quickbar item|heading=Capital|value={{{capital|}}}}}}}
| valign="top" style="padding-left: 2px" | '''Capital'''
+
{{if|test={{{government|}}}|then={{quickbar item|heading=Government|value={{{government|}}}}}}}
| {{{capital|}}}
+
{{if|test={{{currency|}}}|then={{quickbar item|heading=Currency|value={{{currency|}}}}}}}
|-
+
{{if|test={{{area|}}}|then={{quickbar item|heading=Area|value={{{area|}}}}}}}
| valign="top" style="padding-left: 2px" | '''Government'''
+
{{if|test={{{population|}}}|then={{quickbar item|heading=Population|value={{{population|}}}}}}}
| {{{government|}}}
+
{{if|test={{{language|}}}|then={{quickbar item|heading=Language|value={{{language|}}}}}}}
|-
+
{{if|test={{{religion|}}}|then={{quickbar item|heading=Religion|value={{{religion|}}}}}}}
| valign="top" style="padding-left: 2px" | '''Currency'''
+
{{if|test={{{callingcode|}}}|then={{quickbar item|heading=Calling Code|value={{{callingcode|}}}}}}}
| {{{currency|}}}
+
{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}}}
|-
+
{{if|test={{{timezone|}}}|then={{quickbar item|heading=Time Zone|value={{{timezone|}}}}}}}
| valign="top" style="padding-left: 2px" | '''Area'''
 
| {{{area|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Population'''
 
| {{{population|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Language'''
 
| {{{language|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Religion'''
 
| {{{religion|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Calling Code'''
 
| {{{callingcode|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Internet TLD'''
 
| {{{tld|}}}
 
|-
 
| valign="top" style="padding-left: 2px" | '''Time Zone'''
 
| {{{timezone|}}}
 
 
|}
 
|}
 
</div>
 
</div>
 
<!-- end quick bar -->
 
<!-- end quick bar -->

Revision as of 05:29, 18 April 2006