Template:KaeItem: Difference between revisions

From Kaetram Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "KaeItem" infobox template.
This is the "KaeItem" template.
 
It should be called in the following format:
Usage:
{{KaeItem
{{KaeItem
| key =
| name =
| name =
| image =
| image =
| type =
| rarity =
| price =
| skill =
| skill =
| level =
| level =
| secondSkill =
| secondSkill =
| secondLevel =
| secondLevel =
| type =
| price =
| divinityExperience =
| divinityExperience =
| rarity =
| attack_crush =
| attack_crush =
| attack_slash =
| attack_slash =
Line 32: Line 32:


<includeonly>
<includeonly>
{| class="infobox wikitable" style="width:300px; float:right; margin-left:1em;"
{| class="fandom-table" style="float: right; width: 300px; margin-left: 1em;"
 
! colspan="2" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<!-- Title -->
|-
|-
! colspan="2" style="text-align:center; font-size:120%; background:#f2f2f2;" |
{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
<!-- Image -->
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
|-
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image}}}
| colspan="2" style="text-align:center;" |
{{!}}-
{{{image}}}
}}
}}
<!-- Basic Info -->
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
|-
! Type
! Type
| {{{type}}}
{{!}} {{{type}}}
{{!}}-
}}
}}
{{#if:{{{rarity|}}}|
{{#if:{{{rarity|}}}|
|-
! Rarity
! Rarity
| {{{rarity}}}
{{!}} {{{rarity}}}
{{!}}-
}}
}}
{{#if:{{{price|}}}|
{{#if:{{{price|}}}|
|-
! Price
! Price
| {{{price}}}
{{!}} {{{price}}}
{{!}}-
}}
}}
<!-- Requirements -->
{{#if:{{{skill|}}}|
{{#if:{{{skill|}}}|
|-
! Requirement
! Requirement
| {{{skill}}}{{#if:{{{level|}}}| ({{{level}}})}}
{{!}} {{{skill}}} {{#if:{{{level|}}}|({{{level}}})}}
{{!}}-
}}
}}
{{#if:{{{secondSkill|}}}|
{{#if:{{{secondSkill|}}}|
|-
! Second Req.
! Second Req.
| {{{secondSkill}}}{{#if:{{{secondLevel|}}}| ({{{secondLevel}}})}}
{{!}} {{{secondSkill}}} {{#if:{{{secondLevel|}}}|({{{secondLevel}}})}}
{{!}}-
}}
}}
{{#if:{{{divinityExperience|}}}|
{{#if:{{{divinityExperience|}}}|
|-
! Divinity XP
! Divinity XP
| {{{divinityExperience}}}
{{!}} {{{divinityExperience}}}
{{!}}-
}}
}}
 
{{#if:{{{attack_crush|}}}|
<!-- Attack Stats -->
! colspan="2" class="infobox-header" {{!}} Attack Stats
{{#if:{{{attack_crush|}}}{{{attack_slash|}}}{{{attack_stab|}}}{{{attack_archery|}}}{{{attack_magic|}}}|
{{!}}-
|-
! Crush
! colspan="2" style="text-align:center; background:#e6e6e6;" | Attack Stats
{{!}} {{{attack_crush|0}}}
|-
{{!}}-
| Crush
! Slash
| {{{attack_crush|0}}}
{{!}} {{{attack_slash|0}}}
|-
{{!}}-
| Slash
! Stab
| {{{attack_slash|0}}}
{{!}} {{{attack_stab|0}}}
|-
{{!}}-
| Stab
! Archery
| {{{attack_stab|0}}}
{{!}} {{{attack_archery|0}}}
|-
{{!}}-
| Archery
! Magic
| {{{attack_archery|0}}}
{{!}} {{{attack_magic|0}}}
|-
{{!}}-
| Magic
| {{{attack_magic|0}}}
}}
}}
 
{{#if:{{{defense_crush|}}}|
<!-- Defense Stats -->
! colspan="2" class="infobox-header" {{!}} Defense Stats
{{#if:{{{defense_crush|}}}{{{defense_slash|}}}{{{defense_stab|}}}{{{defense_archery|}}}{{{defense_magic|}}}|
{{!}}-
|-
! Crush
! colspan="2" style="text-align:center; background:#e6e6e6;" | Defense Stats
{{!}} {{{defense_crush|0}}}
|-
{{!}}-
| Crush
! Slash
| {{{defense_crush|0}}}
{{!}} {{{defense_slash|0}}}
|-
{{!}}-
| Slash
! Stab
| {{{defense_slash|0}}}
{{!}} {{{defense_stab|0}}}
|-
{{!}}-
| Stab
! Archery
| {{{defense_stab|0}}}
{{!}} {{{defense_archery|0}}}
|-
{{!}}-
| Archery
! Magic
| {{{defense_archery|0}}}
{{!}} {{{defense_magic|0}}}
|-
{{!}}-
| Magic
| {{{defense_magic|0}}}
}}
}}
 
{{#if:{{{bonus_accuracy|}}}|
<!-- Bonuses -->
! colspan="2" class="infobox-header" {{!}} Bonuses
{{#if:{{{bonus_accuracy|}}}{{{bonus_strength|}}}{{{bonus_archery|}}}{{{bonus_magic|}}}|
{{!}}-
|-
! Accuracy
! colspan="2" style="text-align:center; background:#e6e6e6;" | Bonuses
{{!}} {{{bonus_accuracy|0}}}
|-
{{!}}-
| Accuracy
! Strength
| {{{bonus_accuracy|0}}}
{{!}} {{{bonus_strength|0}}}
|-
{{!}}-
| Strength
! Archery
| {{{bonus_strength|0}}}
{{!}} {{{bonus_archery|0}}}
|-
{{!}}-
| Archery
! Magic
| {{{bonus_archery|0}}}
{{!}} {{{bonus_magic|0}}}
|-
{{!}}-
| Magic
| {{{bonus_magic|0}}}
}}
}}
|}


|}
[[Category:Items]]
[[Category:Items]]
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} Items]]}}
{{#if:{{{rarity|}}}|[[Category:{{{rarity}}} Items]]}}
</includeonly>
</includeonly>

Latest revision as of 16:35, 14 January 2026

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


KaeItem