Template:Infobox Ranged: Difference between revisions

From PSP2i Wiki
No edit summary
Tag: Reverted
(Undo revision 7660 by Matt (talk))
Tag: Undo
Line 82: Line 82:
</tr>
</tr>
}}
}}
{{#ifeq:{{#expr: {{#if:{{{HP|}}}|1|0}} or {{#if:{{{ATK|}}}|1|0}} or {{#if:{{{DEF|}}}|1|0}} or {{#if:{{{ACC|}}}|1|0}} or {{#if:{{{EVA|}}}|1|0}} or {{#if:{{{TEC|}}}|1|0}} or {{#if:{{{TEC10|}}}|1|0}} or {{#if:{{{MND|}}}|1|0}} or {{#if:{{{STA}}}|1|0}} or {{#if:{{{LCK}}}|1|0}}}}|0||<tr><td colspan="2"><table align="center" style="width:100%">
{{#ifeq:{{#expr: {{#if:{{{HP|}}}|1|0}} or {{#if:{{{ATK|}}}|1|0}} or {{#if:{{{ATK10|}}}|1|0}} or {{#if:{{{DEF|}}}|1|0}} or {{#if:{{{ACC|}}}|1|0}} or {{#if:{{{EVA|}}}|1|0}} or {{#if:{{{TEC|}}}|1|0}} or {{#if:{{{MND|}}}|1|0}} or {{#if:{{{STA}}}|1|0}} or {{#if:{{{LCK}}}|1|0}}}}|0||<tr><td colspan="2"><table align="center" style="width:100%">
<tr>
<tr>
{{#if:{{{HP|}}}|<td style="text-align: center;"><b>HP</b></td>}}{{#if:{{{ATK|}}}|<td style="text-align: center;"><b>ATK</b></td>}}{{#if:{{{DEF|}}}|<td style="text-align: center;"><b>DEF</b></td>}}{{#if:{{{ACC|}}}|<td style="text-align: center;"><b>ACC</b></td>}}{{#if:{{{EVA|}}}|<td style="text-align: center;"><b>EVA</b></td>}}{{#if:{{{TEC|}}}|<td style="text-align: center;"><b>TEC</b></td>}}{{#if:{{{TEC10|}}}|<td style="text-align: center;"><b>(10)</b></td>}}{{#if:{{{MND|}}}|<td style="text-align: center;"><b>MND</b></td>}}{{#if:{{{STA|}}}|<td style="text-align: center;"><b>STA</b></td>}}{{#if:{{{LCK|}}}|<td style="text-align: center;"><b>LCK</b></td>}}
{{#if:{{{HP|}}}|<td style="text-align: center;"><b>HP</b></td>}}{{#if:{{{ATK|}}}|<td style="text-align: center;"><b>ATK</b></td>}}{{#if:{{{ATK10|}}}|<td style="text-align: center;"><b>(10)</b></td>}}{{#if:{{{DEF|}}}|<td style="text-align: center;"><b>DEF</b></td>}}{{#if:{{{ACC|}}}|<td style="text-align: center;"><b>ACC</b></td>}}{{#if:{{{EVA|}}}|<td style="text-align: center;"><b>EVA</b></td>}}{{#if:{{{TEC|}}}|<td style="text-align: center;"><b>TEC</b></td>}}{{#if:{{{MND|}}}|<td style="text-align: center;"><b>MND</b></td>}}{{#if:{{{STA|}}}|<td style="text-align: center;"><b>STA</b></td>}}{{#if:{{{LCK|}}}|<td style="text-align: center;"><b>LCK</b></td>}}
</tr>
</tr>
<tr>
<tr>
{{#if:{{{HP|}}}|<td style="text-align: center;">{{{HP}}}</td>}}{{#if:{{{ATK|}}}|<td style="text-align: center;">{{{ATK}}}</td>}}{{#if:{{{DEF|}}}|<td style="text-align: center;">{{{DEF}}}</td>}}{{#if:{{{ACC|}}}|<td style="text-align: center;">{{{ACC}}}</td>}}{{#if:{{{EVA|}}}|<td style="text-align: center;">{{{EVA}}}</td>}}{{#if:{{{TEC|}}}|<td style="text-align: center;">{{{TEC}}}</td>}}{{#if:{{{TEC10|}}}|<td style="text-align: center;">{{{TEC10}}}</td>}}{{#if:{{{MND|}}}|<td style="text-align: center;">{{{MND}}}</td>}}{{#if:{{{STA|}}}|<td style="text-align: center;">{{{STA}}}</td>}}{{#if:{{{LCK|}}}|<td style="text-align: center;">{{{LCK}}}</td>}}
{{#if:{{{HP|}}}|<td style="text-align: center;">{{{HP}}}</td>}}{{#if:{{{ATK|}}}|<td style="text-align: center;">{{{ATK}}}</td>}}{{#if:{{{ATK10|}}}|<td style="text-align: center;">{{{ATK10}}}</td>}}{{#if:{{{DEF|}}}|<td style="text-align: center;">{{{DEF}}}</td>}}{{#if:{{{ACC|}}}|<td style="text-align: center;">{{{ACC}}}</td>}}{{#if:{{{EVA|}}}|<td style="text-align: center;">{{{EVA}}}</td>}}{{#if:{{{TEC|}}}|<td style="text-align: center;">{{{TEC}}}</td>}}{{#if:{{{MND|}}}|<td style="text-align: center;">{{{MND}}}</td>}}{{#if:{{{STA|}}}|<td style="text-align: center;">{{{STA}}}</td>}}{{#if:{{{LCK|}}}|<td style="text-align: center;">{{{LCK}}}</td>}}
</tr>
</tr>
</table></td></tr>
</table></td></tr>
Line 93: Line 93:
<tr>
<tr>
<th style="background-color: #A00000;">Eff. ATK:</th>
<th style="background-color: #A00000;">Eff. ATK:</th>
<td>{{#expr: ({{{TEC}}}/2)+({{{ACC}}}/2) round 0}}</td>
<td>{{#expr: ({{{ATK}}}/4)+{{{ACC}}} round 0}}</td>
</tr>
</tr>
<tr>
<tr>
<th style="background-color: #A00000;">Eff. ATK (10):</th>
<th style="background-color: #A00000;">Eff. ATK (10):</th>
<td>{{#expr: ({{{TEC10}}}/2)+({{{ACC}}}/2) round 0}}</td>
<td>{{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}}</td>
</tr>
</tr>
}}
}}
Line 111: Line 111:
<table align="center" style="width:100%">
<table align="center" style="width:100%">
<th style="background-color: #A00000;" colspan="2">Extend Data</th>
<th style="background-color: #A00000;" colspan="2">Extend Data</th>
{{#if:{{{ETEC|}}}|
{{#if:{{{EATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">EXT TEC:</th>
<th style="background-color: #A00000;">EXT ATK:</th>
<td>{{{ETEC}}} (+{{#expr:{{{ETEC}}}-{{{TEC10}}}}})</td>
<td>{{{EATK}}} (+{{#expr:{{{EATK}}}-{{{ATK10}}}}})</td>
</tr>
</tr>
}}
}}
Line 123: Line 123:
</tr>
</tr>
}}
}}
{{#if:{{{ETEC|}}}|
{{#if:{{{EATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">EXT Eff. ATK:</th>
<th style="background-color: #A00000;">EXT Eff. ATK:</th>
<td>{{#expr: ({{{ETEC}}}/2)+({{{EACC}}}/2) round 0}} (+{{#expr:({{#expr: ({{{ETEC}}}/2)+({{{EACC}}}/2) round 0}})-({{#expr: ({{{TEC10}}}/2)+({{{ACC}}}/2) round 0}})}})
<td>{{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}} (+{{#expr:({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}})-({{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}})}})
}}
}}
{{#if:{{{ITEC|}}}|
{{#if:{{{IATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">EXT∞ TEC:</th>
<th style="background-color: #A00000;">EXT∞ ATK:</th>
<td>{{{ITEC}}} (+{{#expr:{{{ITEC}}}-{{{ETEC}}}}})</td>
<td>{{{IATK}}} (+{{#expr:{{{IATK}}}-{{{EATK}}}}})</td>
</tr>
</tr>
}}
}}
Line 140: Line 140:
</tr>
</tr>
}}
}}
{{#if:{{{ITEC|}}}|
{{#if:{{{IATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">EXT∞ Eff. ATK:</th>
<th style="background-color: #A00000;">EXT∞ Eff. ATK:</th>
<td>{{#expr: ({{{ITEC}}}/2)+({{{IACC}}}/2) round 0}} (+{{#expr:({{#expr: ({{{ITEC}}}/2)+({{{IACC}}}/2) round 0}})-({{#expr: ({{{ETEC}}}/2)+({{{EACC}}}/2) round 0}})}})
<td>{{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}} (+{{#expr:({{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}})-({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}})}})
}}
}}
</table>
</table>

Revision as of 13:57, 10 April 2022

Infobox Ranged




Extend Data
Drain

Usage

This template is used to generate the infoboxes on ranged weapon pages, not including longbows, cards or R-Mags. All fields are optional, so only relevant information to the weapon should be defined. If a weapon does not grant any DEF for example, the field should be deleted or left empty.

Syntax

{{Infobox Ranged
| jp =
| romaji =
| image =
| stars =
| type =
| manufacturer =
| grade =
| requirement =
| special =
| rate =
| element =
| HP =
| PP =
| ATK =
| ATK10 =
| ACC =
| EATK =
| EACC =
| IATK =
| IACC =
| DEF =
| EVA =
| TEC =
| MND =
| STA =
| LCK =
| PA =
| PP =
| burn =
| freeze =
| stun =
| sleep =
| confuse =
| infect =
| incap = 
| drain =
| desc =
}}
  • jp: Exact japanese name for the item.
  • romaji: Translation of the japanese name for the item, not direct romaji.
  • image: Must be written as Item Name.png, copying the exact name of the item in-game.
  • stars: Number from 1 to 16.
  • type: Type of weapon, such as sword, whip, etc.
  • manufacturer: Only the entries GRM, Tenora, Yohmei, and Kubara are valid. Will replace with manufacturer icon.
  • grade: Only the entries C, B, A, and S are valid. Will replace with grade icon.
  • requirement: Write as Level X.
  • special: Write as Special LVX. If no special, write None.
  • rate: Write as X%. This is the proc rate of the special attack - this stat exists even if the base special is None.
  • element: Only the entries Any, Neutral, Fire, Ice, Lightning, Ground, Lightning, Light, Dark, and LightDark are valid. Will replace with attribute icon.
  • stats: Only input stats on the weapon. EATK, EACC, IATK and IACC refer to extend and extend infinity stats respectively.
  • PA/PP: Write as X%.
  • specials: These are the specials gained on Extend. Only the levels need to be inputted, i.e. infect = 3. If not gained on extend, delete or leave the field blank.
  • desc: Description of the item.