Template:Benelux Roads Table View history

m (bug fix)
m (bug fix)
Line 1: Line 1:
<includeonly>{| border="1" align="center" cellpadding="5px" width="100%" style="border-collapse:collapse;"
<includeonly>{| border="1" align="center" cellpadding="5px" width="100%" style="border-collapse:collapse;"
|- {{#if: {{{Type|}}} |<nowiki/>
|- {{#if: {{{Type|}}} | <nowiki/>
! Road type }} {{#if: {{{Icon|}}} |<nowiki/>
! Road type }} {{#if: {{{Icon|}}} | <nowiki/>
! Icon {{#if: {{{Street|}}} |<nowiki/>
! Icon }} {{#if: {{{Street|}}} | <nowiki/>
! [[Benelux_Roads_(General)#nom_de_rue_-_Straatnamen|Street]] }} {{#if: {{{City|}}} |<nowiki/>
! [[Benelux_Roads_(General)#nom_de_rue_-_Straatnamen|Street]] }} {{#if: {{{City|}}} | <nowiki/>
! [[Benelux_Roads_(General)#Plaatsnamen|City]] }} {{#if: {{{Direction|}}} |<nowiki/>
! [[Benelux_Roads_(General)#Plaatsnamen|City]] }} {{#if: {{{Direction|}}} | <nowiki/>
! Direction }} {{#if: {{{Level|}}} |<nowiki/>
! Direction }} {{#if: {{{Level|}}} | <nowiki/>
! Level }} {{#if: {{{Lock|}}} | <nowiki/>
! Level }} {{#if: {{{Lock|}}} | <nowiki/>
! Lock }}
! Lock }}
|- {{#if: {{{Type|}}} |<nowiki/>
|- {{#if: {{{Type|}}} | <nowiki/>
| <center>
{{{Type}}} </center> }} {{#if: {{{Icon|}}} |<nowiki/>
| <center> [[File:{{{Icon}}}]] </center> }} {{#if: {{{Street|}}} |<nowiki/>
|
{{{Street}}} }} {{#if: {{{City|}}} |<nowiki/>
|
{{{City}}} }} {{#if: {{{Direction|}}} |<nowiki/>
{{!}} <center>
{{!}} <center>
{{#ifeq: {{{Direction|}}} | 0 | Unknown |
{{{Type}}} </center> }} {{#if: {{{Icon|}}} | <nowiki/>
{{#ifeq: {{{Direction|}}} | 1 | One way (A&#65515;B) |
{{!}} <center> [[File:{{{Icon}}}]] </center> }} {{#if: {{{Street|}}} | <nowiki/>
{{#ifeq: {{{Direction|}}} | 2 | Two way (&#8644;) |
{{!}}
{{{Direction|}}} }} }} }}
{{{Street}}} }} {{#if: {{{City|}}} | <nowiki/>
{{!}}
{{{City}}} }} {{#if: {{{Direction|}}} | <nowiki/>
{{!}} <center>
{{#ifeq: {{{Direction|}}} | 0 | Unknown | {{#ifeq: {{{Direction|}}} | 1 | One way (A&#65515;B) | {{#ifeq: {{{Direction|}}} | 2 | Two way (&#8644;) | {{{Direction|}}} }} }} }}
</center> }} {{#if: {{{Level|}}} | <nowiki/>
</center> }} {{#if: {{{Level|}}} | <nowiki/>
{{!}} <center>
{{!}} <center>
{{{Level|}}} </center> }} {{#if: {{{Lock|}}} |<nowiki/>
{{{Level|}}} </center> }} {{#if: {{{Lock|}}} |<nowiki/>
| <center>
{{!}} <center>
{{{Lock}}} </center> }}
{{{Lock}}} </center> }}
|}
|}

Revision as of 13:56, 23 September 2013


Example:

{{Benelux_RoadTable|
Type=Road Type|
Icon=Other-roads.png|
Street=Plain text|
City=List:
* Symbols:
* &#x2714; &#x2718;
* <center>html</center>
* ...| 
Direction=2|
Level=3|
Lock=1}}

Gives:

Road type Icon Street City Direction Level Lock
Road Type

Plain text

List:

  • Symbols:
  • ✔ ✘
  • html
  • ...

Two way (⇄)

3
1


Road type Icon Street City Level Lock
Road Type

Plain text

List

3
1


Road type Icon Street City Direction Lock
Road Type

Plain text

List

Two way (⇄)

1


Road type Icon Street City Lock
Road Type

Plain text

List

1