Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox place: Difference between revisions

Template page
Content added Content deleted
(Created page with "<includeonly><div class="infobox"> <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}| <div class="infobox-image">[[File:{{{image}}}|300px]]</div>}} <...")
 
(Incomplete template)
Line 3: Line 3:
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<div class="infobox-image">[[File:{{{image}}}|300px]]</div>}}
<table>
<table>
<div class="infobox-tl">Location</div>
{{#if:{{{number|}}}|<tr>
<th>Number/Name:</th>
<td>{{{number}}}</td>
</tr>}}
</tr>}}
{{#if:{{{4|}}}|<tr>
{{#if:{{{street|}}}|<tr>
<th>4</th>
<th>Street:</th>
<td>{{{4}}}</td>
<td>{{{street}}}</td>
</tr>}}
</tr>}}
{{#if:{{{param5|}}}|<tr>
{{#if:{{{postcode|}}}|<tr>
<th>Parameter 5</th>
<th>Postcode:</th>
<td>{{{param5}}}</td>
<td>{{{postcode}}}</td>
</tr>}}
</tr>}}
{{#if:{{{param3|}}}|<tr>
{{#if:{{{town|}}}|<tr>
<th>Parameter 3</th>
<th>Town:</th>
<td>{{{param3}}}</td>
<td>{{{town}}}</td>
</tr>}}
</tr>}}
{{#if:{{{zyz|}}}|<tr>
{{#if:{{{city|}}}|<tr>
<th>Parameter 5</th>
<th>City:</th>
<td>{{{zyz}}}</td>
<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>}}
</tr>}}
</table>
</table>
Line 28: Line 44:
It looks as follows:
It looks as follows:


{{Infobox
{{Infobox place
|title = a
|title = Rothwell
|image = Rothwell Logo transparent.png
|image = Rothwell Logo transparent.png
|city = b
|number = x
|zyz = c
|street = y
|param3 = d
|postcode = z
|param4 = e
|town = Rothwell
|param5 = f
|city = Leeds
|region = West Yorkshire
|country = England
|state = United Kingdom
}}
}}
</noinclude>
</noinclude>

Revision as of 21:54, 27 January 2020


This is a general infobox. It should not be used if another infobox is available.

It looks as follows:

Rothwell
Location
Number/Name: x
Street: y
Postcode: z
Town: Rothwell
City: Leeds
Region: West Yorkshire
Country: England
State: United Kingdom


Cookies help us deliver our services. By using our services, you agree to our use of cookies.