Difference between revisions of "Template:Place"

From sureai
Jump to: navigation, search
(Created page with "<includeonly>{{#if: {{{image|}}}|[[File:{{{image}}}|300x300px|border|left|{{{name|{{PAGENAME}}}}}]]|}} <!-- Main Container --> <div style = "float: right; clear: right; width:...")
 
(Add beds, Change crafting stations to facilities)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if: {{{image|}}}|[[File:{{{image}}}|300x300px|border|left|{{{name|{{PAGENAME}}}}}]]|}}
+
<includeonly>
 
<!-- Main Container -->
 
<!-- Main Container -->
<div style = "float: right; clear: right; width: 25%; 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;">
 
     <!-- Main Title -->
 
     <!-- Main Title -->
 
     <div style = "background: RGB(147, 56, 56); border-radius: 5px;  
 
     <div style = "background: RGB(147, 56, 56); border-radius: 5px;  
 
                   display: flex; flex-flow: row nowrap; align-items: center;  
 
                   display: flex; flex-flow: row nowrap; align-items: center;  
                   margin-bottom: .5em; padding: .25em; ">{{#if: {{{icon|}}}|[[File:EN-Marker-{{{icon}}}.png|40x40px|link=|{{{icon}}}]]|}}
+
                   margin-bottom: .5em; padding: .25em; ">{{#if: {{{icon|}}}|[[File:EN-Marker-{{{icon}}}.svg|40x40px|link=|{{{icon}}}]]|}}
         <div style = "font-weight: bold; color: white; text-align: center; font-size: 1.5em; flex: 1; ">{{{name|{{PAGENAME}}}}}</div>
+
         <div style = "flex: 1; display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; ">
 +
            <div style = "font-weight: bold; color: white; font-size: 1.5em; text-align: center; ">{{{name|{{PAGENAME}}}}}</div>
 +
            {{#ifeq: {{NAMESPACE}} | Enderal |{{#if: {{{marked|}}}|<div>[http://map.enderal.sureai.net/#{{urlencode:{{{mapname|{{{name|{{PAGENAME}}}}}}}}|PATH}} View on map]</div>|}}|}}
 +
        </div>
 
     </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; ">
 
         <div style = "order: 0; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; cursor: help;"  
 
         <div style = "order: 0; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; cursor: help;"  
 
             title="Does this place appear on the world map?">Marked</div>
 
             title="Does this place appear on the world map?">Marked</div>
         <div style = "order: 1; flex: 1; text-align: left;">{{{marked|Yes}}}</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; cursor: help;"
         <div style = "order: 3; flex: 1; text-align: left;">{{{zones|1}}}</div>
+
            title="How many areas separated by loading screens are in this place?">Zones</div>
 +
         <div style = "order: 3; flex: 2; text-align: left;">{{{zones|0}}}</div>
 
     </div>
 
     </div>
 
     <!-- End Zones & Marked -->
 
     <!-- End Zones & Marked -->
 
+
     <!-- Dungeon & Region -->
     <!-- Dungeon & Clearable -->
+
 
     <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; ">
         <div style = "order: 0; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; ">Dungeon</div>
+
         <div style = "order: 0; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; cursor: help;"
         <div style = "order: 1; flex: 1; text-align: left;">{{{dungeon|No}}}</div>
+
            title="Is this area primarily inhabited by enemies, focusing on combat and loot?">Dungeon</div>
         <div style = "order: 2; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; ">Clearable</div>
+
         <div style = "order: 1; flex: 1; text-align: left;">{{#if: {{{dungeon|}}}|Yes|No}}</div>
         <div style = "order: 3; flex: 1; text-align: left;">{{{clearable|No}}}</div>
+
         <div style = "order: 2; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; cursor: help;"
 +
            title="In which world region is this place at?">Region</div>
 +
         <div style = "order: 3; flex: 2; text-align: left;">{{{region|''(Unknown)''}}}</div>
 
     </div>
 
     </div>
     <!-- End Dungeon & Clearable -->
+
     <!-- End Dungeon & Region -->
 
+
    <!-- Region -->
+
    <div style = "display: flex; flex-flow: row nowrap; align-items: center; margin: .1em 0; ">
+
        <div style = "order: 0; flex: 1; font-weight: bold; text-align: right; margin-right: 1em; ">Region</div>
+
        <div style = "order: 1; flex: 3; text-align: left;">{{{region|''(Unknown)''}}}</div>
+
    </div>
+
    <!-- End Region -->
+
 
+
 
{{#if: {{{occupants|}}}|
 
{{#if: {{{occupants|}}}|
 
     <!-- Occupants Title -->
 
     <!-- Occupants Title -->
Line 44: Line 45:
 
     </div>
 
     </div>
 
     <!-- End Occupants Title -->
 
     <!-- End Occupants Title -->
 
 
     <!-- Occupants Content -->
 
     <!-- Occupants Content -->
 
     <div style = "text-align: center; ">
 
     <div style = "text-align: center; ">
Line 50: Line 50:
 
     </div>
 
     </div>
 
     <!-- End Occupants Content -->
 
     <!-- End Occupants Content -->
|}}
+
|}}{{#if: {{{location|}}}|
{{#if: {{{location|}}}|
+
 
     <!-- Location Title -->
 
     <!-- Location Title -->
 
     <div style = "background: RGB(73, 73, 59); border-radius: 5px;  
 
     <div style = "background: RGB(73, 73, 59); border-radius: 5px;  
Line 59: Line 58:
 
     </div>
 
     </div>
 
     <!-- End Location Title -->
 
     <!-- End Location Title -->
 
 
     <!-- Location Content -->
 
     <!-- Location Content -->
 
     <div style = "text-align: center; ">
 
     <div style = "text-align: center; ">
Line 65: Line 63:
 
     </div>
 
     </div>
 
     <!-- End Location Content -->
 
     <!-- End Location Content -->
|}}
+
|}}{{#if: {{{cells|}}}|
{{#if: {{{cells|}}}|
+
 
     <!-- Cells Title -->
 
     <!-- Cells Title -->
 
     <div style = "background: RGB(73, 73, 59); border-radius: 5px;  
 
     <div style = "background: RGB(73, 73, 59); border-radius: 5px;  
Line 74: Line 71:
 
     </div>
 
     </div>
 
     <!-- End Cells Title -->
 
     <!-- End Cells Title -->
 
 
     <!-- Cells Content -->
 
     <!-- Cells Content -->
 
     <div style = "text-align: center; font-family: monospace; ">
 
     <div style = "text-align: center; font-family: monospace; ">
Line 80: Line 76:
 
     </div>
 
     </div>
 
     <!-- End Cells Content -->
 
     <!-- End Cells Content -->
 +
|}}{{#if: {{{oretype1|}}}|
 +
    <!-- Ore Veins Title -->
 +
    <div style = "background: RGB(73, 73, 59); border-radius: 5px;
 +
                  display: flex; flex-flow: row nowrap; align-items: center;
 +
                  margin: .5em 0; padding: .25em; ">
 +
        <div style = "font-weight: bold; color: white; text-align: center; flex: 1; ">Ore Veins</div>
 +
    </div>
 +
    <!-- End Ore Veins Title -->
 +
    <!-- Ore Veins Content -->
 +
    <div style = "display: flex; flex-flow: row wrap; align-items: center; "> 
 +
    {{#if: {{{oretype1|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype1}}}|{{{oretype1}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum1}}}</div>
 +
    |}}{{#if: {{{oretype2|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype2}}}|{{{oretype2}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum2}}}</div>
 +
    |}}{{#if: {{{oretype3|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype3}}}|{{{oretype3}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum3}}}</div>
 +
    |}}{{#if: {{{oretype4|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype4}}}|{{{oretype4}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum4}}}</div>
 +
    |}}{{#if: {{{oretype5|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype5}}}|{{{oretype5}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum5}}}</div>
 +
    |}}{{#if: {{{oretype6|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype6}}}|{{{oretype6}}}]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{orenum6}}}</div>
 +
    |}}
 +
    </div>
 +
    <!-- End Ore Veins Content -->
 +
|}}{{#if: {{{alchemy|{{{enchanting|{{{tanning|{{{smelter|{{{forge|{{{grindstone|{{{workbench|{{{cooking|{{{lumber|{{{bed|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}|
 +
    <!-- Facilities Title -->
 +
    <div style = "background: RGB(73, 73, 59); border-radius: 5px;
 +
                  display: flex; flex-flow: row nowrap; align-items: center;
 +
                  margin: .5em 0; padding: .25em; ">
 +
        <div style = "font-weight: bold; color: white; text-align: center; flex: 1; ">Facilities</div>
 +
    </div>
 +
    <!-- End Facilities  Title -->
 +
    <!-- Facilities  Content -->
 +
    <div style = "display: flex; flex-flow: row wrap; align-items: center; ">
 +
    {{#if: {{{alchemy|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Alchemy Lab|Alchemy Labs]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{alchemy}}}</div>
 +
    |}}{{#if: {{{enchanting|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Arcane Enchanter|Enchanters]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{enchanting}}}</div>
 +
    |}}{{#if: {{{tanning|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Tanning Rack|Tanning Racks]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{tanning}}}</div>
 +
    |}}{{#if: {{{smelter|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Smelter|Smelters]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{smelter}}}</div>
 +
    |}}{{#if: {{{forge|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Forge|Forges]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{forge}}}</div>
 +
    |}}{{#if: {{{grindstone|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Grindstone|Grindstones]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{grindstone}}}</div>
 +
    |}}{{#if: {{{workbench|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Workbench|Workbenches]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{workbench}}}</div>
 +
    |}}{{#if: {{{cooking|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Cooking Pot|Cooking Pots]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{cooking}}}</div>
 +
    |}}{{#if: {{{lumber|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:Chopping Block|Chopping Blocks]]</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{lumber}}}</div>
 +
    |}}{{#if: {{{bed|}}}|
 +
        <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">Bed</div>
 +
        <div style = "flex: 0 0 5%; text-align: left;">{{{bed}}}</div>
 +
    |}}
 +
    </div>
 +
    <!-- End Facilities  Content -->
 
|}}
 
|}}
 
 
</div>
 
</div>
 
<!-- End Main Container -->
 
<!-- End Main Container -->
 +
{{#if: {{{nocategory|}}}||[[Category:Places]]{{#if: {{{dungeon|}}}|[[Category:Places-Dungeons]]|}}{{#if: {{{marked|}}}||[[Category:Places-Unmarked]]}}{{#if: {{NAMESPACE}}|[[Category:{{NAMESPACE}}-Places]]{{#if: {{{dungeon|}}}|[[Category:{{NAMESPACE}}-Places-Dungeons]]|}}|}}{{#if: {{{marked|}}}||[[Category:{{NAMESPACE}}-Places-Unmarked]]}}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
== Parameters ==
 
== Parameters ==
 
''All parameters are optional.''
 
''All parameters are optional.''
 
* '''name:''' The place's name. If empty, uses the current page's name.
 
* '''name:''' The place's name. If empty, uses the current page's name.
 +
* '''mapname:''' The place's name in the interactive map. If not present, uses the "name" parameter, if it's not empty, or the 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.
 
* '''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 <code>File:</code>. Hidden if empty.
 
* '''image:''' An image representing the place, without the initial <code>File:</code>. Hidden if empty.
* '''marked:''' Weather the location is marked on the main map or not. Defaults to ''Yes''.
+
* '''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:''' Weather this area is a dungeon. Defaults no ''No''.
+
* '''dungeon:''' If non-empty, indicates that this place is a dungeon.
** '''clearable:''' Weather this dungeon can be cleared (marked as "Cleared" on the map). Defaults to ''No''.
+
 
* '''region:''' This place's Region. Defaults to ''(Unknown)''.
 
* '''region:''' This place's Region. Defaults to ''(Unknown)''.
 
** '''location:''' More details on this place's location, such as reference points. Hidden if empty.
 
** '''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.
 
* '''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.
 
* '''cells:''' The Creation Kit/Console names of the cells of this place. Hidden if empty.
 +
* '''oretype#, orenum#:''' Where # ranges from 1 to 6, identifies the types of ore that exist in this location (oretype) and how many of that type exist (orenum)
 +
* '''alchemy''', '''enchanting''', '''tanning''', '''smelter''', '''forge''', '''grindstone''', '''workbench''', '''cooking''', '''lumber''', '''bed''': Defines the number of Alchemy Labs, Arcane Enchanters, Tanning Racks, Smelters, Forges, Grindstones, Workbenches, Cooking Pots, and Chopping Blocks, respectively.
 +
* ''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 ==
 
== Examples ==
 
<pre>
 
<pre>
{{{Place
+
{{Place
|name = Dark Cave
+
|name = A cave with a very, very, very, VERY long name.
 
|icon = Cave
 
|icon = Cave
 
|image = EN-Places-Brownrock_Cave3.jpg
 
|image = EN-Places-Brownrock_Cave3.jpg
|marked = Yes
+
|marked = 1
 +
|dungeon = 1
 
|zones = 3
 
|zones = 3
|dungeon = Yes
 
|clearable = No
 
 
|region = [[Enderal:The Heartlands|]]
 
|region = [[Enderal:The Heartlands|]]
 
|location =
 
|location =
 
To the south of [[Enderal:Ark|]] <br />
 
To the south of [[Enderal:Ark|]] <br />
 
To the east of [[Enderal:Wildmage Camp|]]
 
To the east of [[Enderal:Wildmage Camp|]]
|occupants = [[Enderal:Entropy Mage|]], [[Enderal:Moss Crawler|]], [[Enderal:Mud Elemental]]
+
|occupants = [[Enderal:Entropy Mage|]], [[Enderal:Moss Crawler|]], [[Enderal:Mud Elemental|]]
 
|cells = DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection
 
|cells = DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection
 +
|oretype1 = Iron
 +
|orenum1 = 3
 +
|oretype2 = Quicksilver
 +
|orenum2 = 30
 +
|oretype3 = Corundum
 +
|orenum3 = 1
 +
|oretype4 = Voodoo
 +
|orenum4 = 50
 +
|oretype5 = Gold
 +
|orenum5 = 14
 +
|oretype6 = Amirite
 +
|orenum6 = 50
 +
|alchemy = 3
 +
|enchanting = 1
 +
|tanning = 2
 +
|smelter = 2
 +
|forge = 5
 +
|grindstone = 3
 +
|workbench = 3
 +
|cooking = 5
 +
|lumber = 2
 +
|bed = 4
 
}}
 
}}
 
</pre>
 
</pre>
 
 
{{Place
 
{{Place
|name = Dark Cave
+
|name = A cave with a very, very, very, VERY long name.
 
|icon = Cave
 
|icon = Cave
 
|image = EN-Places-Brownrock_Cave3.jpg
 
|image = EN-Places-Brownrock_Cave3.jpg
|marked = Yes
+
|marked = 1
 +
|dungeon = 1
 
|zones = 3
 
|zones = 3
|dungeon = Yes
 
|clearable = No
 
 
|region = [[Enderal:The Heartlands|The Heartlands]]
 
|region = [[Enderal:The Heartlands|The Heartlands]]
 
|location =
 
|location =
 
To the south of [[Enderal:Ark|Ark]] <br />
 
To the south of [[Enderal:Ark|Ark]] <br />
 
To the east of [[Enderal:Wildmage Camp|Wildmage Camp]]
 
To the east of [[Enderal:Wildmage Camp|Wildmage Camp]]
|occupants = [[Enderal:Entropy Mage|Entropy Mage]], [[Enderal:Moss Crawler|Moss Crawler]], [[Enderal:Mud Elemental]]
+
|occupants = [[Enderal:Entropy Mage|Entropy Mage]], [[Enderal:Moss Crawler|Moss Crawler]], [[Enderal:Mud Elemental|Mud Elemental]]
 
|cells = DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection
 
|cells = DarkCaveEntrance, DarkCaveSection01, DarkCaveSection02, DarkCaveBossSection
 +
|oretype1 = Iron
 +
|orenum1 = 3
 +
|oretype2 = Quicksilver
 +
|orenum2 = 30
 +
|oretype3 = Corundum
 +
|orenum3 = 1
 +
|oretype4 = Voodoo
 +
|orenum4 = 50
 +
|oretype5 = Gold
 +
|orenum5 = 14
 +
|oretype6 = Amirite
 +
|orenum6 = 50
 +
|alchemy = 3
 +
|enchanting = 1
 +
|tanning = 2
 +
|smelter = 2
 +
|forge = 5
 +
|grindstone = 3
 +
|workbench = 3
 +
|cooking = 5
 +
|lumber = 2
 +
|bed = 4
 +
|nocategory=1
 
}}
 
}}
 +
 +
<pre style = "clear: both; ">
 +
{{Place
 +
|name = Boring Cave
 +
|region = [[Enderal:The Heartlands|]]
 +
|cells = BoringCave001
 +
|cooking = 2
 +
|lumber = 1
 +
}}
 +
</pre>
 +
{{Place
 +
|name = Boring Cave
 +
|region = [[Enderal:The Heartlands|The Heartlands]]
 +
|cells = BoringCave001
 +
|cooking = 2
 +
|lumber = 1
 +
|nocategory=1
 +
}}
 +
 +
<pre style = "clear: both; ">
 +
{{Place}}
 +
</pre>
 +
{{Place|nocategory=1}}
 +
 +
== Categories ==
 +
* [[:Category:Places|Places]]
 +
** [[:Category:Places-Dungeons|Places-Dungeons]]
 +
** [[:Category:Places-Unmarked|Places-Unmarked]]
 +
* [[:Category:Enderal-Places|Enderal-Places]]
 +
** [[:Category:Enderal-Places-Dungeons|Enderal-Places-Dungeons]]
 +
** [[:Category:Enderal-Places-Unmarked|Enderal-Places-Unmarked]]
 +
  
 
[[Category:Templates|Templates]]
 
[[Category:Templates|Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 16:51, 12 November 2017

Parameters

All parameters are optional.

  • name: The place's name. If empty, uses the current page's name.
  • mapname: The place's name in the interactive map. If not present, uses the "name" parameter, if it's not empty, or the 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.
  • oretype#, orenum#: Where # ranges from 1 to 6, identifies the types of ore that exist in this location (oretype) and how many of that type exist (orenum)
  • alchemy, enchanting, tanning, smelter, forge, grindstone, workbench, cooking, lumber, bed: Defines the number of Alchemy Labs, Arcane Enchanters, Tanning Racks, Smelters, Forges, Grindstones, Workbenches, Cooking Pots, and Chopping Blocks, respectively.
  • 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 = A cave with a very, very, very, VERY long name.
|icon = Cave
|image = EN-Places-Brownrock_Cave3.jpg
|marked = 1
|dungeon = 1
|zones = 3
|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
|oretype1 = Iron
|orenum1 = 3
|oretype2 = Quicksilver
|orenum2 = 30
|oretype3 = Corundum
|orenum3 = 1
|oretype4 = Voodoo 
|orenum4 = 50
|oretype5 = Gold
|orenum5 = 14
|oretype6 = Amirite 
|orenum6 = 50
|alchemy = 3
|enchanting = 1
|tanning = 2
|smelter = 2
|forge = 5
|grindstone = 3
|workbench = 3
|cooking = 5
|lumber = 2
|bed = 4
}}
Cave
A cave with a very, very, very, VERY long name.
A cave with a very, very, very, VERY long name.
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

Ore Veins
3
30
1
50
14
50
Facilities
3
1
2
2
5
3
3
5
2
Bed
4


{{Place
|name = Boring Cave
|region = [[Enderal:The Heartlands|]]
|cells = BoringCave001
|cooking = 2
|lumber = 1
}}
Boring Cave
Marked
No
Zones
0
Dungeon
No
Region
Console Cells

BoringCave001

Facilities
2
1


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


Categories