Template:KaeItem: Difference between revisions

From Kaetram Wiki
Jump to navigation Jump to search
Created page with "<noinclude> 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_mag..."
 
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 29: Line 29:
| bonus_magic =
| bonus_magic =
}}
}}
</noinclude><includeonly>{| class="wikitable" style="float: right; width: 300px; margin-left: 1em;"
</noinclude>
! colspan="2" style="background-color: #f2f2f2; text-align: center; font-size: 120%;" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
 
|-
<includeonly>
| colspan="2" style="text-align: center;" | {{{image|[[File:{{{key}}}.png|64px|frameless|center]]}}}
{| class="fandom-table" style="float: right; width: 300px; margin-left: 1em;"
! colspan="2" class="infobox-header" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
{{#if:{{{image|}}}|
{{!}} colspan="2" style="text-align: center;" {{!}} {{{image}}}
{{!}}-
}}
{{#if:{{{type|}}}|
! Type
! Type
| {{{type|}}}
{{!}} {{{type}}}
|-
{{!}}-
}}
{{#if:{{{rarity|}}}|
! Rarity
! Rarity
| {{{rarity|}}}
{{!}} {{{rarity}}}
|-
{{!}}-
}}
{{#if:{{{price|}}}|
! Price
! Price
| {{{price|}}}
{{!}} {{{price}}}
|-
{{!}}-
}}
{{#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|}}}|
! colspan="2" class="infobox-header" {{!}} Attack Stats
{{!}}-
! Crush
{{!}} {{{attack_crush|0}}}
{{!}}-
! Slash
{{!}} {{{attack_slash|0}}}
{{!}}-
! Stab
{{!}} {{{attack_stab|0}}}
{{!}}-
! Archery
{{!}} {{{attack_archery|0}}}
{{!}}-
! Magic
{{!}} {{{attack_magic|0}}}
{{!}}-
}}
{{#if:{{{defense_crush|}}}|
! colspan="2" class="infobox-header" {{!}} Defense Stats
{{!}}-
! Crush
{{!}} {{{defense_crush|0}}}
{{!}}-
! Slash
{{!}} {{{defense_slash|0}}}
{{!}}-
! Stab
{{!}} {{{defense_stab|0}}}
{{!}}-
! Archery
{{!}} {{{defense_archery|0}}}
{{!}}-
! Magic
{{!}} {{{defense_magic|0}}}
{{!}}-
}}
{{#if:{{{bonus_accuracy|}}}|
! colspan="2" class="infobox-header" {{!}} Bonuses
{{!}}-
! Accuracy
{{!}} {{{bonus_accuracy|0}}}
{{!}}-
! Strength
{{!}} {{{bonus_strength|0}}}
{{!}}-
! Archery
{{!}} {{{bonus_archery|0}}}
{{!}}-
! Magic
{{!}} {{{bonus_magic|0}}}
{{!}}-
}}
}}
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Attack Stats
|-
| Crush
| {{{attack_crush|0}}}
|-
| Slash
| {{{attack_slash|0}}}
|-
| Stab
| {{{attack_stab|0}}}
|-
| Archery
| {{{attack_archery|0}}}
|-
| Magic
| {{{attack_magic|0}}}
|-
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Defense Stats
|-
| Crush
| {{{defense_crush|0}}}
|-
| Slash
| {{{defense_slash|0}}}
|-
| Stab
| {{{defense_stab|0}}}
|-
| Archery
| {{{defense_archery|0}}}
|-
| Magic
| {{{defense_magic|0}}}
|-
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Bonuses
|-
| Accuracy
| {{{bonus_accuracy|0}}}
|-
| Strength
| {{{bonus_strength|0}}}
|-
| Archery
| {{{bonus_archery|0}}}
|-
| Magic
| {{{bonus_magic|0}}}
|}
|}


[[Category:Items]]
[[Category:Items]]
[[Category:{{{type|Items}}}]]
{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}
[[Category:{{{rarity|Common}}} 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