Template:Infobox Equipment: Difference between revisions
(add simple status support) |
(wip, resists and special effects missing) |
||
Line 1: | Line 1: | ||
<includeonly><div class="infobox-equipment"> | <includeonly> | ||
{| class="wikitable" | <div class="infobox-equipment"> | ||
! colspan="2" class="infobox-equipment-header" | {{Rank|{{{rank}}}}} {{Weapon Type|{{{ | {|class="wikitable" | ||
! colspan="2" class="infobox-equipment-header" | {{Rank|{{{rank}}}}} {{#switch:{{Item Category|{{{type}}}|text only=1}} | |||
|Weapon = {{Weapon Type|{{{subtype}}}|options=link={{Weapon Type|{{{subtype}}}|text only=1}}s}} | |||
|Line Shield = {{EnumImage|image=Line shield icon.gif|name=Line Shield|options=16px{{!}}link=Line Shields}} | |||
|Unit = {{Unit Type|{{{subtype}}}|options=link={{Unit Type|{{{subtype}}}|text only=1}}s}} | |||
|}} {{{name|{{PAGENAME}}}}} | |||
|- | |- | ||
| colspan="2" class="infobox-equipment-thumb" | [[File:{{{image | |colspan="2" class="infobox-equipment-thumb" |{{#if:{{{image|}}} |[[File:{{{image}}}|300px|link=]] |''Item has no visual component.''}} | ||
|- | |- | ||
| colspan="2" | {{Rarity|{{{rarity}}}}} | |colspan="2" |{{Rarity|{{#expr:{{{rarity}}}+1}}}} | ||
|- | |- | ||
! colspan="2" | Stats | ! colspan="2" |Stats | ||
|- | |- | ||
|Manufacturer | |Manufacturer | ||
|{{Manufacturer|{{{mfr}}}|options=20px{{!}}link=}} | |{{Manufacturer|{{{mfr}}}|options=20px{{!}}link=}} | ||
|- | |- | ||
{{#ifeq: {{Weapon Type|{{{ | {{#switch:{{Item Category|{{{type}}}|text only=1}} | ||
|Weapon= | |||
{{!}}{{#switch: {{Weapon Type|{{{subtype}}}|text only=1}} | |||
|Rifle|Shotgun|Longbow|Grenade|Laser Cannon|Twin Handgun|Handgun|Crossbow|Card|Machinegun|RCSM=ATA | |||
|Rod|Wand|TCSM=TP | |||
|#default=ATP}} Required | |||
{{!}}{{!}}{{{stat requirement}}} | |||
{{!}}- | |||
|Line Shield= | |||
{{!}}DFP Required | |||
{{!}}{{{stat requirement}}} | |||
{{!}}- | |||
}}<!-- Floating Stats --> | |||
{{#if: {{{def|}}}| | |||
{{!}} Def. | |||
{{!}} {{{def}}} | |||
{{!}}-}} | |||
{{#if: {{{eva|}}}| | |||
{{!}} Eva. | |||
{{!}} {{{eva}}} | |||
{{!}}-}} | |||
{{#if: {{{ment|}}}| | |||
{{!}} Ment. | |||
{{!}} {{{ment}}} | |||
{{!}}-}} | |||
{{#if: {{{end|}}}| | |||
{{!}} End. | |||
{{!}} {{{end}}} | |||
{{!}}-}} | |||
{{#if: {{{att|}}}| | |||
{{!}} Att. | |||
{{!}} {{{att}}} | |||
{{!}}-}} | |||
{{#if: {{{acc|}}}| | |||
{{!}} Acc. | |||
{{!}} {{{acc}}} | |||
{{!}}-}} | |||
{{#if: {{{tech|}}}| | |||
{{!}} Tech. | |||
{{!}} {{{tech}}} | |||
{{!}}-}} | |||
<!-- Weapon-exclusive Properties --> | |||
{{#ifeq: {{Item Category|{{{type}}}}} | |||
|Weapon| {{#ifeq: {{Weapon Type|{{{subtype}}}|text only=1}}|RCSM|| | |||
{{!}} Base PP | {{!}} Base PP | ||
{{!}} {{{min pp}}} | {{!}} {{{min pp}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}Base {{#switch: {{Weapon Type|{{{subtype}}}|text only=1}} | |||
|RCSM|Rod|Wand|TCSM= TP | |RCSM|Rod|Wand|TCSM= TP | ||
|#default= ATP}} | |#default= ATP}} | ||
{{!}}{{{min attack}}} | |||
{{!}}- | |||
{{!}}Max {{#switch: {{Weapon Type|{{{subtype}}}|text only=1}} | |||
|RCSM|Rod|Wand|TCSM= TP | |RCSM|Rod|Wand|TCSM= TP | ||
|#default= ATP}} | |#default= ATP}} | ||
{{!}}{{{max attack}}} | |||
{{!}}- | |||
{{!}}Variance | |||
{{!}}{{{var}}} | |||
{{!}}- | |||
{{#if:{{{acc|}}}| | {{#if:{{{acc|}}}| | ||
{{!}} Base ATA | {{!}} Base ATA | ||
{{!}} {{{acc}}} | {{!}} {{{acc}}} | ||
{{!}}-}} | {{!}}-}} | ||
{{!}}- | |||
{{#if:{{{status|}}}| | {{#if:{{{status|}}}| | ||
{{!}} [[Status Effect]] | {{!}} [[Status Effect]] | ||
Line 47: | Line 89: | ||
{{!}} Chance To Roll Status | {{!}} Chance To Roll Status | ||
{{!}} {{{status chance}}} | {{!}} {{{status chance}}} | ||
{{!}}-}} | {{!}}-}}}}}} | ||
}} | <!-- Special Effects --> | ||
|} | |} | ||
</div></includeonly><noinclude> | </div></includeonly><noinclude> | ||
Line 56: | Line 98: | ||
<pre> | <pre> | ||
{{Infobox Equipment | {{Infobox Equipment | ||
| image | |image | ||
| type | |type | ||
| mfr | |subtype | ||
| name | |id | ||
| rarity | |mfr | ||
| rank | |name | ||
| stat requirement | |rarity | ||
| acc | |rank | ||
| account bound | |stat requirement | ||
| min attack | |acc | ||
| max attack | |account bound | ||
| min pp | |min attack | ||
| status | |max attack | ||
| status level | |min pp | ||
| status chance | |status | ||
| var | |status level | ||
|status chance | |||
|var | |||
}} | }} | ||
</pre> | </pre> | ||
Line 78: | Line 122: | ||
==Examples== | ==Examples== | ||
===Ken'ei+=== | ===Ken'ei+=== | ||
<pre>{{Infobox Equipment | |||
|image=Ken'ei+.png | |||
|type = 01 | |||
|subtype = 06 | |||
|id = 68 | |||
|mfr = 03 | |||
|name = Ken'ei+ | |||
|rarity = 8 | |||
|rank = 3 | |||
|stat requirement = 1000 | |||
|acc = 500 | |||
|account bound = 0 | |||
|min attack = 600 | |||
|max attack = 700 | |||
|min pp = 600 | |||
|status = 14 | |||
|status level = 4 | |||
|status chance = 100 | |||
|var = 50 | |||
}}</pre> | |||
{{Infobox Equipment | |||
|image=Ken'ei+.png | |||
|type = 01 | |||
|subtype = 06 | |||
|id = 68 | |||
|mfr = 03 | |||
|name = Ken'ei+ | |||
|rarity = 8 | |||
|rank = 3 | |||
|stat requirement = 1000 | |||
|acc = 500 | |||
|account bound = 0 | |||
|min attack = 600 | |||
|max attack = 700 | |||
|min pp = 600 | |||
|status = 14 | |||
|status level = 4 | |||
|status chance = 100 | |||
|var = 50 | |||
}} | |||
===Bunny-senba=== | |||
work in progress | |||
{{Infobox Equipment | |||
|type = 02 | |||
|subtype | |||
|mfr = 01 | |||
|id | |||
|name = Bunny-senba | |||
|rarity = 14 | |||
|rank = 3 | |||
|stat requirement = 100 | |||
|def = 450 | |||
|eva = 300 | |||
|ment = 450 | |||
|att = 150 | |||
|acc = 150 | |||
|tech = 150 | |||
|end = 5 | |||
|account bound = 0 | |||
}} | |||
===Bunny Ears=== | |||
work in progress | |||
{{Infobox Equipment | |||
|type = 08 | |||
|subtype = 01 | |||
|mfr = 01 | |||
|id | |||
|name = Bunny Ears | |||
|rarity = 14 | |||
|rank = 3 | |||
|ment = 300 | |||
|tech = 450 | |||
|account bound = 0 | |||
}} | |||
===Gerard / Knight=== | |||
work in progress | |||
{{Infobox Equipment | |||
|type = 08 | |||
|subtype = 02 | |||
|mfr = 00 | |||
|id | |||
|name = Gerard / Knight | |||
|rarity = 14 | |||
|rank = 3 | |||
|att = 450 | |||
|acc = 0 | |||
|account bound = 0 | |||
}} | |||
===Makarukaheshi+=== | |||
work in progress | |||
{{Infobox Equipment | |||
|type = 08 | |||
|subtype = 02 | |||
|mfr = 01 | |||
|id | |||
|name = Makarukaheshi+ | |||
|rarity = 14 | |||
|rank = 3 | |||
|def = 200 | |||
|eva = 250 | |||
|account bound = 0 | |||
}} | |||
===Satsuma's Curse=== | |||
work in progress | |||
{{Infobox Equipment | {{Infobox Equipment | ||
| | |type = 08 | ||
| | |subtype = 04 | ||
| mfr = 03 | |mfr = 03 | ||
| name = | |id | ||
| rarity = | |name = Satsuma's Curse | ||
| rank = 3 | |rarity = 14 | ||
| | |rank = 3 | ||
|end = 7 | |||
| account bound = 0 | |account bound = 0 | ||
}} | }} | ||
</noinclude> | </noinclude> |
Revision as of 17:34, 28 January 2024
Purpose
Infobox for equipment.
Parameter List
{{Infobox Equipment |image |type |subtype |id |mfr |name |rarity |rank |stat requirement |acc |account bound |min attack |max attack |min pp |status |status level |status chance |var }}
For image options, a guide on syntax can be found here: [1]
Examples
Ken'ei+
{{Infobox Equipment |image=Ken'ei+.png |type = 01 |subtype = 06 |id = 68 |mfr = 03 |name = Ken'ei+ |rarity = 8 |rank = 3 |stat requirement = 1000 |acc = 500 |account bound = 0 |min attack = 600 |max attack = 700 |min pp = 600 |status = 14 |status level = 4 |status chance = 100 |var = 50 }}
A Twin Saber Ken'ei+ | |
---|---|
![]() | |
![]() | |
Stats | |
Manufacturer | Kubara |
ATP Required | 1000 |
Acc. | 500 |
Base PP | 600 |
Base ATP | 600 |
Max ATP | 700 |
Variance | 50 |
Base ATA | 500 |
Status Effect | HP Affects Power LV4 |
Bunny-senba
work in progress
A ![]() | |
---|---|
Item has no visual component. | |
![]() | |
Stats | |
Manufacturer | Yohmei Corporation |
DFP Required | 100 |
Def. | 450 |
Eva. | 300 |
Ment. | 450 |
End. | 5 |
Att. | 150 |
Acc. | 150 |
Tech. | 150 |
Bunny Ears
work in progress
A ![]() | |
---|---|
Item has no visual component. | |
![]() | |
Stats | |
Manufacturer | Yohmei Corporation |
Ment. | 300 |
Tech. | 450 |
Gerard / Knight
work in progress
A ![]() | |
---|---|
Item has no visual component. | |
![]() | |
Stats | |
Manufacturer | General Resource Manufacturer |
Att. | 450 |
Acc. | 0 |
Makarukaheshi+
work in progress
A ![]() | |
---|---|
Item has no visual component. | |
![]() | |
Stats | |
Manufacturer | Yohmei Corporation |
Def. | 200 |
Eva. | 250 |
Satsuma's Curse
work in progress