Template:Weapon/Article: Difference between revisions

From Phantasy Star Universe Clementine
mNo edit summary
(move categorizations into only working if in the main namespace)
 
(21 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 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
Line 84: 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 96: 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 108: Line 125:
|-
|-
! Manufacturer:
! Manufacturer:
| {{{manufacturer}}} [[Category:Items manufactured by {{{manufacturer}}}]]
| {{{manufacturer}}} {{#if:{{NAMESPACE}}
|
|[[Category:Items manufactured by {{{manufacturer}}}]]
}}
|}
|}
{| class="wikitable"
{| class="wikitable"
Line 157: Line 177:
|+ Modifiers
|+ Modifiers
! ATP Boost:  
! ATP Boost:  
| {{{atp|0}}} {{#ifexpr: {{{atp|}}} <> 0 | [[Category: Weapons that alter ATP]]}}
| {{{atp|0}}}
|-
|-
! ATA Boost:  
! ATA Boost:  
| {{{ata|0}}} {{#ifexpr: {{{ata|}}} <> 0 | [[Category: Weapons that alter ATA]]}}
| {{{ata|0}}}
|-
|-
! DFP Boost:  
! DFP Boost:  
| {{{dfp|0}}} {{#ifexpr: {{{dfp|}}} <> 0 | [[Category: Weapons that alter DFP]]}}
| {{{dfp|0}}}
|-
|-
! TP Boost:  
! TP Boost:  
| {{{tp|0}}} {{#ifexpr: {{{tp|}}} <> 0 | [[Category: Weapons that alter TP]]}}
| {{{tp|0}}}
|-
|-
! EVP Boost:  
! EVP Boost:  
| {{{evp|0}}} {{#ifexpr: {{{evp|}}} <> 0 | [[Category: Weapons that alter EVP]]}}
| {{{evp|0}}}
|-
|-
! MST Boost:  
! MST Boost:  
| {{{mst|0}}} {{#ifexpr: {{{mst|}}} <> 0 | [[Category: Weapons that alter MST]]}}
| {{{mst|0}}}
|-
|-
! STA Boost:  
! STA Boost:  
| {{{sta|0}}} {{#ifexpr: {{{sta|}}} <> 0 | [[Category: Weapons that alter STA]]}}
| {{{sta|0}}}  
|-
|-
! Attack Modifier:  
! Attack Modifier:  
| {{{normal attack mod|1}}} {{#ifexpr: {{{normal attack mod|}}} <> 1 | [[Category: Weapons that have an altered Attack Modifier]]}}
| {{{normal attack mod|1}}}
|-
|-
! Critical Attack Modifier:  
! Critical Attack Modifier:  
| {{{critical attack mod|1}}} {{#ifexpr: {{{critical attack mod|}}} <> 1 | [[Category: Weapons that have an altered Critical Attack Modifier]]}}
| {{{critical attack mod|1}}}
|-
|-
! PA Modifier:  
! PA Modifier:  
| {{{pa mod|1}}} {{#ifexpr: {{{pa mod|}}} <> 1 | [[Category: Weapons that have an altered PA Modifier]]}}
| {{{pa mod|1}}}
|-
|-
! PP Modifier:  
! PP Modifier:  
| {{{pp mod|1}}} {{#ifexpr: {{{pp mod|}}} <> 1 | [[Category: Weapons that have an altered PP Modifier]]}}
| {{{pp mod|1}}}
|-
|-
! SE Modifier:  
! SE Modifier:  
| {{{se mod|1}}} {{#ifexpr: {{{se mod|}}} <> 1 | [[Category: Weapons that have an altered SE Modifier]]}}
| {{{se mod|1}}}
|-
|-
! Striking Range:  
! Striking Range:  
| {{{striking range|0}}} {{#ifexpr: {{{striking range|}}} <> 0 | [[Category: Weapons that have altered striking range]]}}
| {{{striking range|0}}}
|-
|-
! Striking Speed:  
! Striking Speed:  
| {{{striking speed|0}}} {{#ifexpr: {{{striking speed|}}} <> 0 | [[Category: Weapons that have altered striking speed]]}}
| {{{striking speed|0}}}
|-
|-
! Bullet Range:  
! Bullet Range:  
| {{{bullet range|0}}} {{#ifexpr: {{{bullet range|}}} <> 0 | [[Category: Weapons that have altered bullet range]]}}
| {{{bullet range|0}}}
|-
|-
! Bullet Speed:  
! Bullet Speed:  
| {{{bullet speed|0}}} {{#ifexpr: {{{bullet speed|}}} <> 0 | [[Category: Weapons that have altered bullet speed]]}}
| {{{bullet speed|0}}}
|-
|-
! TECHNIC Range:  
! TECHNIC Range:  
| {{{technic range|0}}} {{#ifexpr: {{{technic range|}}} <> 0 | [[Category: Weapons that have altered TECHNIC range]]}}
| {{{technic range|0}}}
|-
|-
! TECHNIC Speed:  
! TECHNIC Speed:  
| {{{technic speed|0}}} {{#ifexpr: {{{technic speed|}}} <> 0 | [[Category: Weapons that have altered TECHNIC speed]]}}
| {{{technic speed|0}}}
|}
|}
{| class="wikitable"
{| class="wikitable"
Line 261: Line 281:
|-
|-
! ID:
! ID:
| {{{self status id|0}}} {{#ifexpr: {{{self status id|}}} > 0 | [[Category: Weapons that inflict status to self]]}}
| {{{self status id|0}}}
|-
|-
! Level:
! Level:
Line 272: Line 292:
|-
|-
!ID:
!ID:
|{{{neutral status id|0}}} {{#ifexpr: {{{neutral status id|}}} > 0 | [[Category: Weapons that inflict status while Neutral Element]]}}
|{{{neutral status id|0}}}
|-
|-
!Level:
!Level:
Line 283: Line 303:
|-
|-
!ID:
!ID:
|{{{fire status id|0}}} {{#ifexpr: {{{fire status id|}}} > 0 | [[Category: Weapons that inflict status while Fire Element]]}}
|{{{fire status id|0}}}
|-
|-
!Level:
!Level:
Line 294: Line 314:
|-
|-
!ID:
!ID:
|{{{ice status id|0}}} {{#ifexpr: {{{ice status id|}}} > 0 | [[Category: Weapons that inflict status while Ice Element]]}}
|{{{ice status id|0}}}
|-
|-
!Level:
!Level:
Line 305: Line 325:
|-
|-
!ID:
!ID:
|{{{lightning status id|0}}} {{#ifexpr: {{{lightning status id|}}} > 0 | [[Category: Weapons that inflict status while Lightning Element]]}}
|{{{lightning status id|0}}}
|-
|-
!Level:
!Level:
Line 316: Line 336:
|-
|-
!ID:
!ID:
|{{{ground status id|0}}} {{#ifexpr: {{{ground status id|}}} > 0 | [[Category: Weapons that inflict status while Ground Element]]}}
|{{{ground status id|0}}}
|-
|-
!Level:
!Level:
Line 327: Line 347:
|-
|-
!ID:
!ID:
|{{{light status id|0}}} {{#ifexpr: {{{light status id|}}} > 0 | [[Category: Weapons that inflict status while Light Element]]}}
|{{{light status id|0}}}
|-
|-
!Level:
!Level:
Line 338: Line 358:
|-
|-
!ID:
!ID:
|{{{dark status id|0}}} {{#ifexpr: {{{light status id|}}} > 0 | [[Category: Weapons that inflict status while Dark Element]]}}
|{{{dark status id|0}}}
|-
|-
!Level:
!Level:
Line 345: 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 430: Line 480:
{{#cargo_query:tables=Boards, Shops
{{#cargo_query:tables=Boards, Shops
|fields=Boards.name, Shops.id
|fields=Boards.name, Shops.id
|where=make_id = "{{{id}}}"
|where=Boards.id = "{{{id}}}"
|join on=Boards.make_id = Shops.id
|join on=Boards.id = Shops.id
|named args=yes
|named args=yes
|format=template
|format=template
Line 446: Line 496:
  -->{{#cargo_query:tables=Boards, Shops
  -->{{#cargo_query:tables=Boards, Shops
|fields=Boards.name, Shops.id
|fields=Boards.name, Shops.id
|where=make_id = "{{{id}}}"
|where=Boards.id = "{{{id}}}"
|join on=Boards.make_id = Shops.id
|join on=Boards.id = Shops.id
|named args=yes
|named args=yes
|format=template
|format=template
Line 458: Line 508:
}}<!--  
}}<!--  
Board query  
Board query  
-->{{#cargo_query:tables=Boards, Board_Materials
-->{{#cargo_query:tables=Boards, Synthesis
|fields=Boards.name
|fields=Boards.name
|join on= Boards.id = Board_Materials.id
|join on= Boards.id = Synthesis.board_id
|where=make_id = "{{{id}}}"
|where=Boards.id = "{{{id}}}"
|named args=yes
|named args=yes
|format=template
|format=template
Line 521: Line 571:
{{!}}{{{ampd}}}
{{!}}{{{ampd}}}
{{!}}-}}
{{!}}-}}
}}
}}</includeonly>

Latest revision as of 11:46, 10 January 2025

Automatically generates a weapon page.