Difference between revisions of "Template:Infobox Location"

From Idlescape Wiki
Jump to navigation Jump to search
m (Missed to add level-req to table)
m (Updated formatting, added drops field)
Line 5: Line 5:
 
{{#if: {{{exp|}}}|
 
{{#if: {{{exp|}}}|
 
<tr>
 
<tr>
     <th colspan="10">Base exp/hour</th>
+
     <th colspan="10">Base Exp/Hour</th>
 
     <td colspan="20">{{{exp}}}</td>
 
     <td colspan="20">{{{exp}}}</td>
 
</tr>
 
</tr>
Line 23: Line 23:
 
{{#if: {{{zone-type|}}}|
 
{{#if: {{{zone-type|}}}|
 
<tr>
 
<tr>
     <th colspan="20">Zonetype</th>
+
     <th colspan="20">Type of zone</th>
 
     <td colspan="20">{{{zone-type}}}</td>
 
     <td colspan="20">{{{zone-type}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{drops|}}}|
 +
<tr>
 +
    <th colspan="20">Drops</th>
 +
    <td colspan="20">{{{drops}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 38: Line 44:
 
  |level-req = Required level for zone
 
  |level-req = Required level for zone
 
  |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>
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
 
</noinclude>
 
</noinclude>

Revision as of 14:09, 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]]
}}