Difference between revisions of "Template:Place"
From sureai
m (Add hover info to more labels) |
(Add crafting stations) |
||
Line 82: | Line 82: | ||
<!-- End Ore Veins Title --> | <!-- End Ore Veins Title --> | ||
<!-- Ore Veins Content --> | <!-- Ore Veins Content --> | ||
− | <div style = "display: flex; flex-flow: row | + | <div style = "display: flex; flex-flow: row wrap; align-items: center; "> |
{{#if: {{{oretype1|}}}| | {{#if: {{{oretype1|}}}| | ||
− | <div style = " | + | <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype1}}}|{{{oretype1}}}]]</div> |
− | <div style = " | + | <div style = "flex: 0 0 5%; text-align: left;">{{{orenum1}}}</div> |
− | <div style = " | + | |}}{{#if: {{{oretype2|}}}| |
− | <div style = " | + | <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|}}}| | |}}{{#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 = " | + | <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype4}}}|{{{oretype4}}}]]</div> |
− | <div style = " | + | <div style = "flex: 0 0 5%; text-align: left;">{{{orenum4}}}</div> |
− | <div style = " | + | |
|}}{{#if: {{{oretype5|}}}| | |}}{{#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 = " | + | <div style = "flex: 0 0 40%; font-weight: bold; text-align: right; margin-right: 1em; ">[[{{NAMESPACE}}:{{{oretype6}}}|{{{oretype6}}}]]</div> |
− | <div style = " | + | <div style = "flex: 0 0 5%; text-align: left;">{{{orenum6}}}</div> |
− | <div style = " | + | |
|}} | |}} | ||
</div> | </div> | ||
<!-- End Ore Veins Content --> | <!-- End Ore Veins Content --> | ||
+ | |}}{{#if: {{{alchemy|{{{enchanting|{{{tanning|{{{smelter|{{{forge|{{{grindstone|{{{workbench|{{{cooking|{{{lumber|}}}}}}}}}}}}}}}}}}}}}}}}}}}| | ||
+ | <!-- Crafting Stations 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; ">Crafting Stations</div> | ||
+ | </div> | ||
+ | <!-- End Crafting Stations Title --> | ||
+ | <!-- Crafting Stations 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> | ||
+ | |}} | ||
+ | </div> | ||
+ | <!-- End Crafting Stations Content --> | ||
|}} | |}} | ||
</div> | </div> | ||
Line 123: | Line 162: | ||
* '''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) | * '''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''': 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) | * ''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) | ||
Line 131: | Line 171: | ||
|icon = Cave | |icon = Cave | ||
|image = EN-Places-Brownrock_Cave3.jpg | |image = EN-Places-Brownrock_Cave3.jpg | ||
− | |marked = | + | |marked = 1 |
+ | |dungeon = 1 | ||
|zones = 3 | |zones = 3 | ||
− | |||
|region = [[Enderal:The Heartlands|]] | |region = [[Enderal:The Heartlands|]] | ||
|location = | |location = | ||
Line 152: | Line 192: | ||
|oretype6 = Amirite | |oretype6 = Amirite | ||
|orenum6 = 50 | |orenum6 = 50 | ||
+ | |alchemy = 3 | ||
+ | |enchanting = 1 | ||
+ | |tanning = 2 | ||
+ | |smelter = 2 | ||
+ | |forge = 5 | ||
+ | |grindstone = 3 | ||
+ | |workbench = 3 | ||
+ | |cooking = 5 | ||
+ | |lumber = 2 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 158: | Line 207: | ||
|icon = Cave | |icon = Cave | ||
|image = EN-Places-Brownrock_Cave3.jpg | |image = EN-Places-Brownrock_Cave3.jpg | ||
− | |marked = | + | |marked = 1 |
+ | |dungeon = 1 | ||
|zones = 3 | |zones = 3 | ||
− | |||
|region = [[Enderal:The Heartlands|The Heartlands]] | |region = [[Enderal:The Heartlands|The Heartlands]] | ||
|location = | |location = | ||
Line 179: | Line 228: | ||
|oretype6 = Amirite | |oretype6 = Amirite | ||
|orenum6 = 50 | |orenum6 = 50 | ||
+ | |alchemy = 3 | ||
+ | |enchanting = 1 | ||
+ | |tanning = 2 | ||
+ | |smelter = 2 | ||
+ | |forge = 5 | ||
+ | |grindstone = 3 | ||
+ | |workbench = 3 | ||
+ | |cooking = 5 | ||
+ | |lumber = 2 | ||
}} | }} | ||
Line 186: | Line 244: | ||
|region = [[Enderal:The Heartlands|]] | |region = [[Enderal:The Heartlands|]] | ||
|cells = BoringCave001 | |cells = BoringCave001 | ||
+ | |cooking = 2 | ||
+ | |lumber = 1 | ||
}} | }} | ||
</pre> | </pre> | ||
Line 192: | Line 252: | ||
|region = [[Enderal:The Heartlands|The Heartlands]] | |region = [[Enderal:The Heartlands|The Heartlands]] | ||
|cells = BoringCave001 | |cells = BoringCave001 | ||
+ | |cooking = 2 | ||
+ | |lumber = 1 | ||
|nocategory=1 | |nocategory=1 | ||
}} | }} |
Revision as of 14:28, 20 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.
- 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: 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 = Dark Cave |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 }}
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
Ore Veins
Facilities
{{Place |name = Boring Cave |region = [[Enderal:The Heartlands|]] |cells = BoringCave001 |cooking = 2 |lumber = 1 }}
Boring Cave
Marked
No
Zones
0
Console Cells
BoringCave001
Facilities
{{Place}}
Place
Marked
No
Zones
0
Dungeon
No
Region
(Unknown)