Template:Location Infobox: Difference between revisions
Appearance
Updated to DRUID infobox |
mNo edit summary |
||
| Line 4: | Line 4: | ||
|title = {{{title|{{{name|{{PAGENAME}}}}}}}} | |title = {{{title|{{{name|{{PAGENAME}}}}}}}} | ||
|subtitle = {{{subtitle|}}} | |subtitle = {{{subtitle|}}} | ||
|image = {{#if:{{{image|}}}|[[File:{{{image|}}} | |image = {{#if:{{{image|}}}|[[File:{{{image|}}}]]}} | ||
|images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | |images = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|[[File:²{#explode:{item}¦:¦0}²]]|,|template=1}}}} | ||
|tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | |tabs = {{#if:{{{images|}}}|{{Array|{{{images}}}|;|²{#explode:{item}¦:¦1}²|,|template=1}}}} | ||
Revision as of 13:35, 21 February 2026
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
This template uses Module:Infobox, a script written in Lua.
This template uses CSS found at MediaWiki:Gadget-Infobox.css.
Syntax
{{Location Infobox
|title =
|subtitle =
|image = if single image - no "File:"
|images = more than one image delimited with ; - no "File:"
|type =
|description =
}}
Parameters
- type: The type of location.
- Acceptable types for auto-categorization: Area, Region, Shop, Activity
Examples
Loomix Mart
Information
Type
|name = Loomix Mart
|type = Shop
}}
Template Data
Infobox for Locations. Regions use Region Infobox. Domains use Domain Infobox.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Location Title | Unknown | optional |
| Name | name | Location Name | Unknown | optional |
| Subtitle | subtitle | Location subtitle | Unknown | optional |
| Image | image | Image of the location. | File | suggested |
| Image List | images | If more than one image, insert with semicolon as delimiter | Unknown | optional |
| Type | type | Type of location. If multiple, delimit with semicolon (;)
| String | required |
| Description | description | Location Description | Unknown | optional |