Template:Infobox Ranged: Difference between revisions

From PSP2i Wiki
No edit summary
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<table align="right" style="border: 1px solid #aaa; font-size: 95%" cellpadding="0">
<table align="right" style="border: 1px solid #aaa; font-size: 95%; margin-bottom: 10px;" cellpadding="0">


<tr><td><table align="center" style="width:100%;">
<tr><td><table align="center" style="width:100%;">
Line 41: Line 41:
<th style="background-color: #A00000;">Grade:</th>
<th style="background-color: #A00000;">Grade:</th>
<td>{{#switch:{{{grade}}}
<td>{{#switch:{{{grade}}}
   | C = [[File:c.gif|link=]]
   | C = [[File:c.png|link=]]
   | B = [[File:b.gif|link=]]
   | B = [[File:b.png|link=]]
   | A = [[File:a.gif|link=]]
   | A = [[File:a.png|link=]]
   | S = [[File:s.gif|link=]]
   | S = [[File:s.png|link=]]
}}</td>
}}</td>
</tr>
</tr>
Line 90: Line 90:
</tr>
</tr>
</table></td></tr>
</table></td></tr>
{{#if:{{{ATK|}}}|<table align="center" style="width:100%">
{{#if:{{{ATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">Eff. ATK:</th>
<th style="background-color: #A00000;">Eff. ATK:</th>
Line 99: Line 99:
<td>{{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}}</td>
<td>{{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}}</td>
</tr>
</tr>
}}</table>
}}
<table align="center" style="width:100%">
<table align="center" style="width:100%">
{{#if:{{{PA|}}}|
{{#if:{{{PA|}}}|
Line 125: Line 125:
{{#if:{{{EATK|}}}|
{{#if:{{{EATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">E. EXT ATK:</th>
<th style="background-color: #A00000;">EXT Eff. ATK:</th>
<td>{{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}} (+({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}})-({{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}}))
<td>{{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}} (+{{#expr:({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}})-({{#expr: ({{{ATK10}}}/4)+{{{ACC}}} round 0}})}})
}}
}}
{{#if:{{{IATK|}}}|
{{#if:{{{IATK|}}}|
Line 142: Line 142:
{{#if:{{{IATK|}}}|
{{#if:{{{IATK|}}}|
<tr>
<tr>
<th style="background-color: #A00000;">E. EXT ATK:</th>
<th style="background-color: #A00000;">EXT∞ Eff. ATK:</th>
<td>{{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}} (+({{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}})-({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}}))
<td>{{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}} (+{{#expr:({{#expr: ({{{IATK}}}/4)+{{{IACC}}} round 0}})-({{#expr: ({{{EATK}}}/4)+{{{EACC}}} round 0}})}})
}}
}}
</table>
</table>

Latest revision as of 11:06, 21 August 2022

Infobox Ranged




Extend Data
Drain

Usage[edit source]

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[edit source]

{{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.