(Created page with "{| border="1" align="center" style="border-collapse:collapse;" |- ! width="120px" | Road type: ! width="120px" | Icon ! width="120px" | Street: ! width="120px" | City: ! width...") |
m (Moved Category and Default sort) |
||
(107 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| border="1" align="center" style="border-collapse:collapse;" | <noinclude>__NOINDEX__</noinclude><includeonly>{| border="1" align="center" cellpadding="5px" width="100%" style="border-collapse:collapse;" | ||
|- | |- {{#if: {{{Type|}}} | <nowiki/> | ||
! | ! Road type }} {{#if: {{{Icon|}}} | <nowiki/> | ||
! | ! Icon }} {{#if: {{{Street|}}} | <nowiki/> | ||
! | ! [[Benelux_Roads_(General)#nom_de_rue_-_Straatnamen|Street]] }} {{#if: {{{City|}}} | <nowiki/> | ||
! | ! [[Benelux_Roads_(General)#Road_Segment_City|City]] }} {{#if: {{{Direction|}}} | <nowiki/> | ||
! | ! Direction }} {{#if: {{{Level|}}} | <nowiki/> | ||
| | ! Level }} {{#if: {{{Lock|}}} | <nowiki/> | ||
|{{Type}} | ! [[Benelux_Roads_(General)#Road_Segment_Lock|Lock]] }} | ||
|[[File:{{Icon}}]] | |- {{#if: {{{Type|}}} | <nowiki/> | ||
|{{ | {{!}} <center> | ||
|{{ | {{{Type}}} </center> }} {{#if: {{{Icon|}}} | <nowiki/> | ||
|{{Lock}} | {{!}} <center> [[File:{{{Icon}}}]] </center> }} {{#if: {{{Street|}}} | <nowiki/> | ||
{{!}} | |||
{{{Street}}} }} {{#if: {{{City|}}} | <nowiki/> | |||
{{!}} | |||
{{{City}}} }} {{#if: {{{Direction|}}} | <nowiki/> | |||
{{!}} <center> | |||
{{#ifeq: {{{Direction|}}} | 0 | Unknown | {{#ifeq: {{{Direction|}}} | 1 | One way (A→B) | {{#ifeq: {{{Direction|}}} | 2 | Two way (⇄) | {{{Direction|}}} }} }} }} | |||
</center> }} {{#if: {{{Level|}}} | <nowiki/> | |||
{{!}} <center> | |||
{{{Level|}}} </center> }} {{#if: {{{Lock|}}} |<nowiki/> | |||
{{!}} <center> | |||
{{{Lock}}} </center> }} | |||
|} | |} | ||
</includeonly><noinclude> | |||
{{Benelux Roads Table/doc}} | |||
[[Category:Benelux Templates]] | |||
{{DEFAULTSORT:RoadTable}} | |||
</noinclude> |
Latest revision as of 21:11, 26 October 2013
Road Table template wordt gebruikt om een uniforme tabel aan te maken op alle verschillende road types pagina's. Met de template worden de verschillende parameters mee gegeven. De template zorgt dan voor een opgemaakte tabel.
Voorbeeld:
{{Benelux_RoadTable |Type=Road Type |Icon=Other-roads.png |Street=Plain text |City=List: * Symbols: * ✔ ✘ * <center>html</center> * ... |Direction=2 <!-- 0,1,2 or free text --> |Level=3 <!-- elevation --> |Lock=1}} <!-- maximum lock level -->
Resultaat:
Road type | Icon | Street | City | Direction | Level | Lock |
---|---|---|---|---|---|---|
Plain text |
List:
|
Two way (⇄) |
Alle parameters zijn optioneel. Bij het ontbreken van een parameter zal de kolom ook niet getoond worden.
Road type | Street | City | Level |
---|---|---|---|
Plain text |
List:
|