Template:Infobox Equipment: Difference between revisions

From Phantasy Star Universe Clementine
(documentation to be written, template wip)
 
(add simple status support)
Line 1: Line 1:
<includeonly><div class="infobox-equipment">
<includeonly><div class="infobox-equipment">
{| class="wikitable"
{| class="wikitable"
! colspan="2" class="infobox-equipment-header" | {{Rank|{{{rank}}}}} {{Weapon Type|{{{type}}}}} {{{name|{{PAGENAME}}}}}
! colspan="2" class="infobox-equipment-header" | {{Rank|{{{rank}}}}} {{Weapon Type|{{{type}}}|options=link={{Weapon Type|{{{type}}}|text only=1}}s}} {{{name|{{PAGENAME}}}}}  
|-
|-
| colspan="2" class="infobox-equipment-thumb" | [[File:{{{image|G Logo Icon.png}}}|300px|link=]]
| colspan="2" class="infobox-equipment-thumb" | [[File:{{{image|G Logo Icon.png}}}|300px|link=]]
Line 37: Line 37:
|Rifle|Shotgun|Longbow|Grenade|Laser Cannon|Twin Handgun|Handgun|Crossbow|Card|Machinegun|RCSM=ATA
|Rifle|Shotgun|Longbow|Grenade|Laser Cannon|Twin Handgun|Handgun|Crossbow|Card|Machinegun|RCSM=ATA
|Rod|Wand|TCSM=TP
|Rod|Wand|TCSM=TP
|#default=ATP}} Needed To Equip
|#default=ATP}} Required
|{{{stat requirement}}}
|{{{stat requirement}}}
|-
{{#if:{{{status|}}}|
{{!}} [[Status Effect]]
{{!}} {{Status Effect|{{{status}}}}} LV{{{status level}}}
{{!}}-
{{#ifeq:{{{status chance|}}} < 100|
{{!}} Chance To Roll Status
{{!}} {{{status chance}}}
{{!}}-}}
}}
|}
|}
</div></includeonly><noinclude>
</div></includeonly><noinclude>
Line 46: Line 56:
<pre>
<pre>
{{Infobox Equipment
{{Infobox Equipment
| image
| type
| type
| mfr
| mfr
Line 57: Line 68:
| max attack
| max attack
| min pp
| min pp
| status
| status level
| status chance
| var
| var
}}
}}
Line 63: Line 77:
For image options, a guide on syntax can be found here: [https://www.mediawiki.org/wiki/Help:Images#Syntax]
For image options, a guide on syntax can be found here: [https://www.mediawiki.org/wiki/Help:Images#Syntax]
==Examples==
==Examples==
===Ken'ei+===
{{Infobox Equipment
{{Infobox Equipment
| image=Ken'ei+.png
| type = 06
| type = 06
| mfr = 03
| mfr = 03
Line 75: Line 91:
| max attack = 700
| max attack = 700
| min pp = 600
| min pp = 600
| status = 14
| status level = 4
| status chance = 100
| var = 50
| var = 50
}}
}}
</noinclude>
</noinclude>

Revision as of 11:34, 15 January 2024

Purpose

Infobox for equipment.

Parameter List

{{Infobox Equipment
| image
| type
| 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+

A Twin Saber Ken'ei+
8★
Stats
Manufacturer Kubara
Base PP 600
Base ATP 600
Max ATP 700
Variance 50
Base ATA 500
ATP Required 1000
Status Effect HP Affects Power LV4