Template:Infobox location: Difference between revisions
m (Changed protection settings for "Template:Infobox business": Highly visible template: High risk template. Used on over 400 pages. ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (fix for `coords_more` - "title" could only be one word) |
||
Line 309: | Line 309: | ||
|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates4}}}{{!}}Show location on an interactive map.]]<span class="plainlinks" title="Show location on an interactive map.">[https://map.projectzomboid.com/?#{{{coordinates4}}} {{{coordinates4}}}]</span>}}{{#if:{{{coordinates5|}}} | |<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates4}}}{{!}}Show location on an interactive map.]]<span class="plainlinks" title="Show location on an interactive map.">[https://map.projectzomboid.com/?#{{{coordinates4}}} {{{coordinates4}}}]</span>}}{{#if:{{{coordinates5|}}} | ||
|<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates5}}}{{!}}Show location on an interactive map.]]<span class="plainlinks" title="Show location on an interactive map.">[https://map.projectzomboid.com/?#{{{coordinates5}}} {{{coordinates5}}}]</span>}} | |<br>[[File:Geographylogo.png{{!}}26px{{!}}link=https://map.projectzomboid.com/?#{{{coordinates5}}}{{!}}Show location on an interactive map.]]<span class="plainlinks" title="Show location on an interactive map.">[https://map.projectzomboid.com/?#{{{coordinates5}}} {{{coordinates5}}}]</span>}} | ||
{{#if:{{{coords_more|}}}|<br><small title={{{coords_more}}}>[[#{{{coords_more}}}|[More coordinates]]]</small>}} | {{#if:{{{coords_more|}}}|<br><small title="{{{coords_more}}}">[[#{{{coords_more}}}|[More coordinates]]]</small>}} | ||
}} | }} | ||
}} | }} |
Revision as of 05:17, 17 February 2024
This template is used to create an infobox in an article about a business.
Usage
To use this template in an article, copy the template below, then paste the template into an article.
All parameters are optional – those you do not populate with data will not show up in the infobox when the article is saved.
It is strongly advised to only include variables that are relevant to the specific item in question, i.e. parameters that do not display as false or 0.
{{infobox business
|name=
|logo=
|logo_size=
|logo_caption=
|image=
|image2=
|image3=
|image4=
|image5=
|image_size=
|image_size2=
|image_size3=
|image_size4=
|image_size5=
|image_caption=
<!-- GENERAL -->
|status=
|type=
|classification =
|former_names=<!-- or | former_name = -->
|altnames=<!-- or | alternative_names = --> <!-- or | alternative_name = -->
|taglines=
|parent=
|subsidiary=
|founded=
|founder=
|ceo=
|employees=
<!-- LOCATION -->
|location=
|coordinates=
|coordinates2=
|coordinates3=
|coordinates4=
|coordinates5=
|coords_more=
<!-- Map -->
|map=
<!-- Building -->
|size=
|roof=
|top_floor=
|floors=<!-- or |floor_count = -->
|material=
|entrance_count=
|stairway_count=
<!-- OTHER -->
|number_of_stores=
|number_of_rooms=
|number_of_suites=
|number_of_restaurants=
|number_of_bars=
|facilities=
|parking=
<!-- TECHNICAL -->
|loot_tag=
|vehicle=
|reference=
<!-- NOTES -->
|notes=<!-- or |footnotes = -->
}}
Parameters
Name and images
name
- Insert the name of the building
logo
- Logo of the business. Insert an image link in the form:
Example.jpg
logo_size
- Set the size of the logo. Default is
294px
logo_caption
- Insert a caption for the logo.
image
- Image of the business. Insert an image link in the form:
Example.jpg
. Multiple images can be defined by appending a number:image2
.
image_size
- Set the size of the image. Default is
294px
. The number appended will change the variable for that image:image_size2
is forimage2
.
image_caption
- Insert a caption for the logo.
General
status
- Insert the status of the building prior to the Knox Event, i.e. was it abandoned?
type
- The type of business it is, such as: vehicle manufacturer, gas station, etc.
former_names
,former_name
- Insert name(s) the building was formerly as.
altnames
,alternate_names
,alternate_name
- The alternate name(s) for the business/building.
taglines
- The business motto/taglines.
parent
- The parent company.
subsidiary
- Companies that are a subsidiary of this company/business.
founded
- The year the business was founded in.
founder
- The founder of the business.
ceo
- The current/former CEO of the business.
employees
- The current/former known employees of the business.
Location
location
- Insert the business's location(s). If there are multiple locations, list them using a
<br>
.
coordinates(2-5)
- Insert the coordinates as they appear on: https://map.projectzomboid.com/. Go to the location on the map in the URL, press "Map Coordinates" on the left sidebar, copy the "Coords:" being sure not to include any spaces.
Example::coordinates = 10880x10031
.
coords_more
- If there are more than 5 locations, this can be defined which will link to a section on the page of the infobox. Example:
|coords_more=Locations
will link to a section called "Locations".
Map
map
- An image of a map indicating the location of the business. Omit "
File:
", as this is included in the template.
Building
size
- The size of the building. Usually only necessary for hospitals.
roof
- Insert the number of levels the roof of the building reaches. The following URL can be used to help identify this: https://map.projectzomboid.com/.
top_floor
- Insert the number of levels the top floor of the building reaches. The following URL can be used to help identify this: https://map.projectzomboid.com/.
floors
,floor_count
- Insert the number of floors are in the building. The following URL can be used to help identify this: https://map.projectzomboid.com/. Note: this may be different to top_floor in some buildings that skip a floor.
material
- Insert the primary material(s) the building is composed of. If there are multiple materials, list them using a
.
entrance_count
- Insert the number of entrances that are connected to the building.
stairway_count
- Insert the number of stairways that are in or connected to the building.
Other
number_of_stores
- Insert the number of stores that are part of the building, such as is the case for a mall.
number_of_rooms
- Insert the number of rooms that are part of the building. This usually only used for motels/hotels, however this can also be used for other buildings.
number_of_suites
- Insert the number of suites that are part of the building. This usually only used for motels/hotels.
number_of_restaurants
- Insert the number of restaurants that are part of the building, such as is the case for a mall.
number_of_bars
- Insert the number of bars that are part of the building.
facilities
- -
parking
- Information on the parking/vehicle zones.
Technical
loot_tag
- Include the loot tags that are associated with this building type. Tags can be found at:
Project Zomboid/media/lua/server/items/Distributions.lua
orProjectZomboid/media/lua/server/Items/ProceduralDistributions
.
vehicle
- Vehicles that have a unique variant to the business.
reference
- The businesses real world reference, if it has one.