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
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
<nowiki>{{Infobox/Location
<nowiki>{{Infobox/Location
|Image =  
|Image =  
|Address =  
|Location =  
|MapImg =  
|MapImg =  
|Aliases =  
|Aliases =  
Line 17: Line 17:
"params": {
"params": {
"Image": {
"Image": {
"label": "Image Exterior",
"label": "Descriptive Image",
"description": "Image of the location, such as the exterior",
"description": "Image of the location, such as the exterior, a flag, or a symbol. NOTE: THE IMAGE MUST BE PUBLIC DOMAIN, AN ASSET FROM FLEXIBLE SURVIVAL, OR OWNED BY THE USER!!!",
"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>

Latest revision as of 20:09, 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 = 
|Location = 
|MapImg = 
|Aliases = 
|Associations = 
}}

Template Data

No description.

Template parameters

ParameterDescriptionTypeStatus
Descriptive ImageImage

Image of the location, such as the exterior, a flag, or a symbol. NOTE: THE IMAGE MUST BE PUBLIC DOMAIN, AN ASSET FROM FLEXIBLE SURVIVAL, OR OWNED BY THE USER!!!

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