Content added Content deleted
(Incomplete template) |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly |
<includeonly> |
||
<infobox layout="stacked"> |
|||
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| |
|||
<title source="name"><default>{{PAGENAME}}</default></title> |
|||
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} |
|||
<image source="image" /> |
|||
<table> |
|||
<data source="aka"><label>Also known as:</label></data> |
|||
<div class="infobox-tl">Location</div> |
|||
<group> |
|||
{{#if:{{{number|}}}|<tr> |
|||
<header> History </header> |
|||
<th>Number/Name:</th> |
|||
<data source="open"><label>Opened:</label></data> |
|||
<td>{{{number}}}</td> |
|||
<data source="closed"><label>Closed:</label></data> |
|||
</tr>}} |
|||
<data source="purpose"><label>Purpose:</label></data> |
|||
{{#if:{{{street|}}}|<tr> |
|||
<data source="link"><label>Related to:</label></data> |
|||
<th>Street:</th> |
|||
</group> |
|||
<td>{{{street}}}</td> |
|||
< |
<group> |
||
<header> Location </header> |
|||
{{#if:{{{postcode|}}}|<tr> |
|||
<data source="street"><label>Street:</label></data> |
|||
<th>Postcode:</th> |
|||
<data source="postcode"><label>Postcode:</label></data> |
|||
<td>{{{postcode}}}</td> |
|||
<data source="nearby"><label>Nearby:</label></data> |
|||
</tr>}} |
|||
</group> |
|||
{{#if:{{{town|}}}|<tr> |
|||
</infobox> |
|||
<th>Town:</th> |
|||
⚫ | |||
<td>{{{town}}}</td> |
|||
Use this code: |
|||
</tr>}} |
|||
<pre> |
|||
{{#if:{{{city|}}}|<tr> |
|||
⚫ | |||
<th>City:</th> |
|||
<td>{{{city}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{region|}}}|<tr> |
|||
<th>Region:</th> |
|||
<td>{{{region}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{country|}}}|<tr> |
|||
<th>Country:</th> |
|||
<td>{{{country}}}</td> |
|||
</tr>}} |
|||
{{#if:{{{state|}}}|<tr> |
|||
<th>State:</th> |
|||
<td>{{{state}}}</td> |
|||
</tr>}} |
|||
</table> |
|||
</div> |
|||
⚫ | |||
⚫ | |||
This is a general infobox. It should not be used if another infobox is available. |
|||
It looks as follows: |
|||
⚫ | |||
|title = Rothwell |
|title = Rothwell |
||
|image = Rothwell Logo transparent.png |
|image = Rothwell Logo transparent.png |
||
|number = |
|number = a |
||
| |
|aka = b |
||
| |
|open = c |
||
| |
|closed = d |
||
| |
|purpose = e |
||
|link = f |
|||
|region = West Yorkshire |
|||
| |
|street = |
||
|postcode = g |
|||
|state = United Kingdom |
|||
|nearby = h |
|||
}} |
}} |
||
</pre> to produce this: |
|||
</noinclude> |
|||
{{Infobox place |
|||
|title = Rothwell |
|||
|image = Rothwell Logo transparent.png |
|||
|number = a |
|||
|aka = b |
|||
|open = c |
|||
|closed = d |
|||
|purpose = e |
|||
|link = f |
|||
|street = n |
|||
|postcode = g |
|||
|nearby = h |
|||
⚫ |
Revision as of 13:06, 26 March 2020
Use this code:
{{Infobox place |title = Rothwell |image = Rothwell Logo transparent.png |number = a |aka = b |open = c |closed = d |purpose = e |link = f |street = |postcode = g |nearby = h }}
to produce this: