Editing Template:Infobox Equipment

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
<includeonly>{{Infobox
+
<div class="infobox">
| autoheaders    = y
+
<div class="infobox-header">{{{title|{{PAGENAME}}}}}</div>
| title         = {{{title|{{PAGENAME}}}}}
+
<div class="infobox-image"><img src="{{{image}}}" height="auto" width="130"></div>
image        = {{#if: {{{image|}}}|<img src="{{{image}}}" height="auto" width="130">|{{img|{{PAGENAME}}|130}}}}
+
<table style="padding: 1em; margin: auto;">
 +
{{#if: {{{gold|}}}|
 +
<tr>
 +
    <th colspan="10"><img src="https://idlescape.com/images/gold_coin.png" alt="Gold Coin" height="16" width="16"></th>
 +
    <td colspan="20">{{{gold}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{level-req|}}}|
 +
<tr>
 +
    <th colspan="10">Level Required</th>
 +
    <td colspan="20">{{{level-req}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{source|}}}|
 +
<tr>
 +
    <th colspan="10">Source</th>
 +
    <td colspan="20">{{{source}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{slot|}}}|
 +
<tr>
 +
    <th colspan="10">Slot</th>
 +
    <td colspan="20">{{{slot}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{atk-speed|}}}|
 +
<tr>
 +
    <th colspan="10">Attack Speed</th>
 +
    <td colspan="20">{{{atk-speed}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{atk-type|}}}|
 +
<tr>
 +
    <th colspan="10">Attack Type</th>
 +
    <td colspan="20">{{{atk-type}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{aug-slots|}}}|
 +
<tr>
 +
    <th colspan="10">Augument Slots</th>
 +
    <td colspan="20">{{{aug-slots}}}</td>
 +
</tr>
 +
|}}
 +
</table>
 +
{{#if: {{{acc|{{{melee-str|}}}}}}|
 +
<div class="infobox-title">Offensive Stats</div>
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table">
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">Accuracy</td>
 +
    <td colspan="15" class="infobox-nested">Melee Str</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{acc}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{melee-str}}}</td>
 +
  </tr>
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{def-stats|}}}|
 +
<div class="infobox-title">Defensive Stats</div>
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table">
 +
  <tr>
 +
    <td colspan="6" class="infobox-nested">Stab</td>
 +
    <td colspan="6" class="infobox-nested">Slash</td>
 +
    <td colspan="6" class="infobox-nested">Crush</td>
 +
    <td colspan="6" class="infobox-nested">Magic</td>
 +
    <td colspan="6" class="infobox-nested">Range</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="6" class="infobox-nested">{{{def-stab}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{def-slash}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{def-crush}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{def-magic}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{def-range}}}</td>
 +
  </tr>
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{miscname1|}}}|
 +
<div class="infobox-title">Misc. Stats</div>
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table" margin:auto;">
 +
{{#if:{{{miscname2|}}|
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{miscname1}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{miscname2}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{miscstat1}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{miscstat2}}}</td>
 +
  </tr>
 +
|
 +
  <tr>
 +
    <td colspan="30" class="infobox-nested">{{{miscname1}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="30" class="infobox-nested">{{{miscstat1}}}</td>
 +
  </tr>
 +
}}
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{aug-stab|{{{aug-slash|{{{aug-crush|{{{aug-magic|{{{aug-range|}}}}}}}}}}}}}}}|
 +
<div class="infobox-title">Augument Bonus</div>
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table">
 +
  <tr>
 +
    <td colspan="6" class="infobox-nested">Stab</td>
 +
    <td colspan="6" class="infobox-nested">Slash</td>
 +
    <td colspan="6" class="infobox-nested">Crush</td>
 +
    <td colspan="6" class="infobox-nested">Magic</td>
 +
    <td colspan="6" class="infobox-nested">Range</td>
 +
   </tr>
 +
  <tr>
 +
    <td colspan="6" class="infobox-nested">{{{aug-stab}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{aug-slash}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{aug-crush}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{aug-magic}}}</td>
 +
    <td colspan="6" class="infobox-nested">{{{aug-range}}}</td>
 +
  </tr>
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{aug-acc|{{{aug-melee-str|}}}}}}|
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table" margin:auto;">
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">Accuracy</td>
 +
    <td colspan="15" class="infobox-nested">Melee Str</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{aug-acc}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{aug-melee-str}}}</td>
 +
  </tr>
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{aug-miscname1|}}}|
 +
<div class="infobox-stats">
 +
<table class="fullWidth-table" margin:auto;">
 +
{{#if:{{{aug-miscname2|}}|
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{aug-miscname1}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{aug-miscname2}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="15" class="infobox-nested">{{{aug-miscstat1}}}</td>
 +
    <td colspan="15" class="infobox-nested">{{{aug-miscstat2}}}</td>
 +
  </tr>
 +
|
 +
  <tr>
 +
    <td colspan="30" class="infobox-nested">{{{aug-miscname1}}}</td>
 +
  </tr>
 +
  <tr>
 +
    <td colspan="30" class="infobox-nested">{{{aug-miscstat1}}}</td>
 +
  </tr>
 +
}}
 +
</table>
 +
</div>
 +
|}}
 +
{{#if: {{{aug-cost|}}}|
 +
<div class="infobox-stats">
 +
<table style="padding: 1em; margin:auto;">
 +
<tr>
 +
    <th colspan="15">Aug. Cost</th>
 +
    <td style="text-align: left; vertical-align: middle;" colspan="15">{{{aug-cost}}}</td>
 +
</tr>
 +
</table>
 +
</div>
 +
|}}
 +
</div>
 +
<noinclude>
 +
====Usage====
 +
<nowiki>{{Infobox Equipment</nowiki>
 +
|title = Automatic pagename, only use this if custom name is needed
 +
|image = URL
 +
|gold = vendor sell price
 +
|level-req = level required to use item
 +
|source = Source of item
 +
|slot = Helmet/Shield etc
 +
|atk-speed = Attack speed
 +
|atk-type = only needed for weapons or if armor gives attack bonus
 +
|aug-slots = Amount of aug slots
 +
|acc = Only shown if either acc or melee-str has a input - accuracy bonus
 +
|melee-str = Only shown if either acc or melee-str has a input - melee strength bonus
 +
|def-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown
 +
  |def-stab = Requires def-stats - stab stats
 +
  |def-slash = Requires def-stats - slash stats
 +
  |def-crush = Requires def-stats - crush stats
 +
  |def-magic = Requires def-stats - magic stats
 +
  |def-range = Requires def-stats - range stats
 +
|miscname1 = Name of first misc stat
 +
|miscstat1 = Requires miscname1
 +
|miscname2 = Name of second misc stat. Only shown of miscname1 is filled
 +
|miscstat2 = Requires miscname1 and miscname2
 +
|aug-stab = stab aug bonus
 +
|aug-slash = slash aug bonus
 +
|aug-crush = crush aug bonus
 +
|aug-magic = magic aug bonus
 +
|aug-range = range aug bonus
 +
|aug-acc = Only shown if either aug-acc or aug-melee-str has a input - accuracy aug bonus
 +
|aug-melee-str = Only shown if either aug-acc or aug-melee-str has a input - melee strength aug bonus
 +
|aug-miscname1 = Name of first misc stat
 +
|aug-miscstat1 = Requires miscname1
 +
|aug-miscname2 = Name of second misc stat. Only shown of miscname1 is filled
 +
|aug-miscstat2 = Requires miscname1 and miscname2
 +
|aug-cost = augument material cost
 +
<nowiki>}}</nowiki>
  
|  label1  = {{img|gold coin}}
+
====Copy pasta code:====
|  data1  = {{{gold|}}}
+
 
| label2  = {{img|marketplace}}
+
<pre>
|   data2  = {{market|{{{market|{{PAGENAME}}}}}|1|1}}
+
{{Infobox Equipment
| label3  = Level Required
+
|title =  
|   data3  = {{{level-req|}}}
+
|image =  
|  label4  = Source
+
|gold =  
|   data4  = {{{source|}}}
+
|level-req =  
|  label5  = Slot
+
|source =  
|   data5  = {{{slot|}}}
+
|slot =  
|  label6  = Attack Speed
+
|atk-speed =  
|   data6  = {{{atk-speed|}}}
+
|atk-type =  
|  label7  = Attack Type
+
|aug-slots =  
|   data7  = {{{atk-type|}}}
+
|acc =  
|  label8  = Enchantment Slots
+
|melee-str =  
|   data8  = {{{aug-slots|}}}
+
|def-stats =  
|  label9  = Enchantments
+
|def-stab =  
|   data9  = {{{enchantments|}}}
+
|def-slash =  
| header20 = Offensive Stats
+
|def-crush =  
| slabel21 = Accuracy
+
|def-magic =  
|  sdata21 = {{{acc|}}}
+
|def-range =  
| slabel22 = Melee Str
+
|miscname1 =
| sdata22 = {{{melee-str|}}}
+
|miscstat1 =
| slabel23 = Magic Str
+
|miscname2 =
| sdata23 = {{{magic-str|}}}
+
|miscstat2 =
| slabel24 = Range Str
+
|aug-stab =  
| sdata24 = {{{range-str|}}}
+
|aug-slash =  
| header30 = Defensive Stats
+
|aug-crush =  
| slabel31 = Stab
+
|aug-magic =  
|  sdata31 = {{{def-stab|}}}
+
|aug-range =  
| slabel32 = Slash
+
|aug-acc =
| sdata32 = {{{def-slash|}}}
+
|aug-melee-str =  
| slabel33 = Crush
+
|aug-miscname1 =
| sdata33 = {{{def-crush|}}}
+
|aug-miscstat1 =
| slabel34 = Magic
+
|aug-miscname2 =
| sdata34 = {{{def-magic|}}}
+
|aug-miscstat2 =
| slabel35 = Range
+
|aug-cost =
| sdata35 = {{{def-range|}}}
 
| sbreak50 = yes
 
| slabel51 = {{{miscname1|}}}
 
| sdata51 = {{{miscstat1|}}}
 
| slabel52 = {{{miscname2|}}}
 
| sdata52 = {{{miscstat2|}}}
 
| sbreak60 = yes
 
| slabel61 = {{{miscname3|}}}
 
|  sdata61 = {{{miscstat3|}}}
 
| slabel62 = {{{miscname4|}}}
 
|  sdata62 = {{{miscstat4|}}}
 
| header70 = Augment Bonus
 
| slabel71 = Accuracy
 
|  sdata71 = {{{aug-acc|}}}
 
| slabel72 = Melee Str
 
|  sdata72 = {{{aug-melee-str|}}}
 
| slabel73 = Magic Str
 
|  sdata73 = {{{aug-magic-str|}}}
 
| slabel74 = Range Str
 
|  sdata74 = {{{aug-range-str|}}}
 
| sbreak80 = yes
 
| slabel81 = Stab
 
|  sdata81 = {{{aug-stab|}}}
 
| slabel82 = Slash
 
| sdata82 = {{{aug-slash|}}}
 
| slabel83 = Crush
 
| sdata83 = {{{aug-crush|}}}
 
| slabel84 = Magic
 
| sdata84 = {{{aug-magic|}}}
 
| slabel85 = Range
 
| sdata85 = {{{aug-range|}}}
 
| sbreak100= yes
 
| slabel101= {{{aug-miscname1|}}}
 
| sdata101= {{{aug-miscstat1|}}}
 
| slabel102= {{{aug-miscname2|}}}
 
| sdata102= {{{aug-miscstat2|}}}
 
| sbreak110= yes
 
| slabel111= {{{aug-miscname3|}}}
 
| sdata111= {{{aug-miscstat3|}}}
 
| slabel112= {{{aug-miscname4|}}}
 
| sdata112= {{{aug-miscstat4|}}}
 
|  data120= {{Infobox | subbox = yes
 
| bodystyle= padding: 0.5em; margin:auto;
 
|  label1  = Aug. Cost
 
|  data1  = {{{aug-cost|}}}
 
 
}}
 
}}
| header130= Tooltip
+
</pre>
|  data131= {{Infobox | subbox = yes
+
 
| bodystyle= padding: 0.5em; margin:auto; font-style:italic; font-size:110%; text-align: center
+
</noinclude>
|    data1 = {{{tooltip|}}}
 
}}
 
}}</includeonly>
 
<noinclude>{{Template:Infobox Equipment/doc}}</noinclude>
 

Please note that all contributions to Idlescape Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see IdleScape Wiki:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)