Template:ImageLocation: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly><div class="bg3wiki-imagetext" style="display: inline-table; margin: 3px; padding-bottom:20px"> <div class="bg3wiki-imagetext-image" style="display: flex; justify-content: center; align-items: center; width: 250px; height:150px; overflow:hidden;">[[File:{{{1}}}|{{#if:{{{tall|}}}|250px|x150px}}|{{{2}}}|link={{{2}}}]]</div> <div class="bg3wiki-imagetext-text" style="width: 250px; text-align: center;">[[{{{2}}}]]<br><span style="font-size: 80%;">{{{3}}}</span>...") |
(template data) |
||
Line 15: | Line 15: | ||
[[Under Temple Cave Area]] | [[Under Temple Cave Area]] | ||
}} | }} | ||
[[Category:Templates]] | == Template data == | ||
</noinclude> | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"aliases": [ | |||
"Image name" | |||
], | |||
"description": "An image of the location.", | |||
"example": "Lower City.jpg", | |||
"type": "wiki-file-name", | |||
"required": true | |||
}, | |||
"2": { | |||
"aliases": [ | |||
"Location name" | |||
], | |||
"description": "The page name of the location. Is used to link to the article.", | |||
"example": "Lower City", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"3": { | |||
"aliases": [ | |||
"Description" | |||
], | |||
"description": "A description of the location, followed by links to any sub-locations.", | |||
"example": "An isolated wizard tower. <br> [[Gauntlet of Shar]]", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"tall": { | |||
"description": "Add any value if the image is taller than it is wide.", | |||
"type": "unknown" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
[[Category:Templates]]</noinclude> |
Revision as of 00:42, 27 December 2023
Based on Template:ImageQuest. Usage:
{{ImageLocation|img|name|description|tall=y if img taller than wide}}
Grand Mausoleum
The Thorm family mausoleum, resting place of Melodia Thorm and entrance to the Gauntlet of Shar
The Thorm family mausoleum, resting place of Melodia Thorm and entrance to the Gauntlet of Shar
Template data
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 Image name | An image of the location.
| File | required |
2 | 2 Location name | The page name of the location. Is used to link to the article.
| String | required |
3 | 3 Description | A description of the location, followed by links to any sub-locations.
| String | suggested |
tall | tall | Add any value if the image is taller than it is wide. | Unknown | optional |