No edit summary |
No edit summary |
||
(8 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> | ||
{{#if:{{{Address|}}}{{{MapImg|}}}{{{Aliases|}}}{{{Associations|}}}|{{#if:{{{Address|}}}|<tr> | |||
{{#if:{{{Address|}}}{{{MapImg|}}}{{{Aliases|}}}{{{Associations|}}}| | |||
<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
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image Exterior | Image | Image of the location, such as the exterior | File | suggested |
Address | Address | Where in the city is the location?
| String | suggested |
MapImg | MapImg | An image of the location where this location can be found. | File | suggested |
Aliases | Aliases | Is the location known by any other names? | String | suggested |
Associations | Associations | Who is associated with this location, this could be a gang, or individual, use the template provided.
| Template | optional |