Difference between revisions of "Template:Infobox Item V2"

From Corruption of Champions II
Jump to navigation Jump to search
(added Damage Category [dmgcat])
(forced width on tables to keep them balanced and orderly - TODO:Optimize this bloated shit at a later date)
Line 23: Line 23:
 
{{#if: {{{othernames|}}} |
 
{{#if: {{{othernames|}}} |
 
<tr>
 
<tr>
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Other Name(s)</b></td>
+
  <td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Other Name(s)</b></td>
  <td>{{{othernames|}}}</td>
+
  <td style="width: 50%;">{{{othernames|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 32: Line 32:
 
{{#if: {{{itemtype|}}} |
 
{{#if: {{{itemtype|}}} |
 
<tr>
 
<tr>
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Item Type</b></td>
+
  <td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Item Type</b></td>
  <td>{{{itemtype|}}}</td>
+
  <td style="width: 50%;">{{{itemtype|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{slot|}}} |
 
{{#if: {{{slot|}}} |
 
<tr>
 
<tr>
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Slot</b></td>
+
  <td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Slot</b></td>
  <td>{{{slot|}}}</td>
+
  <td style="width: 50%;">{{{slot|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
 
{{#if: {{{weapclass|}}} |
 
{{#if: {{{weapclass|}}} |
 
<tr>
 
<tr>
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Weapon Class</b></td>
+
  <td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Weapon Class</b></td>
  <td>{{{weapclass|}}}</td>
+
  <td style="width: 50%;">{{{weapclass|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 56: Line 56:
 
{{#if: {{{hasspeceff|}}} |
 
{{#if: {{{hasspeceff|}}} |
 
<tr>
 
<tr>
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Has Special Effect?</b></td>
+
  <td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Has Special Effect?</b></td>
  <td>{{{hasspeceff|}}}</td>
+
  <td style="width: 50%;">{{{hasspeceff|}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 188: Line 188:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
  <th style="text-align: center; background-color: #708090; color: #FFFFFF"><b>Damage</b></th>
+
  <th style="width: 33%; text-align: center; background-color: #708090; color: #FFFFFF"><b>Damage</b></th>
  <th style="text-align: center; background-color: #708090; color: #FFFFFF"><b>Type</b></th>
+
  <th style="width: 33%; text-align: center; background-color: #708090; color: #FFFFFF"><b>Type</b></th>
  <th style="text-align: center; background-color: #708090; color: #FFFFFF"><b>Resistances</b></th>
+
  <th style="width: 33%; text-align: center; background-color: #708090; color: #FFFFFF"><b>Resistances</b></th>
 
</tr>
 
</tr>
 
{{#if: {{{phyd|}}}{{{phyr|}}} |
 
{{#if: {{{phyd|}}}{{{phyr|}}} |

Revision as of 14:25, 14 January 2024

Crediting

Adapted from Template:Infobox Character V2

Usage

temp
Contributors temp
Other Name(s) temp
Information
Has Special Effect? Yes
Is Unique? No
Tags Butt
Tress
Version Added does not exist
Stats
Spellpower Spell Penetration 21
Accuracy Critical Chance 4
Focus 4 Initiative
Sexiness Temptation 4
Leadership Max HP +20
Threat benis
Damage & Resistances
Damage Category test
Damage Type Resistances
21 Mental
12 Holy
Frost 5
Drug 51
Raw 21
{{Infobox Item V2
|name = temp
|image = 
|creators = 
|contributors = temp
|othernames = temp
|itemtype = 
|slot = 
|weapclass = 
|price = 
|hasspeceff = 
|isunique = 
|tags = 
|stacklimit = 
|usable = 
|combatusable = 
|versionadded  = 
|changelog =
|statstable = [yes] or [leave empty if none]
|armor = 
|armorpen = 
|spellpow = 
|spellpen = 
|eva = 
|ward = 
|acc = 
|crit = 
|focus = 
|init = 
|sexi = 
|temp = 
|lead = 
|maxhp = 
|attackpow = 
|threat = benis
|dmgnresttable = [yes] or [leave empty if none]
|dmgcat = test
|phyd = 
|phyr = 
|magd =
|magr = 
|mend = 
|menr = 
|pend = 
|penr = 
|crud = 
|crur = 
|hold = 
|holr = 
|blid = 
|blir = 
|acid = 
|acir = 
|fird = 
|firr = 
|frod = 
|fror = 
|stod = 
|stor = 
|tead = 
|tear = 
|drud = 
|drur = 
|phed = 
|pher = 
|fatd = 
|fatr = 
|psycd = 
|psycr = 
|rawd = 
|rawr = 
}}