Template:ImageLocation: Difference between revisions
Jump to navigation
Jump to search
(template data) |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div style="display: inline-table; margin: 3px; padding-bottom:20px; width:250px; text-align:center;"> | ||
<div | <div style="height:150px; width:250px; overflow:hidden;> | ||
< | [[File:{{{1}}}|x150px|link={{{2}}}|alt=An image of the location "{{{2|}}}"]] | ||
</div> | |||
<p style="margin-bottom:5px;">[[{{{2}}}]]</p> | |||
<p style="margin-bottom:5px;">{{{3|}}}</p> | |||
{{#if:{{{4|}}}|{{ublist| | |||
{{{4}}} | |||
}}}} | |||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
Based on [[:Template:ImageQuest]]. Usage:<br> | Based on [[:Template:ImageQuest]]. Usage:<br> | ||
<code><nowiki>{{ImageLocation|img|name|description| | <code><nowiki>{{ImageLocation|img|name|description|sub-locations}}</nowiki></code> | ||
{{ImageLocation|Grand Mausoleum Vestibule.jpg|Grand Mausoleum|The Thorm family mausoleum, resting place of Melodia Thorm and entrance to the Gauntlet of Shar | {{ImageLocation|Grand Mausoleum Vestibule.jpg|Grand Mausoleum|The Thorm family mausoleum, resting place of Melodia Thorm and entrance to the Gauntlet of Shar|* [[Gauntlet of Shar]] | ||
[[Gauntlet of Shar]] | |||
}} | }} | ||
{{ImageLocation|Arcane Tower. | {{ImageLocation|Arcane Tower South.png|Arcane Tower|An isolated wizard tower protected by Arcane Cannons}} | ||
{{ImageLocation|Open Hand Temple Front.jpg|Open Hand Temple|A temple dedicated to Ilmater, currently grieving the loss of their head priest | {{ImageLocation|Open Hand Temple Front.jpg|Open Hand Temple|A temple dedicated to Ilmater, currently grieving the loss of their head priest|* [[Open Hand Temple Cellar]] | ||
[[Open Hand Temple Cellar]] | * [[Under Temple Cave Area]] | ||
[[Under Temple Cave Area]] | |||
}} | }} | ||
== Template data == | == Template data == | ||
<templatedata> | <templatedata> | ||
Line 34: | Line 39: | ||
"description": "The page name of the location. Is used to link to the article.", | "description": "The page name of the location. Is used to link to the article.", | ||
"example": "Lower City", | "example": "Lower City", | ||
"type": " | "type": "wiki-page-name", | ||
"required": true | "required": true | ||
}, | }, | ||
Line 41: | Line 46: | ||
"Description" | "Description" | ||
], | ], | ||
"description": "A description of the location | "description": "A description of the location.", | ||
"example": "An isolated wizard tower. | "example": "An isolated wizard tower.", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
" | "4": { | ||
"description": " | "label": "Sub-locations", | ||
" | "description": "A bulleted list of any sub-locations in the area.", | ||
"example": "* [[The Hollow]]" | |||
} | } | ||
} | }, | ||
"description": "A div styled info box for linking location pages.", | |||
"paramOrder": [ | |||
"1", | |||
"2", | |||
"3", | |||
"4" | |||
], | |||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |
Latest revision as of 10:03, 25 February 2024
Based on Template:ImageQuest. Usage:
{{ImageLocation|img|name|description|sub-locations}}
The Thorm family mausoleum, resting place of Melodia Thorm and entrance to the Gauntlet of Shar
An isolated wizard tower protected by Arcane Cannons
A temple dedicated to Ilmater, currently grieving the loss of their head priest
Template data
A div styled info box for linking location pages.
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.
| Page name | required |
3 | 3 Description | A description of the location.
| String | suggested |
Sub-locations | 4 | A bulleted list of any sub-locations in the area.
| Unknown | optional |