Difference between revisions of "Template:Infobox motorway services"
Jump to navigation
Jump to search
imported>Jonesey95 (Convert coords to new parameters. See Wikipedia:Coordinates in infoboxes.; Adding unknown parameter tracking through Category:Pages using infobox motorway services with unknown parameters using Module:check for unknown parameters) |
imported>WOSlinker (lat / long no longer used as per Wikipedia:Coordinates in infoboxes) |
||
| Line 12: | Line 12: | ||
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}} | ||
|caption= {{{image_caption|}}} | |caption= {{{image_caption|}}} | ||
| − | |image2= {{#if:{{{location_map|}}}| {{Location map | {{{location_map}}} | relief = {{{relief|}}} | coordinates = {{{coordinates | + | |image2= {{#if:{{{location_map|}}}| {{Location map | {{{location_map}}} | relief = {{{relief|}}} | coordinates = {{{coordinates|}}} | width = 290 }} }} |
|header1= {{#if:{{{county|}}}{{{road|}}}{{{lat|}}}{{{coordinates|}}}{{{facilities|}}}{{{operator|}}}{{{previousoperator|}}}{{{previousnames|}}}{{{dateopened|}}}{{{fuelbrand|}}}{{{website|}}} | Information}} | |header1= {{#if:{{{county|}}}{{{road|}}}{{{lat|}}}{{{coordinates|}}}{{{facilities|}}}{{{operator|}}}{{{previousoperator|}}}{{{previousnames|}}}{{{dateopened|}}}{{{fuelbrand|}}}{{{website|}}} | Information}} | ||
| Line 20: | Line 20: | ||
|data3= {{{road|}}} | |data3= {{{road|}}} | ||
|label4=[[Geographic coordinate system|Coordinates]]: | |label4=[[Geographic coordinate system|Coordinates]]: | ||
| − | |data4={{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark | + | |data4={{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}} }} |
|label5= Facilities: | |label5= Facilities: | ||
|data5= {{{facilities|}}} | |data5= {{{facilities|}}} | ||
| Line 97: | Line 97: | ||
|data56= {{#if:{{{West_os_grid_reference|}}} | {{gbmapscaled|{{{West_os_grid_reference}}}|25|{{{West_os_grid_reference}}} }} }} | |data56= {{#if:{{{West_os_grid_reference|}}} | {{gbmapscaled|{{{West_os_grid_reference}}}|25|{{{West_os_grid_reference}}} }} }} | ||
|class56= "plainlinks nourlexpansion" | |class56= "plainlinks nourlexpansion" | ||
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox motorway services with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox motorway services]] with unknown parameter "_VALUE_"|ignoreblank=y | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox motorway services with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox motorway services]] with unknown parameter "_VALUE_"|ignoreblank=y| coordinates | county | dateopened | East_dateopened | East_facilities | East_fuelbrand | East_operator | East_os_grid_reference | East_website | facilities | fuelbrand | image | image_alt | image_caption | image_size | location_map | logo | logo_alt | logo_alt2 | logo_size | logo_size2 | logo2 | name | North_dateopened | North_facilities | North_fuelbrand | North_operator | North_os_grid_reference | North_website | operator | previousnames | previousoperator | relief | road | South_dateopened | South_facilities | South_fuelbrand | South_operator | South_os_grid_reference | South_website | website | West_dateopened | West_facilities | West_fuelbrand | West_operator | West_os_grid_reference | West_website }}<noinclude>{{documentation}}<!-- please place category and language links on the /doc sub-page, not here --></noinclude> |
Revision as of 07:31, 3 June 2017
| Template:PAGENAMEBASE |
|---|
[[Category:Infobox templates|Template:Remove first word]]
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox motorway services
| name =
| logo =
| logo_size =
| logo2 =
| logo_size2 =
| image =
| image_size =
| image_caption =
| county =
| road =
| coordinates = {{coord}}
| facilities =
| operator =
| previousoperator =
| previousnames =
| dateopened =
| fuelbrand =
| website =
| location_map =
| North_facilities =
| North_operator =
| North_dateopened =
| North_fuelbrand =
| North_website =
| North_os_grid_reference =
| South_facilities =
| South_operator =
| South_dateopened =
| South_fuelbrand =
| South_website =
| South_os_grid_reference =
| East_facilities =
| East_operator =
| East_dateopened =
| East_fuelbrand =
| East_website =
| East_os_grid_reference =
| West_facilities =
| West_operator =
| West_dateopened =
| West_fuelbrand =
| West_website =
| West_os_grid_reference =
}}
Microformats
Tracking category
| The above documentation is transcluded from Template:Infobox motorway services/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |