Difference between revisions of "Template:Infobox airport/datatable"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(if there no length or surface information passed for a particular row, then allow the value passed through the number to expand across all the columns. see Area 51 for an example)
imported>Frietjes
(try using navbox group colour defined by MediaWiki:Common.css for greater contrast per talk page)
Line 1: Line 1:
 
{| style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;"
 
{| style="width:100%; margin:-2px -1px -1px -1px; border-spacing:0;"
|- style="background-color: #ddd"
+
|- style="background-color: #e6e6ff"
 
! rowspan=2 style="width: 15%; border:solid 1px #fafafa; border-width:0 1px 0 0; text-align: center;" | {{{nlabel|Number}}}
 
! rowspan=2 style="width: 15%; border:solid 1px #fafafa; border-width:0 1px 0 0; text-align: center;" | {{{nlabel|Number}}}
 
! colspan=2 style="width: 50%; border:solid 1px #fafafa; border-width:0 1px 1px 1px; text-align: center;" | Length
 
! colspan=2 style="width: 50%; border:solid 1px #fafafa; border-width:0 1px 1px 1px; text-align: center;" | Length
 
! rowspan=2 style="width: 35%; border:solid 1px #fafafa; border-width:0 0 0 1px; text-align: center;" | Surface
 
! rowspan=2 style="width: 35%; border:solid 1px #fafafa; border-width:0 0 0 1px; text-align: center;" | Surface
|- style="background-color: #ddd"
+
|- style="background-color: #e6e6ff"
 
! style="width: 20%; border:solid 1px #fafafa; border-width:1px 1px 0 1px; text-align: center;" | {{#if:{{{metric|}}}|m|ft}}
 
! style="width: 20%; border:solid 1px #fafafa; border-width:1px 1px 0 1px; text-align: center;" | {{#if:{{{metric|}}}|m|ft}}
 
! style="width: 20%; border:solid 1px #fafafa; border-width:1px 1px 0 1px; text-align: center;" | {{#if:{{{metric|}}}|ft|m}}
 
! style="width: 20%; border:solid 1px #fafafa; border-width:1px 1px 0 1px; text-align: center;" | {{#if:{{{metric|}}}|ft|m}}

Revision as of 14:08, 26 February 2017

Number Length Surface
ft m
Template documentation

This subtemplate is used by {{Infobox airport}}, it should not be used directly.