Jump to content

Template:PlazaBox: Difference between revisions

From SeptemWiki
No edit summary
No edit summary
Line 1: Line 1:
<div style="float:right; padding-left: 12px;">
<includeonly><div style="float:right; padding-left: 12px;">
 
{|class="wikitable"
{|class="wikitable"
|-
|-
|colspan="2" align="center"|'''{{{name}}} Service Plaza'''
|colspan="2" align="center"|'''{{{name}}} Service Plaza'''
|-
{{#if:{{{direction|}}}|{{!}}-
! Direction
!County
| {{{direction}}}
{{!}}{{{direction}}}}}
|-
{{#if:{{{mile|}}}|{{!}}-
! Mile
!Mile
| {{{mile}}}
{{!}}{{{mile}}}}}
|-
{{#if:{{{opened|}}}|{{!}}-
!Opened
!Opened
| {{{opened}}}
{{!}}{{{opened}}}}}
|-
{{#if:{{{closed|}}}|{{!}}-
!Closed
!Closed
| {{{closed}}}
{{!}}{{{closed}}}}}
|}
|}
</div>
</div></includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 18:46, 18 March 2016

Documentation for Template:PlazaBox[view] [edit] [history]

This template adds an infobox about a service plaza, Turnpike or otherwise. To use it on your page, put this at the top of the article or appropriate section:

{{PlazaBox
|name=Churchill
|direction=Eastbound
|mile=111.2
|county=Somerset
|state=Kalmont
|province=Kalmont is a state, not a province!
|opened=[[18 September]] 1973
|closed=[[29 July]] 2013
}}
Churchill Service Plaza
County Eastbound
Mile 111.2
Opened 18 September 1973
Closed 29 July 2013

And the result would look as you see here.

Note that the name parameter automatically has "Service Plaza" appended to it in the infobox's title bar.

All parameters except name are optional.

Pages that use this Template
Templates that use this Template