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>
<noinclude>
This is the "KaeItem" template.
This is the "KaeItem" infobox 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 30: Line 30:
}}
}}
</noinclude>
</noinclude>
<includeonly>
<includeonly>
{| class="wikitable" style="float: right; width: 300px; margin-left: 1em;"
{| class="infobox wikitable" style="width:300px; float:right; margin-left:1em;"
! colspan="2" style="background-color: #f2f2f2; text-align: center; font-size: 120%;" |
 
<!-- Title -->
|-
! colspan="2" style="text-align:center; font-size:120%; background:#f2f2f2;" |
{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{#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 -->
{{#if:{{{attack_crush|}}}{{{attack_slash|}}}{{{attack_stab|}}}{{{attack_archery|}}}{{{attack_magic|}}}|
|-
|-
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Attack Stats
! colspan="2" style="text-align:center; background:#e6e6e6;" | Attack Stats
|-
|-
| Crush
| Crush
Line 90: Line 105:
}}
}}


{{#if:{{{defense_crush|}}}|
<!-- Defense Stats -->
{{#if:{{{defense_crush|}}}{{{defense_slash|}}}{{{defense_stab|}}}{{{defense_archery|}}}{{{defense_magic|}}}|
|-
|-
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Defense Stats
! colspan="2" style="text-align:center; background:#e6e6e6;" | Defense Stats
|-
|-
| Crush
| Crush
Line 110: Line 126:
}}
}}


{{#if:{{{bonus_accuracy|}}}|
<!-- Bonuses -->
{{#if:{{{bonus_accuracy|}}}{{{bonus_strength|}}}{{{bonus_archery|}}}{{{bonus_magic|}}}|
|-
|-
! colspan="2" style="background-color: #e6e6e6; text-align: center;" | Bonuses
! colspan="2" style="text-align:center; background:#e6e6e6;" | Bonuses
|-
|-
| Accuracy
| Accuracy
Line 126: Line 143:
| {{{bonus_magic|0}}}
| {{{bonus_magic|0}}}
}}
}}
|}
|}
[[Category:Items]]
[[Category:Items]]

Revision as of 16:20, 14 January 2026

This is the "KaeItem" infobox template.

Usage:


KaeItem

-

-

Type

-

Rarity

-

Price

-

Requirement

-

Second Req.

-

Divinity XP

-

colspan="2" style="text-align:center; background:#e6e6e6;"

-

colspan="2" style="text-align:center; background:#e6e6e6;"

-

colspan="2" style="text-align:center; background:#e6e6e6;"