Difference between revisions of "Template:Infobox Item V2"

From Corruption of Champions II
Jump to navigation Jump to search
m
 
(33 intermediate revisions by the same user not shown)
Line 38: Line 38:
 
<tr>
 
<tr>
 
  <td style="width: 50%; 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 style="width: 50%;">{{{itemtype|}}}</td>
+
  <td style="width: 50%;">{{#switch:{{{itemtype|}}}
 +
|Consumable={{cw|itm-consumable}}
 +
|#default={{{itemtype|}}}
 +
}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 44: Line 47:
 
<tr>
 
<tr>
 
  <td style="width: 50%; 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 style="width: 50%;">{{{slot|}}}</td>
+
  <td style="width: 50%;">{{#switch:{{{slot|}}}
 +
|Primary={{cw|itm-primary}}
 +
|Offhand={{cw|itm-offhand}}
 +
|Primary & Offhand={{cw|itm-prioff}}
 +
|Head={{cw|itm-head}}
 +
|Armor={{cw|itm-armor}}
 +
|Hands={{cw|itm-hands}}
 +
|Feet={{cw|itm-feet}}
 +
|Neck={{cw|itm-neck}}
 +
|Shoulders={{cw|itm-shoulders}}
 +
|Waist={{cw|itm-waist}}
 +
|Ring={{cw|itm-ring}}
 +
|Top={{cw|itm-top}}
 +
|Bottom={{cw|itm-bottom}}
 +
|#default={{{slot|}}}
 +
}}</td>
 +
</tr>
 +
}}
 +
{{#if: {{{weaptype|}}} |
 +
<tr>
 +
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Weapon Type</b></td>
 +
<td style="width: 50%;">{{#switch:{{{weaptype|}}}|Melee={{cw|itm-melee}}|Ranged={{cw|itm-ranged}}|Thrown={{cw|itm-thrown}}|Melee & Thrown={{cw|itm-melthr}}}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 51: Line 75:
 
  <td style="width: 50%; 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 style="width: 50%;">{{{weapclass|}}}</td>
 
  <td style="width: 50%;">{{{weapclass|}}}</td>
</tr>
 
}}
 
{{#if: {{{weaptype|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Weapon Type</b></td>
 
<td style="width: 50%;">{{{weaptype|}}}</td>
 
 
</tr>
 
</tr>
 
}}
 
}}
Line 86: Line 104:
 
<tr>
 
<tr>
 
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Tags</b></td>
 
  <td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Tags</b></td>
  <td>{{{tags|}}}</td>
+
  <td>{{#switch:{{{tags|}}}
 +
|Bladed={{cw|itm-bladed}}
 +
|Bladed<br>Catalyst={{cw|itm-bladed}}<br>{{cw|itm-catalyst}}
 +
|Bladed<br>Catalyst<br>Heavy={{cw|itm-bladed}}<br>{{cw|itm-catalyst}}<br>{{cw|itm-heavy}}
 +
|Bladed<br>Heavy={{cw|itm-bladed}}<br>{{cw|itm-heavy}}
 +
|Bladed<br>Heavy<br>Metal={{cw|itm-bladed}}<br>{{cw|itm-heavy}}<br>{{cw|itm-metal}}
 +
|Bladed<br>Metal={{cw|itm-bladed}}<br>{{cw|itm-metal}}
 +
|Bladed<br>Unsellable<br>Undroppable={{cw|itm-bladed}}<br>{{cw|itm-undrop}}
 +
|Catalyst={{cw|itm-catalyst}}
 +
|Catalyst<br>Metal={{cw|itm-catalyst}}<br>{{cw|itm-metal}}
 +
|Catalyst<br>Shield={{cw|itm-catalyst}}<br>{{cw|itm-shield}}
 +
|Cloth={{cw|itm-cloth}}
 +
|Cloth<br>Light={{cw|itm-cloth}}<br>{{cw|itm-light}}
 +
|Cloth<br>Treasure={{cw|itm-cloth}}<br>{{cw|itm-treasure}}
 +
|Heavy<br>Leather={{cw|itm-heavy}}<br>{{cw|itm-leather}}
 +
|Leather={{cw|itm-leather}}
 +
|Leather<br>Light={{cw|itm-leather}}<br>{{cw|itm-light}}
 +
|Leather<br>Shield={{cw|itm-leather}}<br>{{cw|itm-shield}}
 +
|Light={{cw|itm-light}}
 +
|Light<br>Metal={{cw|itm-light}}<br>{{cw|itm-metal}}
 +
|Heavy={{cw|itm-heavy}}
 +
|Heavy<br>Metal={{cw|itm-heavy}}<br>{{cw|itm-metal}}
 +
|Heavy<br>Metal<br>Shield={{cw|itm-heavy}}<br>{{cw|itm-metal}}<br>{{cw|itm-shield}}
 +
|Metal={{cw|itm-metal}}
 +
|Metal<br>Shield={{cw|itm-metal}}<br>{{cw|itm-shield}}
 +
|Shield={{cw|itm-shield}}
 +
|Unsellable<br>Undroppable={{cw|itm-undrop}}
 +
|#default={{{tags|}}}
 +
}}</td>
 
</tr>
 
</tr>
 
}}
 
}}
Line 230: Line 276:
 
<tr>
 
<tr>
 
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Damage</b></th>
 
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Damage</b></th>
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Type</b></th>
+
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Property</b></th>
 
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Resistance</b></th>
 
  <th style="width: 33%; text-align: center; background-color: #708090;"><b>Resistance</b></th>
 
</tr>
 
</tr>

Latest revision as of 11:00, 1 May 2026

Crediting

Adapted from Template:Infobox Character V2

Usage

temp
Contributors temp
Other Name(s) temp
Information
Has Special Effect? Yes
Is Unique? No
Can be Refined? NO
Tags Butt
Tress
Version Added does not exist
Stats
Offensive
Attack Power Spellpower Sexiness
- 3 -
Armor
Penetration
Spell
Penetration
Temptation
- 21 4
Accuracy Critical
Chance
Critical
Effectiveness
- 4 -
Initiative Leadership Threat
test - benis
Defensive
Armor Ward Focus
4 - -
Physical
Resist
Magic
Resist
Mental
Resist
- test -
Evasion Max HP
h +20
Damage & Resistance
Attack Type TEST
Damage Property Resistance
Physical
1 Crushing 2
- Penetrating e
Elemental
f Acid -
- Blight d
f Fire -
- Frost 5
12 Holy -
- Storm a
Mental
- Drug 51
- Pheromone b
- Psychic f
- Tease n
Special
- Raw 21
  • Note that in the table below for the Stats and Damage & Resistance tables, if a stat does not have a value, it will result in a default [-]
{{Infobox Item V2
|name = temp
|image = 
|caption = 
|creators = 
|contributors =
|othernames =
|itemtype = 
|slot = 
|weapclass =
|weaptype = 
|price = 
|hasspeceff = 
|isunique = 
|canrefine = 
|tags = 
|stacklimit = 
|usable = 
|combatusable = 
|versionadded  = 
|changelog =
|statstable = [yes] or [leave empty if none]
|attackpow= |spellpow= |sexi= ||armorpen= |spellpen= |temp= |acc= |crit= |critE= |init= |lead= |threat= 
|armor= |ward= |focus= |phyr= |magr= |menr= |eva= |maxhp=
|dmgnresttable = [yes] or [leave empty if none]
|atktype =
|crud= |crur= |pend= |penr= 
|acid= |acir= |blid= |blir= |fird= |firr= |frod= |fror= |hold= |holr= |stod= |stor=
|drud= |drur= |fatd= |fatr= |phed= |pher= |mind= |minr= |tead= |tear=      
|rawd= |rawr= 
}}