Template:KaeItem: Difference between revisions

From Kaetram Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>
{| class="wikitable" style="width: 300px; float: right; margin: 0 0 1em 1em;"
This is the "KaeItem" infobox template.
|+ style="font-size: 1.2em; font-weight: bold;" | {{{name|{{PAGENAME}}}}}
 
|-
Usage:
{{#if:{{{image|}}}|
{{KaeItem
<td colspan="2" style="text-align: center;">[[File:{{{image}}}|250px]]</td>
| name =
| image =
| type =
| rarity =
| price =
| skill =
| level =
| secondSkill =
| secondLevel =
| divinityExperience =
| attack_crush =
| attack_slash =
| attack_stab =
| attack_archery =
| attack_magic =
| defense_crush =
| defense_slash =
| defense_stab =
| defense_archery =
| defense_magic =
| bonus_accuracy =
| bonus_strength =
| bonus_archery =
| bonus_magic =
}}
}}
</noinclude>
<includeonly>
{| class="infobox wikitable" style="width:300px; float:right; margin-left:1em;"


<!-- Title -->
|-
|-
! colspan="2" style="text-align:center; font-size:120%; background:#f2f2f2;" |
{{#if:{{{key|}}}{{{skill|}}}{{{type|}}}{{{price|}}}{{{rarity|}}}|
{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! colspan="2" style="text-align: center; background: #eee;" | General Info
 
<!-- Image -->
{{#if:{{{image|}}}|
|-
|-
| colspan="2" style="text-align:center;" |
{{#if:{{{key|}}}|  | **Key** || {{{key}}}
{{{image}}}
}}
 
<!-- Basic Info -->
{{#if:{{{type|}}}|
|-
|-
! Type
}}{{#if:{{{skill|}}}| | **Skill** || {{{skill}}} {{#if:{{{level|}}}|({{{level}}})}}
| {{{type}}}
}}
 
{{#if:{{{rarity|}}}|
|-
|-
! Rarity
}}{{#if:{{{secondSkill|}}}| | **Skill 2** || {{{secondSkill}}} {{#if:{{{secondLevel|}}}|({{{secondLevel}}})}}
| {{{rarity}}}
}}
 
{{#if:{{{price|}}}|
|-
|-
! Price
}}{{#if:{{{type|}}}| | **Type** || {{{type}}}
| {{{price}}}
}}
 
<!-- Requirements -->
{{#if:{{{skill|}}}|
|-
|-
! Requirement
}}{{#if:{{{price|}}}| | **Price** || {{{price}}}
| {{{skill}}}{{#if:{{{level|}}}| ({{{level}}})}}
}}
 
{{#if:{{{secondSkill|}}}|
|-
|-
! Second Req.
}}{{#if:{{{rarity|}}}| | **Rarity** || {{{rarity}}}
| {{{secondSkill}}}{{#if:{{{secondLevel|}}}| ({{{secondLevel}}})}}
}}
 
{{#if:{{{divinityExperience|}}}|
|-
|-
! Divinity XP
}} }}
| {{{divinityExperience}}}
}}


<!-- Attack Stats -->
{{#if:{{{attack_crush|}}}{{{attack_slash|}}}{{{attack_stab|}}}{{{attack_archery|}}}{{{attack_magic|}}}|
{{#if:{{{attack_crush|}}}{{{attack_slash|}}}{{{attack_stab|}}}{{{attack_archery|}}}{{{attack_magic|}}}|
! colspan="2" style="text-align: center; background: #eef;" | Offensive Stats
|-
|-
! colspan="2" style="text-align:center; background:#e6e6e6;" | Attack Stats
{{#if:{{{attack_crush|}}}| | Attack (Crush) || {{{attack_crush}}}
|-
|-
| Crush
}}{{#if:{{{attack_slash|}}}| | Attack (Slash) || {{{attack_slash}}}
| {{{attack_crush|0}}}
|-
|-
| Slash
}}{{#if:{{{attack_stab|}}}| | Attack (Stab) || {{{attack_stab}}}
| {{{attack_slash|0}}}
|-
|-
| Stab
}}{{#if:{{{attack_archery|}}}| | Attack (Archery) || {{{attack_archery}}}
| {{{attack_stab|0}}}
|-
|-
| Archery
}}{{#if:{{{attack_magic|}}}| | Attack (Magic) || {{{attack_magic}}}
| {{{attack_archery|0}}}
|-
|-
| Magic
}} }}
| {{{attack_magic|0}}}
}}


<!-- Defense Stats -->
{{#if:{{{defense_crush|}}}{{{defense_slash|}}}{{{defense_stab|}}}{{{defense_archery|}}}{{{defense_magic|}}}|
{{#if:{{{defense_crush|}}}{{{defense_slash|}}}{{{defense_stab|}}}{{{defense_archery|}}}{{{defense_magic|}}}|
! colspan="2" style="text-align: center; background: #efe;" | Defensive Stats
|-
|-
! colspan="2" style="text-align:center; background:#e6e6e6;" | Defense Stats
{{#if:{{{defense_crush|}}}| | Defense (Crush) || {{{defense_crush}}}
|-
|-
| Crush
}}{{#if:{{{defense_slash|}}}| | Defense (Slash) || {{{defense_slash}}}
| {{{defense_crush|0}}}
|-
|-
| Slash
}}{{#if:{{{defense_stab|}}}| | Defense (Stab) || {{{defense_stab}}}
| {{{defense_slash|0}}}
|-
|-
| Stab
}}{{#if:{{{defense_archery|}}}| | Defense (Archery) || {{{defense_archery}}}
| {{{defense_stab|0}}}
|-
|-
| Archery
}}{{#if:{{{defense_magic|}}}| | Defense (Magic) || {{{defense_magic}}}
| {{{defense_archery|0}}}
|-
|-
| Magic
}} }}
| {{{defense_magic|0}}}
}}


<!-- Bonuses -->
{{#if:{{{bonus_accuracy|}}}{{{bonus_strength|}}}{{{bonus_archery|}}}{{{bonus_magic|}}}|
{{#if:{{{bonus_accuracy|}}}{{{bonus_strength|}}}{{{bonus_archery|}}}{{{bonus_magic|}}}|
! colspan="2" style="text-align: center; background: #fee;" | Bonus Stats
|-
|-
! colspan="2" style="text-align:center; background:#e6e6e6;" | Bonuses
{{#if:{{{bonus_accuracy|}}}| | Accuracy Bonus || {{{bonus_accuracy}}}
|-
|-
| Accuracy
}}{{#if:{{{bonus_strength|}}}| | Strength Bonus || {{{bonus_strength}}}
| {{{bonus_accuracy|0}}}
|-
|-
| Strength
}}{{#if:{{{bonus_archery|}}}| | Archery Bonus || {{{bonus_archery}}}
| {{{bonus_strength|0}}}
|-
|-
| Archery
}}{{#if:{{{bonus_magic|}}}| | Magic Bonus || {{{bonus_magic}}}
| {{{bonus_archery|0}}}
|-
|-
| Magic
}} }}
| {{{bonus_magic|0}}}
}}
 
|}
|}
[[Category:Items]]
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} Items]]}}
</includeonly>

Revision as of 16:23, 14 January 2026

General Info Offensive Stats Defensive Stats Bonus Stats
KaeItem