Template:Weapon/Article: Difference between revisions
(improve weapon type categorization) |
(move categorizations into only working if in the main namespace) |
||
(30 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{{{FULLPAGENAME}}/doc}} | <noinclude>{{{{FULLPAGENAME}}/doc}} | ||
</noinclude><includeonly>{{Infobox Equipment | </noinclude><includeonly><templatestyles src="Weapon/Article/styles.css" />{{Infobox Equipment | ||
|image={{{ | |image={{{image|{{FULLPAGENAME}}.png}}} | ||
|type=01 | |type=01 | ||
|subtype={{{weapon type}}} | |subtype={{{weapon type}}} | ||
Line 7: | Line 7: | ||
|mfr={{{manufacturer}}} | |mfr={{{manufacturer}}} | ||
|name={{{name}}} | |name={{{name}}} | ||
|jpname={{{jpname}}} | |||
|rarity={{{rarity}}} | |rarity={{{rarity}}} | ||
|rank={{{rank}}} | |rank={{{rank}}} | ||
Line 22: | Line 23: | ||
}} | }} | ||
<i>{{{description|No description provided.[[Category: Items with missing descriptions]]}}}</i> | <i>{{{description|No description provided.{{#if:{{NAMESPACE}} | ||
| | |||
|[[Category: Items with missing descriptions]] | |||
}}}}}</i> | |||
== Item Properties == | == Item Properties == | ||
<tabber> | <tabber> | ||
|-|Summary=<!-- | |-|Summary= | ||
=== Aggregated Properties === | |||
<!-- | |||
Arbitrary Text | Arbitrary Text | ||
-->{{{remarks|}}}<!-- | -->{{{remarks|}}}<!-- | ||
Line 34: | Line 40: | ||
|Straight Line = fire in a straight line. | |Straight Line = fire in a straight line. | ||
|Arc = fire in a parabolic arc. | |Arc = fire in a parabolic arc. | ||
|Point-Blank = explode at point-blank range. | |||
|#default = use an unknown firing style.}}}}<!-- | |#default = use an unknown firing style.}}}}<!-- | ||
Implicit Cannot Miss | Implicit Cannot Miss | ||
-->{{#ifexpr: {{{accuracy}}} > 9998 | * Attacks from this weapon cannot be treated as missed for purposes of damage calculation.}}<!-- | -->{{#ifexpr: {{{accuracy}}} > 9998 | * Attacks from this weapon cannot be treated as missed for purposes of damage calculation.}}<!-- | ||
Non-Standard Attack Mods: | Non-Standard Attack Mods: | ||
Rods: Standard ATTACK MOD is 1.2. | Melee: Standard ATTACK MOD is 1.0. Only applies to Normal Attacks. | ||
Wands: Standard ATTACK MOD is 1.1. | Ranged: Interaction is unknown. | ||
Rods: Standard ATTACK MOD is 1.2. Works on all attacks. | |||
Wands: Standard ATTACK MOD is 1.1. Works on all attacks. | |||
TCSMs: Standard ATTACK MOD is 1.0. Works on all attacks. | |||
-->{{#ifexpr: {{{normal attack mod}}} <> {{#switch:{{{weapon type}}} | -->{{#ifexpr: {{{normal attack mod}}} <> {{#switch:{{{weapon type}}} | ||
|Rod=1.2 | |Rod=1.2 | ||
|Wand=1.1 | |Wand=1.1 | ||
|#default=1}} | |#default=1}} | ||
| * Has a {{{normal attack mod}}}x damage multiplier on all attacks from this weapon.}}<!-- | | {{#switch:{{{weapon type}}} | ||
|Sword | |||
|Knuckles | |||
|Spear | |||
|Double Saber | |||
|Axe | |||
|Twin Saber | |||
|Twin Dagger | |||
|Saber | |||
|Dagger | |||
|Claw | |||
|Whip | |||
|Slicer = * Has a {{{normal attack mod}}}x damage multiplier on normal attacks from this weapon. | |||
|Rod | |||
|Wand | |||
|TCSM = * Has a {{{normal attack mod}}}x damage multiplier on all attacks from this weapon. | |||
|#default=}}}}<!-- | |||
Non-Standard PA Mods | Non-Standard PA Mods | ||
-->{{#ifexpr: {{{pa mod}}} <> 1 | * Has a {{{pa mod}}}x damage multiplier on all Photon Arts used with this weapon.}}<!-- | -->{{#ifexpr: {{{pa mod}}} <> 1 | * Has a {{{pa mod}}}x damage multiplier on all Photon Arts used with this weapon.}}<!-- | ||
Line 66: | Line 91: | ||
-->{{#ifeq: {{{coreable}}} | Yes | * This weapon can be exchanged for a [[Ultimate Weapons|{{{weapon type}}} Core ({{{rank}}})]].}} | -->{{#ifeq: {{{coreable}}} | Yes | * This weapon can be exchanged for a [[Ultimate Weapons|{{{weapon type}}} Core ({{{rank}}})]].}} | ||
|-|All Properties= | |-|All Properties= | ||
=== Properties Tables === | |||
{| class="wikitable" | {| class="wikitable" | ||
|+ General Properties | |+ General Properties | ||
Line 78: | Line 104: | ||
|- | |- | ||
! Rarity: | ! Rarity: | ||
| {{{rarity}}}★ [[Category:{{{rarity}}}★ Weapons]] | | {{{rarity}}}★ {{#if:{{NAMESPACE}} | ||
| | |||
|[[Category:{{{rarity}}}★ Weapons]] | |||
}} | |||
|- | |- | ||
! Rank: | ! Rank: | ||
| {{{rank}}} [[Category: {{{rank}}}-rank Weapons]] | | {{{rank}}} {{#if:{{NAMESPACE}} | ||
| | |||
|[[Category: {{{rank}}}-rank Weapons]] | |||
}} | |||
|- | |- | ||
! Weapon Type: | ! Weapon Type: | ||
| {{{weapon type}}} {{#if:{{{weapon type}}} | Knuckles | [[Category:{{{weapon type|}}}]] |[[Category: {{{weapon type|}}}s]]}} | | {{{weapon type}}} {{#if:{{NAMESPACE}} | ||
| | |||
|{{#ifeq:{{{weapon type}}} | Knuckles | [[Category:{{{weapon type|}}}]] |[[Category: {{{weapon type|}}}s]]}} | |||
}} | |||
|- | |- | ||
! {{{weapon type}}} ID: | ! {{{weapon type}}} ID: | ||
Line 90: | Line 125: | ||
|- | |- | ||
! Manufacturer: | ! Manufacturer: | ||
| {{{manufacturer}}} [[Category:Items manufactured by {{{manufacturer}}}]] | | {{{manufacturer}}} {{#if:{{NAMESPACE}} | ||
| | |||
|[[Category:Items manufactured by {{{manufacturer}}}]] | |||
}} | |||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 128: | Line 166: | ||
|- | |- | ||
! PP Recovery Per Tick: | ! PP Recovery Per Tick: | ||
| {{{pp tick|0}}} | | {{{pp recovery tick|0}}} | ||
|- | |- | ||
! PP Recovery Per Normal Attack: | ! PP Recovery Per Normal Attack: | ||
| {{{pp normal|0}}} | | {{{pp recovery normal|0}}} | ||
|- | |- | ||
! Legal Elements: | ! Legal Elements: | ||
Line 139: | Line 177: | ||
|+ Modifiers | |+ Modifiers | ||
! ATP Boost: | ! ATP Boost: | ||
| {{{atp|0} | | {{{atp|0}}} | ||
|- | |- | ||
! ATA Boost: | ! ATA Boost: | ||
| {{{ata|0} | | {{{ata|0}}} | ||
|- | |- | ||
! DFP Boost: | ! DFP Boost: | ||
| {{{dfp|0} | | {{{dfp|0}}} | ||
|- | |- | ||
! TP Boost: | ! TP Boost: | ||
| {{{tp|0} | | {{{tp|0}}} | ||
|- | |- | ||
! EVP Boost: | ! EVP Boost: | ||
| {{{evp|0} | | {{{evp|0}}} | ||
|- | |- | ||
! MST Boost: | ! MST Boost: | ||
| {{{mst|0} | | {{{mst|0}}} | ||
|- | |- | ||
! STA Boost: | ! STA Boost: | ||
| {{{sta|0} | | {{{sta|0}}} | ||
|- | |- | ||
! Attack Modifier: | ! Attack Modifier: | ||
| {{{normal attack mod|1} | | {{{normal attack mod|1}}} | ||
|- | |- | ||
! Critical Attack Modifier: | ! Critical Attack Modifier: | ||
| {{{critical attack mod|1} | | {{{critical attack mod|1}}} | ||
|- | |- | ||
! PA Modifier: | ! PA Modifier: | ||
| {{{pa mod|1} | | {{{pa mod|1}}} | ||
|- | |- | ||
! PP Modifier: | ! PP Modifier: | ||
| {{{pp mod|1} | | {{{pp mod|1}}} | ||
|- | |- | ||
! SE Modifier: | ! SE Modifier: | ||
| {{{se mod|1} | | {{{se mod|1}}} | ||
|- | |- | ||
! Striking Range: | ! Striking Range: | ||
| {{{striking range|0} | | {{{striking range|0}}} | ||
|- | |- | ||
! Striking Speed: | ! Striking Speed: | ||
| {{{striking speed|0} | | {{{striking speed|0}}} | ||
|- | |- | ||
! Bullet Range: | ! Bullet Range: | ||
| {{{bullet range|0} | | {{{bullet range|0}}} | ||
|- | |- | ||
! Bullet Speed: | ! Bullet Speed: | ||
| {{{bullet speed|0} | | {{{bullet speed|0}}} | ||
|- | |- | ||
! TECHNIC Range: | ! TECHNIC Range: | ||
| {{{technic range|0} | | {{{technic range|0}}} | ||
|- | |- | ||
! TECHNIC Speed: | ! TECHNIC Speed: | ||
| {{{technic speed|0} | | {{{technic speed|0}}} | ||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 243: | Line 281: | ||
|- | |- | ||
! ID: | ! ID: | ||
| {{{self status id|0} | | {{{self status id|0}}} | ||
|- | |- | ||
! Level: | ! Level: | ||
| {{{self status level|0}}} | | {{{self status level|0}}} | ||
|- | |- | ||
! | ! SE Override: | ||
| {{{self status chance|0}}} | | {{{self status chance|0}}} | ||
|- | |- | ||
Line 254: | Line 292: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{neutral status id|0} | |{{{neutral status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 265: | Line 303: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{fire status id|0} | |{{{fire status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 276: | Line 314: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{ice status id|0} | |{{{ice status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 287: | Line 325: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{lightning status id|0} | |{{{lightning status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 298: | Line 336: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{ground status id|0} | |{{{ground status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 309: | Line 347: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{light status id|0} | |{{{light status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 320: | Line 358: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{dark status id|0} | |{{{dark status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 327: | Line 365: | ||
!SE Override: | !SE Override: | ||
|{{{dark status chance|0}}} | |{{{dark status chance|0}}} | ||
|}</tabber> | |}<!-- Categorizations that are not coupled to anything's control flow --> | ||
{{#if:{{NAMESPACE}} | |||
| | |||
|{{#ifexpr: {{{atp|}}} <> 0 | [[Category: Weapons that alter ATP]]}} | |||
{{#ifexpr: {{{ata|}}} <> 0 | [[Category: Weapons that alter ATA]]}} | |||
{{#ifexpr: {{{dfp|}}} <> 0 | [[Category: Weapons that alter DFP]]}} | |||
{{#ifexpr: {{{tp|}}} <> 0 | [[Category: Weapons that alter TP]]}} | |||
{{#ifexpr: {{{evp|}}} <> 0 | [[Category: Weapons that alter EVP]]}} | |||
{{#ifexpr: {{{mst|}}} <> 0 | [[Category: Weapons that alter MST]]}} | |||
{{#ifexpr: {{{sta|}}} <> 0 | [[Category: Weapons that alter STA]]}} | |||
{{#ifexpr: {{{normal attack mod|}}} <> 1 | [[Category: Weapons that have an altered Attack Modifier]]}} | |||
{{#ifexpr: {{{critical attack mod|}}} <> 1 | [[Category: Weapons that have an altered Critical Attack Modifier]]}} | |||
{{#ifexpr: {{{pa mod|}}} <> 1 | [[Category: Weapons that have an altered PA Modifier]]}} | |||
{{#ifexpr: {{{pp mod|}}} <> 1 | [[Category: Weapons that have an altered PP Modifier]]}} | |||
{{#ifexpr: {{{se mod|}}} <> 1 | [[Category: Weapons that have an altered SE Modifier]]}} | |||
{{#ifexpr: {{{striking range|}}} <> 0 | [[Category: Weapons that have altered striking range]]}} | |||
{{#ifexpr: {{{striking speed|}}} <> 0 | [[Category: Weapons that have altered striking speed]]}} | |||
{{#ifexpr: {{{bullet range|}}} <> 0 | [[Category: Weapons that have altered bullet range]]}} | |||
{{#ifexpr: {{{bullet speed|}}} <> 0 | [[Category: Weapons that have altered bullet speed]]}} | |||
{{#ifexpr: {{{technic range|}}} <> 0 | [[Category: Weapons that have altered TECHNIC range]]}} | |||
{{#ifexpr: {{{technic speed|}}} <> 0 | [[Category: Weapons that have altered TECHNIC speed]]}} | |||
{{#ifexpr: {{{self status id|}}} > 0 | [[Category: Weapons that inflict status to self]]}} | |||
{{#ifexpr: {{{neutral status id|}}} > 0 | [[Category: Weapons that inflict status while Neutral Element]]}} | |||
{{#ifexpr: {{{fire status id|}}} > 0 | [[Category: Weapons that inflict status while Fire Element]]}} | |||
{{#ifexpr: {{{ice status id|}}} > 0 | [[Category: Weapons that inflict status while Ice Element]]}} | |||
{{#ifexpr: {{{lightning status id|}}} > 0 | [[Category: Weapons that inflict status while Lightning Element]]}} | |||
{{#ifexpr: {{{ground status id|}}} > 0 | [[Category: Weapons that inflict status while Ground Element]]}} | |||
{{#ifexpr: {{{light status id|}}} > 0 | [[Category: Weapons that inflict status while Light Element]]}} | |||
{{#ifexpr: {{{light status id|}}} > 0 | [[Category: Weapons that inflict status while Dark Element]]}} | |||
}}</tabber> | |||
== Grinding Information == | == Grinding Information == | ||
{{{!}}class="wikitable" | {{{!}}class="wikitable centertable" | ||
!Stat | !Stat | ||
{{!}}{{#arraymap:0,1,2,3,4,5,6,7,8,9,10|,|x|x/10|{{!}}{{!}}}} <!-- hack: this should look at max grind and count upwards from 0 --> | {{!}}{{#arraymap:0,1,2,3,4,5,6,7,8,9,10|,|x|x/10|{{!}}{{!}}}} <!-- hack: this should look at max grind and count upwards from 0 --> | ||
Line 345: | Line 413: | ||
== Status Information == | == Status Information == | ||
{{#ifeq:{{{weapon type}}} | RCSM | | {{#ifeq:{{{weapon type}}} | RCSM | | ||
{{#ifeq: {{{rcsm number of shot|-1}}} | 0 | * | {{#ifeq: {{{rcsm number of shot|-1}}} | 0 | * {{PAGENAME}} cannot inflict statuses.|{{Weapon Status Effect | ||
|neutral={{{neutral status id}}} | |neutral={{{neutral status id}}} | ||
|neutral level={{{neutral status level}}} | |neutral level={{{neutral status level}}} | ||
Line 397: | Line 465: | ||
== RCSM Information == | == RCSM Information == | ||
{{#ifeq: {{{rcsm number of shot}}} | 0 | {{#ifeq: {{{rcsm number of shot}}} | 0 | ||
| * | | * {{PAGENAME}} fires no bullets. | ||
| {{{!}}class="wikitable" | | {{{!}}class="wikitable" | ||
! Shot Type | ! Shot Type | ||
Line 412: | Line 480: | ||
{{#cargo_query:tables=Boards, Shops | {{#cargo_query:tables=Boards, Shops | ||
|fields=Boards.name, Shops.id | |fields=Boards.name, Shops.id | ||
|where= | |where=Boards.id = "{{{id}}}" | ||
|join on=Boards. | |join on=Boards.id = Shops.id | ||
|named args=yes | |named args=yes | ||
|format=template | |format=template | ||
Line 428: | Line 496: | ||
-->{{#cargo_query:tables=Boards, Shops | -->{{#cargo_query:tables=Boards, Shops | ||
|fields=Boards.name, Shops.id | |fields=Boards.name, Shops.id | ||
|where= | |where=Boards.id = "{{{id}}}" | ||
|join on=Boards. | |join on=Boards.id = Shops.id | ||
|named args=yes | |named args=yes | ||
|format=template | |format=template | ||
Line 440: | Line 508: | ||
}}<!-- | }}<!-- | ||
Board query | Board query | ||
-->{{#cargo_query:tables=Boards, | -->{{#cargo_query:tables=Boards, Synthesis | ||
|fields=Boards.name | |fields=Boards.name | ||
|join on= Boards.id = | |join on= Boards.id = Synthesis.board_id | ||
|where= | |where=Boards.id = "{{{id}}}" | ||
|named args=yes | |named args=yes | ||
|format=template | |format=template |
Latest revision as of 11:46, 10 January 2025
Automatically generates a weapon page.