Template:KaeItem: Difference between revisions

From Kaetram Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="fandom-table" style="width: 250px; float: right; border: 1px solid #5c4a7c; background: #36264a; color: white; margin: 0 0 1em 1em; padding: 5px; border-spacing: 2px;"
<noinclude>
|+ style="font-size: 1.2em; font-weight: bold; color: white; margin-bottom: 5px;" | {{{name|{{PAGENAME}}}}}
This is the "KaeItem" template.
It should be called in the following format:
{{KaeItem
| key =
| name =
| image =
| skill =
| level =
| secondSkill =
| secondLevel =
| type =
| price =
| divinityExperience =
| rarity =
| 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="fandom-table" style="float: right; width: 300px; margin-left: 1em;"
! colspan="2" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align: center; background: #221831; border: 1px solid #5c4a7c;" {{!}} [[File:{{{image}}}|200px]]
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image}}}
{{!}}-
}}
{{#if:{{{type|}}}|
! Type
{{!}} {{{type}}}
{{!}}-
}}
{{#if:{{{rarity|}}}|
! Rarity
{{!}} {{{rarity}}}
{{!}}-
}}
{{#if:{{{price|}}}|
! Price
{{!}} {{{price}}}
{{!}}-
}}
{{#if:{{{skill|}}}|
! Requirement
{{!}} {{{skill}}} {{#if:{{{level|}}}|({{{level}}})}}
{{!}}-
}}
{{#if:{{{secondSkill|}}}|
! Second Req.
{{!}} {{{secondSkill}}} {{#if:{{{secondLevel|}}}|({{{secondLevel}}})}}
{{!}}-
}}
{{#if:{{{divinityExperience|}}}|
! Divinity XP
{{!}} {{{divinityExperience}}}
{{!}}-
{{!}}-
}}
}}
{{#if:{{{key|}}}{{{skill|}}}{{{type|}}}{{{price|}}}{{{rarity|}}}|
{{#if:{{{attack_crush|}}}|
! colspan="2" style="text-align: center; background: #4b3b61; border-bottom: 1px solid #5c4a7c;" | Item Details
! colspan="2" class="infobox-header" {{!}} Attack Stats
{{!}}-
{{!}}-
{{#if:{{{key|}}}| {{!}} **Key** {{!!}} {{{key}}}
! Crush
{{!}} {{{attack_crush|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{skill|}}}| {{!}} **Skill** {{!!}} {{{skill}}} {{#if:{{{level|}}}|({{{level}}})}}
! Slash
{{!}} {{{attack_slash|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{type|}}}| {{!}} **Type** {{!!}} {{{type}}}
! Stab
{{!}} {{{attack_stab|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{price|}}}| {{!}} **Price** {{!!}} {{{price}}}
! Archery
{{!}} {{{attack_archery|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{rarity|}}}| {{!}} **Rarity** {{!!}} {{{rarity}}}
! Magic
{{!}} {{{attack_magic|0}}}
{{!}}-
{{!}}-
}} }}
}}
{{#if:{{{attack_crush|}}}{{{attack_slash|}}}{{{attack_stab|}}}{{{attack_archery|}}}{{{attack_magic|}}}|
{{#if:{{{defense_crush|}}}|
! colspan="2" style="text-align: center; background: #3b4b61; border-bottom: 1px solid #5c4a7c;" | Offensive Stats
! colspan="2" class="infobox-header" {{!}} Defense Stats
{{!}}-
{{!}}-
{{#if:{{{attack_crush|}}}| {{!}} Attack (Crush) {{!!}} {{{attack_crush}}}
! Crush
{{!}} {{{defense_crush|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{attack_slash|}}}| {{!}} Attack (Slash) {{!!}} {{{attack_slash}}}
! Slash
{{!}} {{{defense_slash|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{attack_stab|}}}| {{!}} Attack (Stab) {{!!}} {{{attack_stab}}}
! Stab
{{!}} {{{defense_stab|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{attack_archery|}}}| {{!}} Attack (Archery) {{!!}} {{{attack_archery}}}
! Archery
{{!}} {{{defense_archery|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{attack_magic|}}}| {{!}} Attack (Magic) {{!!}} {{{attack_magic}}}
! Magic
{{!}} {{{defense_magic|0}}}
{{!}}-
{{!}}-
}} }}
}}
{{#if:{{{bonus_accuracy|}}}{{{bonus_strength|}}}{{{bonus_archery|}}}{{{bonus_magic|}}}|
{{#if:{{{bonus_accuracy|}}}|
! colspan="2" style="text-align: center; background: #613b4b; border-bottom: 1px solid #5c4a7c;" | Bonuses
! colspan="2" class="infobox-header" {{!}} Bonuses
{{!}}-
{{!}}-
{{#if:{{{bonus_accuracy|}}}| {{!}} Accuracy {{!!}} {{{bonus_accuracy}}}
! Accuracy
{{!}} {{{bonus_accuracy|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{bonus_strength|}}}| {{!}} Strength {{!!}} {{{bonus_strength}}}
! Strength
{{!}} {{{bonus_strength|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{bonus_archery|}}}| {{!}} Archery {{!!}} {{{bonus_archery}}}
! Archery
{{!}} {{{bonus_archery|0}}}
{{!}}-
{{!}}-
}}{{#if:{{{bonus_magic|}}}| {{!}} Magic {{!!}} {{{bonus_magic}}}
! Magic
{{!}} {{{bonus_magic|0}}}
{{!}}-
{{!}}-
}} }}
}}
|}
|}
[[Category:Items]]
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} Items]]}}
</includeonly>

Latest revision as of 16:35, 14 January 2026

This is the "KaeItem" template. It should be called in the following format:


KaeItem