Difference between revisions of "Template:Place"
From sureai
m (Allocate more space to the rightmost column) |
(Put image on the infobox) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly> |
<!-- Main Container --> | <!-- Main Container --> | ||
<div style = "float: right; clear: right; width: 25%; min-width: 300px; margin: 5px 5px 10px 20px; display: flex; flex-flow: column nowrap; align-items: stretch;"> | <div style = "float: right; clear: right; width: 25%; min-width: 300px; margin: 5px 5px 10px 20px; display: flex; flex-flow: column nowrap; align-items: stretch;"> | ||
Line 9: | Line 9: | ||
</div> | </div> | ||
<!-- End Main Title --> | <!-- End Main Title --> | ||
+ | {{#if: {{{image|}}}| | ||
+ | <!-- Image --> | ||
+ | <div style = "display: flex; align-items: center; justify-content: center; margin: 5px 0; "><span style = "border-radius: 5px; overflow: hidden;">[[File:{{{image}}}|300x300px|{{{name|{{PAGENAME}}}}}]]</span></div> | ||
+ | <!-- End Image --> | ||
+ | |}} | ||
<!-- Zones & Marked --> | <!-- Zones & Marked --> | ||
<div style = "display: flex; flex-flow: row nowrap; align-items: center; margin: .1em 0; "> | <div style = "display: flex; flex-flow: row nowrap; align-items: center; margin: .1em 0; "> |
Revision as of 13:02, 1 July 2017
Parameters
All parameters are optional.
- name: The place's name. If empty, uses the current page's name.
- icon: The map marker icon of this place. See Category:Enderal-Map Markers for a list of available markers. Hidden if empty.
- image: An image representing the place, without the initial
File:
. Hidden if empty. - marked: If non-empty, indicates that this place is marked on the map.
- zones: How many zones this area has. Defaults to 1.
- dungeon: If non-empty, indicates that this place is a dungeon.
- region: This place's Region. Defaults to (Unknown).
- location: More details on this place's location, such as reference points. Hidden if empty.
- occupants: NPCs and/or Creatures that can be found in this location. Hidden if empty.
- cells: The Creation Kit/Console names of the cells of this place. Hidden if empty.
- nocategory: If present, doesn't add the page to any categories. Don't use this unless you're just giving an example of how to use the template (such as below)
Examples
{{Place |name = Dark Cave |icon = Cave |image = EN-Places-Brownrock_Cave3.jpg |marked = You bet |zones = 3 |dungeon = Of course! |region = [[Enderal:The Heartlands|]] |location = To the south of [[Enderal:Ark|]] <br /> To the east of [[Enderal:Wildmage Camp|]] |occupants = [[Enderal:Entropy Mage|]], [[Enderal:Moss Crawler|]], [[Enderal:Mud Elemental|]] |cells = DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection }}
Dark Cave
Marked
Yes
Zones
3
Occupants
Location
To the south of Ark
To the east of Wildmage Camp
Console Cells
DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection
{{Place |name = Boring Cave |region = [[Enderal:The Heartlands|]] |cells = BoringCave001 }}
{{Place}}
Place
Marked
No
Zones
0
Dungeon
No
Region
(Unknown)