Wynncraft Wiki
m (Changed around the formatting a little bit and made the questing icon a book & quill)
Aws40404 (talk | contribs)
Line 20: Line 20:
 
-->{| class='wikitable' style="width: 30em; text-align: center"
 
-->{| class='wikitable' style="width: 30em; text-align: center"
 
!colspan="2" | {{#switch: {{lc:{{{name|}}}}}
 
!colspan="2" | {{#switch: {{lc:{{{name|}}}}}
| cave = {{WynnIcon|{{{icon|andesite}}}}} <big>Cave</big> {{WynnIcon|{{{icon|andesite}}}}}
+
| cave = <big>Cave</big>
| ruins = {{WynnIcon|{{{icon|mossy stone bricks}}}}} <big>Ruins</big> {{WynnIcon|{{{icon|mossy stone bricks}}}}}
+
| ruins = <big>Ruins</big>
 
| sewer
 
| sewer
| sewers = {{WynnIcon|{{{icon|iron bars}}}}} <big>Sewer</big> {{WynnIcon|{{{icon|iron bars}}}}}
+
| sewers = <big>Sewer</big>
| corruption spike = {{WynnIcon|{{{icon|block of coal}}}}} <big>Corruption Spike</big> {{WynnIcon|{{{icon|block of coal}}}}}
+
| corruption spike = <big>Corruption Spike</big>
| {{WynnIcon|{{{icon|sign}}}}} <big>{{{name|Location}}}</big> {{WynnIcon|{{{icon|sign}}}}}
+
| <big>{{{name|Location}}}</big>
 
}}<br>Location: {{{location|?}}}<br>{{#if:{{{level|}}}|Recommended Min. Level: {{{level}}}}}
 
}}<br>Location: {{{location|?}}}<br>{{#if:{{{level|}}}|Recommended Min. Level: {{{level}}}}}
 
|-
 
|-

Revision as of 11:20, 16 October 2020

Template-info.png Documentation

This template creates an table that provides info about a minor location, like caves and ruins.

Generally, any notable structure where loot chests and unique mobs spawn should use this template. Do not use this template for important locations; they should have their own pages made for them.

It also uses Template:RenderLocation to display the location on the map as well.

{{MinorLocation
| name =
| icon =
| location =
| loot_tier = 
| mobs or mobs_raw =
| info =
| level =
| purpose =
| width = 
}}
  • name - the name of the minor location. Unnamed locations should be called "cave", "ruins", etc. If no value is given, defaults to "Location".
  • icon - the icons displayed next to the location's name. Values here are put directly into Template:WynnIcon. If no value is given, defaults to icons if the location has a general name, otherwise, defaults to a sign.
  • location - the coordinates of the location. If not given, defaults to "?".
  • loot_tier - the tier of the loot chest that spawns at the location.
  • mobs - mobs that may spawn at the location. Should be a comma-separated list of the names of the mobs.
  • mobs_raw - direct wikitext input into the mobs cell. Use this if you want a different display than the dotlist mobs generates.
  • info - any extra info that pertains to the minor location.
  • level - the minimum recommended level for entering this cave.
  • purpose - the purpose of the cave. Can be anything, but special ones are loot, transport, grind, and quest.
  • width - controls the width of the table.

Examples

Example Result
{{MinorLocation
| name = Ruins
| location =  -547, 67, -1619
| loot_tier = 1
| mobs = Fire Zombie, Weak Zombie, Zombie (Lv. 3), Zombie (Lv. 5)
| purpose = grind
}}
Ruins
Location: -547, 67, -1619
Purpose
Grinding
Loot
Tier 1 Loot Chest
Mobs Fire Zombie • Weak Zombie • Zombie (Lv. 3) • Zombie (Lv. 5)
{{MinorLocation
| name = Weird Place
| icon = earth powder
| location =  -628, 50, -1953
| loot_tier = 2
| mobs = Corrupted Jumla, Corrupted Grian, Zombie (Lv. 10), Zombie Assassin, Zombie Archer (Lv. 4)
| level = 10
}}
Weird Place
Location: -628, 50, -1953
Recommended Min. Level: 10
Loot
Tier 2 Loot Chest
Mobs Corrupted Jumla • Corrupted Grian • Zombie (Lv. 10) • Zombie Assassin • Zombie Archer (Lv. 4)
{{MinorLocation
| location = 442, 71, -1153
| info = A strange place!
}}
Location
Location: 442, 71, -1153
Loot There are no loot chests at this location.
Info A strange place!