Template:Weapon/Article: Difference between revisions
(remarks test) |
(move categorizations into only working if in the main namespace) |
||
(18 intermediate revisions by 3 users not shown) | |||
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 35: | 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 | ||
Line 85: | 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 97: | 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}}} {{#ifeq:{{{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 109: | Line 125: | ||
|- | |- | ||
! Manufacturer: | ! Manufacturer: | ||
| {{{manufacturer}}} [[Category:Items manufactured by {{{manufacturer}}}]] | | {{{manufacturer}}} {{#if:{{NAMESPACE}} | ||
| | |||
|[[Category:Items manufactured by {{{manufacturer}}}]] | |||
}} | |||
|} | |} | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 158: | 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 262: | Line 281: | ||
|- | |- | ||
! ID: | ! ID: | ||
| {{{self status id|0} | | {{{self status id|0}}} | ||
|- | |- | ||
! Level: | ! Level: | ||
Line 273: | Line 292: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{neutral status id|0} | |{{{neutral status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 284: | Line 303: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{fire status id|0} | |{{{fire status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 295: | Line 314: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{ice status id|0} | |{{{ice status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 306: | Line 325: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{lightning status id|0} | |{{{lightning status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 317: | Line 336: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{ground status id|0} | |{{{ground status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 328: | Line 347: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{light status id|0} | |{{{light status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 339: | Line 358: | ||
|- | |- | ||
!ID: | !ID: | ||
|{{{dark status id|0} | |{{{dark status id|0}}} | ||
|- | |- | ||
!Level: | !Level: | ||
Line 346: | 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 centertable" | {{{!}}class="wikitable centertable" | ||
Line 431: | 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 447: | 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 459: | 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.