Template:Building multi location
This template is used on business pages that have more than one location.
Usage
Copy and paste the following code snippet to the article, filling in the blanks. Up to 18 rows can be added using the normal method. More rows can be added by using |row=
alongside {{Building multi location/row}}
.
{{Building multi location |image1= |loc1= |desc1= |coord1= |image2= |loc2= |desc2= |coord2= ... }}
Parameters
loc1
ort1
- Location of the building. (up to 18)
image1
orphoto1
- Image of the building. (up to 18)
imagesize1
- Size of the image. Default is 200px. (up to 18)
desc1
ord1
- Description of the building/location. (up to 18)
coord1
orc1
- Coordinates of the building from the interactive map. (up to 18)
datastyle
- Modify the style attribute of each data (
<td>
). row
- Used to escape the normal limitations of the template, for advanced usage. This section is completely blank (still within the table) and can be customized as required.
Advanced usage
For more than 18 rows, an alternative to the standard parameters, or to customize the table further.
The row
parameter can be used to escape the rows, so it can be used alongside {{Building multi location/row}}
, or even with your own table layout using html tables. Note that this will only escape <tr> and will still be contained within <table>.
- Example 1
{{Building multi location ... |row={{Building multi location/row |datastyle=<!--customize style of each <td>--> |location=<!--customize style of each <td>--> |image= |imagesize= |desc= |coords= }} }}
- Example 2
{{Building multi location ... |row=<tr> <td>Custom column 1</td> <td>Custom column 2</td> <td>Custom column 3</td> </tr> }}
Examples
{{Building multi location |photo1=Valu insurance second floor.png |t1=Louisville |d1=2nd floor above [[Al's Ale and All]] and next to [[Legal Services]]. |c1=13951x3126 |photo2=Valu insurance.png |t2=Louisville |d2=Near coffee shop. |c2=12559x3617 }}
- Produces
Location | Description | Coordinates |
---|---|---|
Louisville |
2nd floor above Al's Ale and All and next to Legal Services. | 13951x3126 |
Louisville |
Near coffee shop. | 12559x3617 |
How to translate
This template is translatable.
Template code
Paste the following code into the <includeonly>
tag of the translated template and translate the text after each =
sign (except for #default =
).
{{#switch: {{{1|}}}
| location = Location
| description = Description
| coordinates = Coordinates
| #default = [[Category:Incorrect template usage]]
}}
Template documentation
Copy the code wrapped in the <noinclude>
tag in this template and translate the text after doc =
in the {{Documentation}}
template.
{{Translation guide}}
template should be removed from the translated documentation.