Difference between revisions of "Template:Infobox Item"

From Idlescape Wiki
Jump to navigation Jump to search
m
m (Reverted edits by Xcezz (talk) to last revision by Sponsorn)
Tag: Rollback
Line 1: Line 1:
;6 February 2021
+
<div class="infobox">
*[https://www.reddit.com/r/Idlescape/comments/ldk89z/update_6_february2021_v0841_minor_updates_bugfixes/ v0.8.4.1 - Minor updates + bugfixes]
+
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
 +
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="150"></div>
 +
<table style="padding: 1em; margin: auto;">
 +
{{#if: {{{gold|}}}|
 +
<tr>
 +
    <th colspan="15"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="20" width="20"></th>
 +
    <td colspan="15">{{{gold}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{heat|}}}|
 +
<tr>
 +
    <th colspan="15"><img src="https://idlescape.com/images/heat_icon.png" alt="Gold Coin" height="20" width="20"></th>
 +
    <td colspan="15">{{{heat}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{exp|}}}|
 +
<tr>
 +
    <th colspan="15">Exp</th>
 +
    <td colspan="15">{{{exp}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{aug-bonus|}}}|
 +
<tr>
 +
    <th colspan="15">Aug Bonus</th>
 +
    <td colspan="15">{{{aug-bonus}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{aug-slots|}}}|
 +
<tr>
 +
    <th colspan="15">Aug Slots</th>
 +
    <td colspan="15">{{{aug-slots}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{hp|}}}|
 +
<tr>
 +
    <th colspan="15">HP</th>
 +
    <td colspan="15">{{{hp}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{plot-size|{{{seed-exp|}}}}}}||
 +
{{#if: {{{level-req|}}}|
 +
<tr>
 +
    <th colspan="15">Level Required</th>
 +
    <td colspan="15">{{{level-req}}}</td>
 +
</tr>
 +
}}
 +
}}
 +
{{#if: {{{source|}}}|
 +
<tr>
 +
    <th colspan="15">Source</th>
 +
    <td colspan="15">{{{source}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
{{#if: {{{stab|{{{slash|{{{crush|{{{accuracy|{{{strength|{{{speed|{{{attacktype|}}}}}}}}}}}}}}}}}}}}}|
 +
<div class="infobox-title">Combat Stats</div>
 +
<div class="infobox-stats">
 +
<table style="padding: 1em;">
 +
{{#if: {{{stab|}}} |
 +
<tr>
 +
    <th width="90">Stab Defense</th>
 +
    <td>{{{stab}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{slash|}}} |
 +
<tr>
 +
    <th width="90">Slash Defense</th>
 +
    <td>{{{slash}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{crush|}}} |
 +
<tr>
 +
    <th width="90">Crush Defense</th>
 +
    <td>{{{crush}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{accuracy|}}} |
 +
<tr>
 +
    <th width="90">Accuracy</th>
 +
    <td>{{{accuracy}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{strength|}}} |
 +
<tr>
 +
    <th width="90">Strength</th>
 +
    <td>{{{strength}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{speed|}}} |
 +
<tr>
 +
    <th width="90">Attack Speed</th>
 +
    <td>{{{speed}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{attacktype|}}} |
 +
<tr>
 +
    <th width="90">Attack Type</th>
 +
    <td>{{{attacktype}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{slot|}}} |
 +
<tr>
 +
    <th width="90">Slot</th>
 +
    <td>{{{slot}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
</div>
 +
|}}
 +
{{#if:{{{non-combat-name|}}}|
 +
<div class="infobox-title">Non Combat Stat</div>
 +
<div class="infobox-stats">
 +
<table style="padding: 1em; margin: auto;">
 +
<tr>
 +
<th colspan="15">{{{non-combat-name}}}</th>
 +
<td colspan="15">{{{non-combat-stat}}}</td>
 +
</tr>
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{plot-size|{{{seed-exp|}}}}}}|
 +
<div class="infobox-title">Seeds</div>
 +
<div class="infobox-stats">
 +
<table style="padding: 1em; margin: auto;">
 +
{{#if: {{{level-req|}}}|
 +
<tr>
 +
    <th colspan="10">Level Required</th>
 +
    <td colspan="20" style="text-align: left;>{{{level-req}}}</td>
 +
</tr>
 +
}}
 +
<tr>
 +
    <th colspan="10">Experience</th>
 +
    <td colspan="20" style="text-align: left;>{{{seed-exp}}}</td>
 +
</tr>
 +
<tr>
 +
    <th colspan="10">Plot Size</th>
 +
    <td colspan="20" style="text-align: left;>{{{plot-size}}}</td>
 +
</tr>
 +
<tr>
 +
    <th colspan="10">Harvest Time</th>
 +
    <td colspan="20" style="text-align: left;>{{{harvest-time}}}</td>
 +
</tr>
 +
<tr>
 +
    <th colspan="10">Yield</th>
 +
    <td colspan="20" style="text-align: left;>{{{yield}}}</td>
 +
</tr>
 +
</table>
 +
</div>
 +
|}}
 +
</div>
 +
<noinclude>
  
;3 February 2021
+
====Usage====
*[https://www.reddit.com/r/Idlescape/comments/lb7xa7/update_3_february2021_v0840_new_combat_zone_guest/ v0.8.4 - New Combat Zone + Guest Login]
+
<pre>{{Infobox Item
 +
|title = Autofilled from pagename, only use if custom name is needed
 +
|image = Img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png
 +
|gold = Vendor price
 +
|heat = How much heat item gives when burned, e.g. coal gives 10
 +
|exp = How much exp item gives
 +
|aug-bonus = Use Infobox Equipment for equipment, augment bonus
 +
|aug-slots = Use Infobox Equipment for equipment, augment slots
 +
|hp = How much HP item provides
 +
|source = Source of acquiring, e.g. seeds come from foraging = [[Foraging]]
 +
|level-req = Lvl requirement for item
 +
|stab = Use Infobox Equipment for equipment, stab bonus
 +
|slash = Use Infobox Equipment for equipment, slash bonus
 +
|crush = Use Infobox Equipment for equipment, crush bonus
 +
|accuracy = Use Infobox Equipment for equipment, accuracy bonus
 +
|strength = Use Infobox Equipment for equipment, strength bonus
 +
|speed = Use Infobox Equipment for equipment, attack speed
 +
|attacktype = Use Infobox Equipment for equipment, attack type
 +
|slot = Use Infobox Equipment for equipment, what slot the item have
 +
|non-combat-name =
 +
|non-combat-stat =
 +
|plot-size = used for seeds only, plot size
 +
|seed-exp = used for seeds only, xp gain after farming
 +
|harvest-time = used for seeds only, harvest time
 +
|yield = used for seeds only, aprx. yield from seed
 +
}}</pre>
  
;10 January 2021
+
Copy pasta:
*[https://forum.idlescape.com/topic/21/update-10-january-2021-v0-8-3-christmas-event-drop-rate-increases-other v0.8.3 - Christmas Event drop rate increases + other]
+
<pre>{{Infobox Item
 
+
|title =
;8 January 2021
+
|image =
*[https://forum.idlescape.com/topic/19/update-8-january-2021-v0-8-2-christmas-event-additions-other v0.8.2 - Christmas Event additions + other]
+
|gold =
 
+
|heat =
;6 January 2021
+
|exp =
*[https://forum.idlescape.com/topic/15/update-6-january-2020-v0-8-1-bug-fixes-and-new-assets v0.8.1 - Bug fixes and new assets]
+
|aug-bonus =
 
+
|aug-slots =
<noinclude>
+
|hp =
====Form====
+
|source =
<pre>
+
|level-req =
; DD Month YYYY
+
|stab =
* [https://forum.idlescape.com/link-to-update BUILDNUMBER - UDPDATE TITLE]
+
|slash =
</pre>
+
|crush =
 +
|accuracy =
 +
|strength =
 +
|speed =
 +
|attacktype =
 +
|slot =  
 +
|non-combat-name =
 +
|non-combat-stat =
 +
|plot-size =
 +
|seed-exp =
 +
|harvest-time =
 +
|yield =
 +
}}</pre>
 
</noinclude>
 
</noinclude>

Revision as of 12:43, 8 February 2021

Infobox Item



Usage

{{Infobox Item
|title = Autofilled from pagename, only use if custom name is needed
|image = Img URL e.g. https://idlescape.com/images/fishing/raw_shrimp.png
|gold = Vendor price
|heat = How much heat item gives when burned, e.g. coal gives 10
|exp = How much exp item gives
|aug-bonus = Use Infobox Equipment for equipment, augment bonus
|aug-slots = Use Infobox Equipment for equipment, augment slots
|hp = How much HP item provides
|source = Source of acquiring, e.g. seeds come from foraging = [[Foraging]]
|level-req = Lvl requirement for item
|stab = Use Infobox Equipment for equipment, stab bonus
|slash = Use Infobox Equipment for equipment, slash bonus
|crush = Use Infobox Equipment for equipment, crush bonus
|accuracy = Use Infobox Equipment for equipment, accuracy bonus
|strength = Use Infobox Equipment for equipment, strength bonus
|speed = Use Infobox Equipment for equipment, attack speed
|attacktype = Use Infobox Equipment for equipment, attack type
|slot = Use Infobox Equipment for equipment, what slot the item have
|non-combat-name = 
|non-combat-stat =
|plot-size = used for seeds only, plot size
|seed-exp = used for seeds only, xp gain after farming
|harvest-time = used for seeds only, harvest time
|yield = used for seeds only, aprx. yield from seed
}}

Copy pasta:

{{Infobox Item
 |title = 
 |image =
 |gold =
 |heat =
 |exp =
 |aug-bonus = 
 |aug-slots = 
 |hp =
 |source =
 |level-req =
 |stab =
 |slash =
 |crush =
 |accuracy =
 |strength =
 |speed =
 |attacktype =
 |slot = 
 |non-combat-name =
 |non-combat-stat =
 |plot-size =
 |seed-exp =
 |harvest-time =
 |yield =
 }}