Beautiful banners are coming to every article and you can help!
Check out our guidelines and learn how to create your own!

Difference between revisions of "Template:Quickbar"

From Wikitravel
Jump to: navigation, search
(optional params for images)
m (fix whitespace issues - readability of the template code suffers, but...)
Line 6: Line 6:
 
|-
 
|-
 
| 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|}}}}}}}
+
{{if|test={{{capital|}}}|then={{quickbar item|heading=Capital|value={{{capital|}}}}}}}{{if|test={{{government|}}}|then={{quickbar item|heading=Government|value={{{government|}}}}}}}{{if|test={{{currency|}}}|then={{quickbar item|heading=Currency|value={{{currency|}}}}}}}{{if|test={{{area|}}}|then={{quickbar item|heading=Area|value={{{area|}}}}}}}{{if|test={{{population|}}}|then={{quickbar item|heading=Population|value={{{population|}}}}}}}{{if|test={{{language|}}}|then={{quickbar item|heading=Language|value={{{language|}}}}}}}{{if|test={{{religion|}}}|then={{quickbar item|heading=Religion|value={{{religion|}}}}}}}{{if|test={{{callingcode|}}}|then={{quickbar item|heading=Calling Code|value={{{callingcode|}}}}}}}{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}}}{{if|test={{{timezone|}}}|then={{quickbar item|heading=Time Zone|value={{{timezone|}}}}}}}
{{if|test={{{government|}}}|then={{quickbar item|heading=Government|value={{{government|}}}}}}}
+
{{if|test={{{currency|}}}|then={{quickbar item|heading=Currency|value={{{currency|}}}}}}}
+
{{if|test={{{area|}}}|then={{quickbar item|heading=Area|value={{{area|}}}}}}}
+
{{if|test={{{population|}}}|then={{quickbar item|heading=Population|value={{{population|}}}}}}}
+
{{if|test={{{language|}}}|then={{quickbar item|heading=Language|value={{{language|}}}}}}}
+
{{if|test={{{religion|}}}|then={{quickbar item|heading=Religion|value={{{religion|}}}}}}}
+
{{if|test={{{callingcode|}}}|then={{quickbar item|heading=Calling Code|value={{{callingcode|}}}}}}}
+
{{if|test={{{tld|}}}|then={{quickbar item|heading=Internet TLD|value={{{tld|}}}}}}}
+
{{if|test={{{timezone|}}}|then={{quickbar item|heading=Time Zone|value={{{timezone|}}}}}}}
+
 
|}
 
|}
 
</div>
 
</div>
 
<!-- end quick bar -->
 
<!-- end quick bar -->

Revision as of 18:36, 18 April 2006

Variants

Actions

Destination Docents

In other languages