Difference between revisions of "Template:Place"

From sureai
Jump to: navigation, search
(Put image on the infobox)
(Set default "Zones" to 0)
Line 20: Line 20:
 
         <div style = "order: 1; flex: 1; text-align: left;">{{#if: {{{marked|}}}|Yes|No}}</div>
 
         <div style = "order: 1; flex: 1; text-align: left;">{{#if: {{{marked|}}}|Yes|No}}</div>
 
         <div style = "order: 2; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; ">Zones</div>
 
         <div style = "order: 2; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; ">Zones</div>
         <div style = "order: 3; flex: 2; text-align: left;">{{{zones|1}}}</div>
+
         <div style = "order: 3; flex: 2; text-align: left;">{{{zones|0}}}</div>
 
     </div>
 
     </div>
 
     <!-- End Zones & Marked -->
 
     <!-- End Zones & Marked -->
Line 81: Line 81:
 
* '''image:''' An image representing the place, without the initial <code>File:</code>. Hidden if empty.
 
* '''image:''' An image representing the place, without the initial <code>File:</code>. Hidden if empty.
 
* '''marked:''' If non-empty, indicates that this place is marked on the map.
 
* '''marked:''' If non-empty, indicates that this place is marked on the map.
* '''zones:''' How many zones this area has. Defaults to ''1''.
+
* '''zones:''' How many zones this area has. Defaults to ''0''.
 
* '''dungeon:''' If non-empty, indicates that this place is a dungeon.
 
* '''dungeon:''' If non-empty, indicates that this place is a dungeon.
 
* '''region:''' This place's Region. Defaults to ''(Unknown)''.
 
* '''region:''' This place's Region. Defaults to ''(Unknown)''.

Revision as of 19:37, 2 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 0.
  • 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
}}
Cave
Dark Cave
Dark Cave
Marked
Yes
Zones
3
Dungeon
Yes
Region
Occupants

Entropy Mage, Moss Crawler, Mud Elemental

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
}}
Boring Cave
Marked
No
Zones
0
Dungeon
No
Region
Console Cells

BoringCave001


{{Place}}
Place
Marked
No
Zones
0
Dungeon
No
Region
(Unknown)