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:Routebox"

From Wikitravel
Jump to: navigation, search
(+instructions)
(attempting to make additional rows beyond the first optional)
Line 1: Line 1:
<noinclude>
+
<noinclude>See [[Wikitravel:Routebox navigation]] for usage of this template.</noinclude>
See [[Wikitravel:Routebox navigation]] for usage of this template.
+
{| style="font-size:smaller;" border="0" RULES="NONE" align="center"
</noinclude>
+
|-
<includeonly><table border="1" RULES=NONE FRAME=BOX align=center ><tr>
+
|'''Routes through {{BASICPAGENAME}}'''
{{ #if: {{{image1|}}} |
+
|-
<td align=right><font size="1">{{{majorl1|}}} - {{{minorl1|}}} - </font></td>
+
|}
<td align=center><font size="1">'''{{{directionl1|}}}'''</font></td>
+
 
<td>[[Image:{{{image1|}}}|noframe|16px]]</td>
+
{| border="1" RULES="NONE" FRAME="BOX" cellspacing="0" align="center"
<td align=center><font size="1">'''{{{directionr1|}}}'''</font></td>
+
|-
<td align=left><font size="1"> - {{{minorr1|}}} - {{{majorr1|}}}</font></td>
+
| style="font-size:smaller;" align="right" | '''{{{majorl1}}}''' {{#if:{{{minorl1|}}}|&larr; {{{minorl1}}}}} &larr;
</tr> }}
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl1}}}'''&nbsp;[[Image:{{{image1}}}|noframe|{{{imagesize1|22}}}px]]&nbsp;'''{{{directionr1}}}'''&nbsp;
{{ #if: {{{image2|}}} |  
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr1|}}}|{{{minorr1}}} &rarr;}} '''{{{majorr1}}}'''
<tr>
+
|-
<td align=right><font size="1">{{{majorl2|}}} - {{{minorl2|}}} - </font></td>
+
{{#if:{{{image2|}}}||
<td align=center><font size="1">'''{{{directionl2|}}}'''</font></td>
+
| style="font-size:smaller;" align="right" | '''{{{majorl2}}}''' {{#if:{{{minorl2|}}}|&larr; {{{minorl2}}}}} &larr;
<td>[[Image:{{{image2|}}}|noframe|16px]]</td>
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl2}}}'''&nbsp;[[Image:{{{image2}}}|noframe|{{{imagesize2|22}}}px]]&nbsp;'''{{{directionr2}}}'''&nbsp;
<td align=center><font size="1">'''{{{directionr2|}}}'''</font></td>
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr2|}}}|{{{minorr2}}} &rarr;}} '''{{{majorr2}}}'''
<td align=left><font size="1"> - {{{minorr2|}}} - {{{majorr2|}}}</font></td>
+
|-
</tr> }}
+
}}{{#if:{{{image3|}}}||
{{ #if: {{{image3|}}} |  
+
| style="font-size:smaller;" align="right" | '''{{{majorl3}}}''' {{#if:{{{minorl3|}}}|&larr; {{{minorl3}}}}} &larr;
<tr>
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl3}}}'''&nbsp;[[Image:{{{image3}}}|noframe|{{{imagesize3|22}}}px]]&nbsp;'''{{{directionr3}}}'''&nbsp;
<td align=right><font size="1">{{{majorl3|}}} - {{{minorl3|}}} - </font></td>
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr3|}}}|{{{minorr3}}} &rarr;}} '''{{{majorr3}}}'''
<td align=center><font size="1">'''{{{directionl3|}}}'''</font></td>
+
|-
<td>[[Image:{{{image3|}}}|noframe|16px]]</td>
+
}}{{#if:{{{image4|}}}||
<td align=center><font size="1">'''{{{directionr3|}}}'''</font></td>
+
| style="font-size:smaller;" align="right" | '''{{{majorl4}}}''' {{#if:{{{minorl4|}}}|&larr; {{{minorl4}}}}} &larr;
<td align=left><font size="1"> - {{{minorr3|}}} - {{{majorr3|}}}</font></td>
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl4}}}'''&nbsp;[[Image:{{{image4}}}|noframe|{{{imagesize4|22}}}px]]&nbsp;'''{{{directionr4}}}'''&nbsp;
</tr> }}
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr4|}}}|{{{minorr4}}} &rarr;}} '''{{{majorr4}}}'''
{{ #if: {{{image4|}}} | <table border="1" RULES=NONE FRAME=BOX align=center ><tr>
+
|- 
<td align=right><font size="1">{{{majorl4|}}} - {{{minorl4|}}} - </font></td>
+
}}{{#if:{{{image5|}}}||
<td align=center><font size="1">'''{{{directionl4|}}}'''</font></td>
+
| style="font-size:smaller;" align="right" | '''{{{majorl5}}}''' {{#if:{{{minorl5|}}}|&larr; {{{minorl5}}}}} &larr;
<td>[[Image:{{{image4|}}}|noframe|16px]]</td>
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl5}}}'''&nbsp;[[Image:{{{image5}}}|noframe|{{{imagesize5|22}}}px]]&nbsp;'''{{{directionr5}}}'''&nbsp;
<td align=center><font size="1">'''{{{directionr4|}}}'''</font></td>
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr5|}}}|{{{minorr5}}} &rarr;}} '''{{{majorr5}}}'''
<td align=left><font size="1"> - {{{minorr4|}}} - {{{majorr4|}}}</font></td>
+
|- 
</tr> }}
+
}}{{#if:{{{image6|}}}||
{{ #if: {{{image5|}}} | <table border="1" RULES=NONE FRAME=BOX align=center ><tr>
+
| style="font-size:smaller;" align="right" | '''{{{majorl6}}}''' {{#if:{{{minorl6|}}}|&larr; {{{minorl6}}}}} &larr;
<td align=right><font size="1">{{{majorl5|}}} - {{{minorl5|}}} - </font></td>
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl6}}}'''&nbsp;[[Image:{{{image6}}}|noframe|{{{imagesize6|22}}}px]]&nbsp;'''{{{directionr6}}}'''&nbsp;
<td align=center><font size="1">'''{{{directionl5|}}}'''</font></td>
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr6|}}}|{{{minorr6}}} &rarr;}} '''{{{majorr6}}}'''
<td>[[Image:{{{image5|}}}|noframe|16px]]</td>
+
|- 
<td align=center><font size="1">'''{{{directionr5|}}}'''</font></td>
+
}}{{#if:{{{image7|}}}||
<td align=left><font size="1"> - {{{minorr5|}}} - {{{majorr5|}}}</font></td>
+
| style="font-size:smaller;" align="right" | '''{{{majorl7}}}''' {{#if:{{{minorl7|}}}|&larr; {{{minorl7}}}}} &larr;
</tr> }}
+
| style="background-color:#555555; font-size:smaller; color:white;" align="center" | &nbsp;'''{{{directionl7}}}'''&nbsp;[[Image:{{{image7}}}|noframe|{{{imagesize7|22}}}px]]&nbsp;'''{{{directionr7}}}'''&nbsp;
{{ #if: {{{image6|}}} | <table border="1" RULES=NONE FRAME=BOX align=center ><tr>
+
| style="font-size:smaller;" align="left" | &rarr; {{#if:{{{minorr7|}}}|{{{minorr7}}} &rarr;}} '''{{{majorr7}}}'''
<td align=right><font size="1">{{{majorl6|}}} - {{{minorl6|}}} - </font></td>
+
|-
<td align=center><font size="1">'''{{{directionl6|}}}'''</font></td>
+
}}|}
<td>[[Image:{{{image6|}}}|noframe|16px]]</td>
+
<br>
<td align=center><font size="1">'''{{{directionr6|}}}'''</font></td>
+
<td align=left><font size="1"> - {{{minorr6|}}} - {{{majorr6|}}}</font></td>
+
</tr> }}
+
</table></includeonly>
+

Revision as of 14:47, 11 January 2009

See Wikitravel:Routebox navigation for usage of this template.

Routes through Routebox
{{{majorl1}}}  {{{directionl1}}} [[Image:{{{image1}}}|noframe|22px]] {{{directionr1}}}  {{{majorr1}}}


Variants

Actions

Destination Docents

In other languages