Difference between revisions of "Template:Infobox Location"

From Idlescape Wiki
Jump to navigation Jump to search
m (Updated formatting, increased colspan)
m (Added dangerous, monsters, rec gear and level)
Line 31: Line 31:
 
     <th colspan="30">Drops</th>
 
     <th colspan="30">Drops</th>
 
     <td colspan="20">{{{drops}}}</td>
 
     <td colspan="20">{{{drops}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{dangerous|}}}|
 +
<tr>
 +
    <th colspan="30">Dangerous</th>
 +
    <td colspan="20">{{{dangerous}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
 
</table>
 
</table>
 +
{{#if: {{{dangerous|}}}|
 +
<div class="infobox-title">Encounter/s</div>
 +
<div class="infobox-stats">
 +
<table style="padding: 1em;">
 +
{{#if: {{{monsters|}}}|
 +
<tr>
 +
    <th colspan="30">Monsters</th>
 +
    <td colspan="20">{{{monsters}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{recommended-stats|}}}|
 +
<tr>
 +
    <th colspan="30">Rec. Combat Levels</th>
 +
    <td colspan="20">{{{recommended-stats}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{recommended-gear|}}}|
 +
<tr>
 +
    <th colspan="30">Recommended Gear</th>
 +
    <td colspan="20">{{{recommended-gear}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
</div>
 +
|}}
 
</div>
 
</div>
 
<noinclude>
 
<noinclude>
Line 45: Line 76:
 
  |zone-type = Type of zone, E.G. mining
 
  |zone-type = Type of zone, E.G. mining
 
  |drops = Type of drops, E.G. <nowiki>[[Runite Ore]]</nowiki>
 
  |drops = Type of drops, E.G. <nowiki>[[Runite Ore]]</nowiki>
 +
|dangerous = Yes/No if monsters are encountered
 +
  |monsters = Needs dangerous to work, list of monsters encountered
 +
  |recommended-stats = Needs dangerous to work, lowest recommended combat levels
 +
  |recommended-gear = Needs dangerous to work, lowest recommended combat gear
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 15:14, 27 December 2020

Infobox Location

Usage

{{Infobox Location
|title = Title of page
|image = Image for zone
|exp = Base experience at required level for zone
|rel-date = Release date
|level-req = Required level for zone
|zone-type = Type of zone, E.G. mining
|drops = Type of drops, E.G. [[Runite Ore]]
|dangerous = Yes/No if monsters are encountered
 |monsters = Needs dangerous to work, list of monsters encountered
 |recommended-stats = Needs dangerous to work, lowest recommended combat levels
 |recommended-gear = Needs dangerous to work, lowest recommended combat gear
}}