Difference between revisions of "Template:Infobox Item V2.5"

From Corruption of Champions II
Jump to navigation Jump to search
(test bed)
 
(scrap test bed)
Tag: Replaced
 
Line 1: Line 1:
<includeonly>
+
[[Category:Candidates for deletion]]
<table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius:10px; border: 2px solid black;">
 
<tr>
 
<th colspan="2" style="text-align: center; color: #FFFFFF; height: 24px; font-size: medium; background-color: #708090;"><b>{{{name|}}}</b></th>
 
</tr>
 
{{#if: {{{image|}}} |
 
<tr>
 
<td colspan="2">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}</td>
 
</tr>
 
}}
 
{{#if: {{{caption|}}} |
 
<tr>
 
<td colspan="2" style="text-align: center;">{{{caption|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{creators|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Creators</b></td>
 
<td>{{{creators|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{contributors|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Contributors</b></td>
 
<td>{{{contributors|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{othernames|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Other Name(s)</b></td>
 
<td style="width: 50%;">{{{othernames|}}}</td>
 
</tr>
 
}}
 
<tr>
 
<th colspan="2" style="text-align: center; background-color: #708090; color: #FFFFFF"><b>Information</b></th>
 
</tr>
 
{{#if: {{{itemtype|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Item Type</b></td>
 
<td style="width: 50%;">{{{itemtype|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{slot|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Slot</b></td>
 
<td style="width: 50%;">{{{slot|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{weapclass|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Weapon Class</b></td>
 
<td style="width: 50%;">{{{weapclass|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{classtype|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Class Type</b></td>
 
<td style="width: 50%;">{{{classtype|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{price|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Price</b></td>
 
<td>{{{price|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{hasspeceff|}}} |
 
<tr>
 
<td style="width: 50%; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Has Special Effect?</b></td>
 
<td style="width: 50%;">{{{hasspeceff|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{isunique|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Is Unique?</b></td>
 
<td>{{{isunique|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{canrefine|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Can be Refined?</b></td>
 
<td>{{{canrefine|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{tags|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Tags</b></td>
 
<td>{{{tags|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{stacklimit|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Stack Limit</b></td>
 
<td>{{{stacklimit|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{usable|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Usable</b></td>
 
<td>{{{usable|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{combatusable|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Combat Usable</b></td>
 
<td>{{{combatusable|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{versionadded|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Version Added</b></td>
 
<td>{{{versionadded|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{changelog|}}} |
 
<tr>
 
<td style="padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Changelog</b></td>
 
<td class="mw-collapsible mw-collapsed">{{{changelog|}}}</td>
 
</tr>
 
}}
 
</table>{{#if: {{{statstable|}}} |
 
<table class="infobox" style="width: 400px; font-size: 100%; border-radius: 10px; border: 2px solid black; color: #FFFF;">
 
<tr>
 
<th colspan="3" style="height: 24px; font-size: medium; background-color: #708090; text-align:center;"><b>Stats</b></th>
 
</tr>
 
{{#if: {{{attackpow|}}}{{{spellpow|}}}{{{sexi|}}}{{{armorpen|}}}{{{spellpen|}}}{{{temp|}}}{{{acc|}}}{{{crit|}}}{{{critE}}}|
 
<tr>
 
<th colspan="3" style="background-color: #000000; text-align:center;"><b>Offensive</b></th>
 
</tr>
 
}}
 
{{#if: {{{attackpow|}}}{{{spellpow|}}}{{{sexi|}}} |
 
<tr>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Attack Power'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Spellpower'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Sexiness'''</td>
 
</tr>
 
<tr>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{attackpow|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{spellpow|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{sexi|}}}</td>
 
</td>
 
}}
 
{{#if: {{{armorpen|}}}{{{spellpen|}}}{{{temp|}}} |
 
<tr>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Armor<br>Penetration'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Spell<br>Penetration'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Temptation'''</td>
 
</tr>
 
<tr>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{armorpen|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{spellpen|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{temp|}}}</td>
 
</td>
 
}}
 
{{#if: {{{acc|}}}{{{crit|}}}{{{critE|}}} |
 
<tr>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Accuracy'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Critical<br>Chance'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Critical<br>Effectiveness'''</td>
 
</tr>
 
<tr>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{acc|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{crit|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{critE|}}}</td>
 
</td>
 
}}
 
{{#if: {{{armor|}}}{{{ward|}}}{{{focus|}}}{{{eva|}}}{{{phyr|}}}{{{magr|}}}{{{menr|}}}|
 
<tr>
 
<th colspan="3" style="background-color: #000000; text-align:center;"><b>Defensive</b></th>
 
</tr>
 
}}
 
{{#if: {{{armor|}}}{{{ward}}}{{{focus|}}} |
 
<tr>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Armor'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Ward'''</td>
 
<td style="width: 33%; background-color: #708090; text-align:center;">'''Focus'''</td>
 
</tr>
 
<tr>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{armor|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{ward|}}}</td>
 
<td style="width: 33%; color: #000000; text-align:center;">{{{focus|}}}</td>
 
</td>
 
}}
 
</table>
 
}}{{#if: {{{dmgnresttable|}}} |
 
<table class="infobox" style="text-align: left; width: 400px; font-size: 100%; border-radius:10px; border: 2px solid black;">
 
<tr>
 
<th colspan="3" style="text-align: center; color: #FFFFFF; height: 24px; font-size: medium; background-color: #708090;"><b>Damage & Resistances</b></th>
 
</tr>
 
{{#if: {{{atktype|}}} |
 
<tr>
 
<th colspan="2" style="text-align: center; background-color: #708090; color: #FFFFFF"><b>Attack Type</b></th>
 
<td style="text-align: center">{{{atktype|}}}</td>
 
</tr>
 
}}
 
<tr>
 
<th style="width: 33%; 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>Type</b></th>
 
<th style="width: 33%; text-align: center; background-color: #708090; color: #FFFFFF"><b>Resistances</b></th>
 
</tr>
 
{{#if: {{{phyd|}}}{{{phyr|}}} |
 
<tr>
 
<td style="text-align: center">{{{phyd|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Physical</b></td>
 
<td style="text-align: center">{{{phyr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{magd|}}}{{{magr|}}} |
 
<tr>
 
<td style="text-align: center">{{{magd|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Magic</b></td>
 
<td style="text-align: center">{{{magr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{mend|}}}{{{menr|}}} |
 
<tr>
 
<td style="text-align: center">{{{mend|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Mental</b></td>
 
<td style="text-align: center">{{{menr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{pend|}}}{{{penr|}}} |
 
<tr>
 
<td style="text-align: center">{{{pend|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Penetrating</b></td>
 
<td style="text-align: center">{{{penr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{crud|}}}{{{crur|}}} |
 
<tr>
 
<td style="text-align: center">{{{crud|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Crushing</b></td>
 
<td style="text-align: center">{{{crur|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{hold|}}}{{{holr|}}} |
 
<tr>
 
<td style="text-align: center">{{{hold|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Holy</b></td>
 
<td style="text-align: center">{{{holr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{blid|}}}{{{blir|}}} |
 
<tr>
 
<td style="text-align: center">{{{blid|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Blight</b></td>
 
<td style="text-align: center">{{{blir|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{acid|}}}{{{acir|}}} |
 
<tr>
 
<td style="text-align: center">{{{acid|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Acid</b></td>
 
<td style="text-align: center">{{{acir|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{fird|}}}{{{firr|}}} |
 
<tr>
 
<td style="text-align: center">{{{fird|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Fire</b></td>
 
<td style="text-align: center">{{{firr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{frod|}}}{{{fror|}}} |
 
<tr>
 
<td style="text-align: center">{{{frod|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Frost</b></td>
 
<td style="text-align: center">{{{fror|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{stod|}}}{{{stor|}}} |
 
<tr>
 
<td style="text-align: center">{{{stod|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Storm</b></td>
 
<td style="text-align: center">{{{stor|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{tead|}}}{{{tear|}}} |
 
<tr>
 
<td style="text-align: center">{{{tead|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Tease</b></td>
 
<td style="text-align: center">{{{tear|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{drud|}}}{{{drur|}}} |
 
<tr>
 
<td style="text-align: center">{{{drud|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Drug</b></td>
 
<td style="text-align: center">{{{drur|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{phed|}}}{{{pher|}}} |
 
<tr>
 
<td style="text-align: center">{{{phed|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Pheromone</b></td>
 
<td style="text-align: center">{{{pher|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{fatd|}}}{{{fatr|}}} |
 
<tr>
 
<td style="text-align: center">{{{fatd|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Fatigue</b></td>
 
<td style="text-align: center">{{{fatr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{psycd|}}}{{{psycr|}}} |
 
<tr>
 
<td style="text-align: center">{{{pyscd|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Psychic</b></td>
 
<td style="text-align: center">{{{psycr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{mind|}}}{{{minr|}}} |
 
<tr>
 
<td style="text-align: center">{{{mind|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Mind</b></td>
 
<td style="text-align: center">{{{minr|}}}</td>
 
</tr>
 
}}
 
{{#if: {{{rawd|}}}{{{rawr|}}} |
 
<tr>
 
<td style="text-align: center">{{{rawd|}}}</td>
 
<td style="text-align: center; padding-left: 2%; background-color: #708090; color: #FFFFFF"><b>Raw</b></td>
 
<td style="text-align: center">{{{rawr|}}}</td>
 
</tr>
 
}}
 
</table>
 
}}</includeonly><noinclude>
 
==Crediting==
 
Adapted from [[Template:Infobox Character V2]]
 
==Usage==
 
{{Infobox Item V2
 
|name = temp
 
|image =
 
|caption =
 
|creators =
 
|contributors = temp
 
|othernames = temp
 
|itemtype =
 
|slot =
 
|weapclass =
 
|classtype =
 
|price =
 
|hasspeceff = Yes
 
|isunique = No
 
|canrefine = NO
 
|tags = Butt<br>Tress
 
|stacklimit =
 
|usable =
 
|combatusable =
 
|versionadded  = does not exist
 
|changelog =
 
|statstable = yes
 
|attackpow=
 
|spellpow=52
 
|sexi=
 
|armorpen =
 
|spellpen = 21
 
|temp = 4
 
|acc = 5
 
|crit =
 
|critE =
 
|eva =
 
|ward =
 
|focus = 4
 
|armor
 
|init =
 
|lead =
 
|maxhp = +20
 
|threat =
 
|dmgnresttable = yes
 
|atktype = test
 
|phyd =
 
|phyr =
 
|magd =
 
|magr =
 
|mend = 21
 
|menr =
 
|pend =
 
|penr =
 
|crud =
 
|crur =
 
|hold = 12
 
|holr =
 
|blid =
 
|blir =
 
|acid =
 
|acir =
 
|fird =
 
|firr =
 
|frod =
 
|fror = 5
 
|stod =
 
|stor =
 
|tead =
 
|tear =
 
|drud =
 
|drur = 51
 
|phed =
 
|pher =
 
|fatd =
 
|fatr =
 
|psycd =
 
|psycr =
 
|mind =
 
|minr =
 
|rawd =
 
|rawr = 21
 
}}
 
<pre><nowiki>
 
{{Infobox Item V2
 
|name = temp
 
|image =
 
|caption =
 
|creators =
 
|contributors = temp
 
|othernames = temp
 
|itemtype =
 
|slot =
 
|weapclass =
 
|classtype =
 
|price =
 
|hasspeceff =
 
|isunique =
 
|canrefine =
 
|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]
 
|atktype = 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 =
 
|mind =
 
|minr =
 
|rawd =
 
|rawr =
 
}}
 
</nowiki></pre>
 
</noinclude>
 

Latest revision as of 13:51, 24 October 2024