Template:Infobox/Location/doc: Difference between revisions

From Flexible Survival
Jump to navigationJump to search
Syntax McBucketface (talk | contribs)
Created page with "{{Documentation}} You can copy and paste the template parameters from below, or use the Template Wizard in the visual editor. ==Usage== <pre> <nowiki>{{Infobox/Location |Image = |Address = |MapImg = |Aliases = |Associations = }}</nowiki> </pre> ==Template Data== <templatedata> { "params": { "Image": { "label": "Image Exterior", "description": "Image of the location, such as the exterior", "type": "wiki-file-name", "suggested": true }, "Address":..."
 
Syntax McBucketface (talk | contribs)
No edit summary
Line 20: Line 20:
"description": "Image of the location, such as the exterior",
"description": "Image of the location, such as the exterior",
"type": "wiki-file-name",
"type": "wiki-file-name",
"suggested": true
},
"Address": {
"description": "Where in the city is the location?",
"example": "House Number, Street, District, County, Zipcode",
"type": "string",
"suggested": true
"suggested": true
},
},
Line 42: Line 36:
"type": "wiki-template-name",
"type": "wiki-template-name",
"default": "{{Infobox/Shortlink|<Link/Name>|<Relationship>}}"
"default": "{{Infobox/Shortlink|<Link/Name>|<Relationship>}}"
},
"Location": {
"description": "Where is the location situated?",
"example": "House Number, Street, District, County, Zipcode",
"type": "string",
"suggested": true
}
}
}
},
"paramOrder": [
"Image",
"Location",
"MapImg",
"Aliases",
"Associations"
]
}
}
</templatedata>
</templatedata>

Revision as of 20:01, 1 June 2025

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
LocationLocation

Where is the location situated?

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 guild, or individual, use the template provided.

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