Difference between revisions of "Template:Infobox motorway services/sandbox"
Jump to navigation
Jump to search
imported>Imzadi1979 m (fix) |
imported>WOSlinker (sync) |
||
| Line 5: | Line 5: | ||
|labelstyle=text-align:right | |labelstyle=text-align:right | ||
| − | |above={{{name| {{ | + | |above={{{name| {{PAGENAMEBASE}} }}} |
|subheader={{#if:{{{logo|}}}| [[File:{{{logo|}}}|{{#if:{{{logo_size|}}}|{{{logo_size}}}|290}}px|alt={{{logo_alt}}}]] }} | |subheader={{#if:{{{logo|}}}| [[File:{{{logo|}}}|{{#if:{{{logo_size|}}}|{{{logo_size}}}|290}}px|alt={{{logo_alt}}}]] }} | ||
|subheader2={{#if:{{{logo2|}}}| [[File:{{{logo2|}}}|{{#if:{{{logo_size2|}}}|{{{logo_size2}}}|290}}px|alt={{{logo_alt2}}}]] }} | |subheader2={{#if:{{{logo2|}}}| [[File:{{{logo2|}}}|{{#if:{{{logo_size2|}}}|{{{logo_size2}}}|290}}px|alt={{{logo_alt2}}}]] }} | ||
| − | |image= {{# | + | |
| + | | 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|}}} | | + | |image2= {{#if:{{{location_map|}}}| {{Location map | {{{location_map}}} | relief = {{{relief|}}} | coordinates = {{{coordinates|}}} | width = 290 }} }} |
| − | |header1= {{#if:{{{county|}}}{{{road|}}}{{{lat|}}}{{{facilities|}}}{{{operator|}}}{{{previousoperator|}}}{{{previousnames|}}}{{{dateopened|}}}{{{fuelbrand|}}}{{{website|}}} | Information}} | + | |header1= {{#if:{{{county|}}}{{{road|}}}{{{lat|}}}{{{coordinates|}}}{{{facilities|}}}{{{operator|}}}{{{previousoperator|}}}{{{previousnames|}}}{{{dateopened|}}}{{{fuelbrand|}}}{{{website|}}} | Information}} |
|label2= County: | |label2= County: | ||
|data2= {{{county|}}} | |data2= {{{county|}}} | ||
| Line 19: | Line 20: | ||
|data3= {{{road|}}} | |data3= {{{road|}}} | ||
|label4=[[Geographic coordinate system|Coordinates]]: | |label4=[[Geographic coordinate system|Coordinates]]: | ||
| − | |data4={{#if:{{{ | + | |data4={{#if:{{{coordinates|}}}|{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:landmark}} }} |
|label5= Facilities: | |label5= Facilities: | ||
|data5= {{{facilities|}}} | |data5= {{{facilities|}}} | ||
| Line 96: | 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" | ||
| − | }}<noinclude>{{documentation}}<!-- please place category and language links on the /doc sub-page, not here --></noinclude> | + | }}{{#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> |
Latest revision as of 22:17, 5 June 2017
| Template:PAGENAMEBASE |
|---|
| This is the template sandbox page for Template:Infobox motorway services (diff). |
| 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. |