Template:Infobox/Location: Difference between revisions

Template page
m (Protected "Template:Infobox/Location" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>[[Category:Locations]]<table class="infobox-table floatright" style="padding-top:0">
<includeonly>[[Category:Locations]]<table class="infobox-table floatright" style="padding-top:0">
<tr>
<tr id="infobox-table-img-bg">
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{Image|}}}|[[File:{{{Image}}}|400px]]|[[File:Placeholder.png|400px]]}}</td>
</tr><tr>
<th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th>
<th width="100%" colspan="3" class="infobox-table-name">{{PAGENAME}}</th>
</tr>
</tr>
<tr id="infobox-table-img-bg">
{{#if:{{{Address|}}}{{{MapImg|}}}{{{Aliases|}}}{{{Associations|}}}|{{#if:{{{Address|}}}|<tr>
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">{{#if:{{{ExtImage|}}}|[[File:{{{ExtImage}}}|400px]]|[[File:Placeholder.png|400px]]}}</td>
</tr>
{{#if:{{{Address|}}}{{{MapImg|}}}{{{Aliases|}}}{{{Associations|}}}|<tr>
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Location Information</th>
</tr>{{#if:{{{Address|}}}|<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Address</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Address</td>
<td width="60%" style="padding:3px;">{{{Address}}}</td>
<td width="60%" style="padding:3px;">{{{Address}}}</td>
</tr>}}
</tr>}}{{#if:{{{Aliases|}}}<tr>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Aliases</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Aliases</td>
<td width="60%" style="padding:3px;">{{{Aliases}}}</td>
<td width="60%" style="padding:3px;">{{{Aliases}}}</td>
Line 17: Line 14:
<td width="40%" valign="top" colspan="2" style="padding:3px;">Associations</td>
<td width="40%" valign="top" colspan="2" style="padding:3px;">Associations</td>
<td width="60%" style="padding:3px;">{{{Associations}}}</td>
<td width="60%" style="padding:3px;">{{{Associations}}}</td>
</tr>}}
</tr>}}}}
{{#if:{{{MapImg|}}}|
{{#if:{{{MapImg|}}}|
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Map</th>
<th width="100%" colspan="3" class="infobox-table-h1" style="text-align: center;">Location Map</th>
<tr id="infobox-table-img-bg"  style="padding-top: 10px;">
<tr id="infobox-table-img-bg"  style="padding-top: 10px;">
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{MapImg}}}|400px]]</td>
<td width="100%" colspan="3" class="infobox-table-img" style="text-align: center; padding:0 !important;">[[File:{{{MapImg}}}|400px]]</td>

Latest revision as of 20:53, 22 February 2023

Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Infobox/Location/doc. Changes can be proposed in the talk page.
Template:Infobox/Location invokes Template:Infobox/styles.css using TemplateStyles.

You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor.

Usage

{{Infobox/Location
|Image = 
|Address = 
|MapImg = 
|Aliases = 
|Associations = 
}}

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
Image ExteriorImage

Image of the location, such as the exterior

Filesuggested
AddressAddress

Where in the city is the location?

Example
House Number, Street, District, County, Zipcode
Stringsuggested
MapImgMapImg

An image of the location where this location can be found.

Filesuggested
AliasesAliases

Is the location known by any other names?

Stringsuggested
AssociationsAssociations

Who is associated with this location, this could be a gang, or individual, use the template provided.

Default
{{Infobox/Shortlink|<Link/Name>|<Relationship>}}
Templateoptional