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
(use optional params)
(optional params for images)
Line 2: Line 2:
 
<div style="float: right; margin: 0 0 1em 1em">
 
<div style="float: right; margin: 0 0 1em 1em">
 
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; background-color:  #f3f3ff" width="250"
 
{| cellpadding="2" cellspacing="0" style="border: 1px solid #9866FF; background-color:  #f3f3ff" width="250"
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; background-color: #ddddff" | '''Flag'''
+
{{if|test={{{flag|}}}|then={{quickbar image|heading=Flag|image={{{flag|}}}}}}}
|-
+
{{if|test={{{location|}}}|then={{quickbar image|heading=Location|image={{{location|}}}}}}}
| colspan="2" style="text-align: center; padding: 2px; " | {{{flag|}}}
+
|-
+
| colspan="2" style="text-align: center; border-bottom: 1px solid #C9AFFF; border-top: 1px solid #C9AFFF; background-color: #ddddff" | '''Location'''
+
|-
+
| colspan="2" style="text-align: center; padding: 2px" | {{{location|}}}
+
 
|-
 
|-
 
| 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'''

Revision as of 05:34, 18 April 2006

Variants

Actions

Destination Docents

In other languages