Template:Weapon/Article: Difference between revisions

From Phantasy Star Universe Clementine
(add dynamic drop category)
(add board query wip and cleanup)
Line 26: Line 26:
== Item Properties ==
== Item Properties ==
<tabber>
<tabber>
|-|Simple=
|-|Summary=
{{#ifexpr: {{{accuracy}}} > 9998 | * Cannot miss.}}<!-- HIDDEN STANDARDIZATION LOGIC  
{{#ifexpr: {{{accuracy}}} > 9998 | * Cannot miss.}}<!-- HIDDEN STANDARDIZATION LOGIC  
Rods: Standard ATTACK MOD is 1.2. Standard CRITICAL MOD is 1.4.
Rods: Standard ATTACK MOD is 1.2. Standard CRITICAL MOD is 1.4.
Line 32: Line 32:
TCSMs: Standard SE MOD is 1.4. Standard CRITICAL MOD is 1.3.
TCSMs: Standard SE MOD is 1.4. Standard CRITICAL MOD is 1.3.
-->{{#ifexpr: {{{normal attack mod}}} <> {{#switch:{{{weapon type}}}|Rod=1.2|Wand=1.1|default=1}}| * Has a non-standard {{{normal attack mod}}}x damage multiplier on all attacks from this weapon.}}{{#ifexpr: {{{pa mod}}} <> 1 | * Has a {{{pa mod}}}x damage multiplier on all Photon Arts used with this weapon.}}{{#ifexpr: {{{critical attack mod}}} <> {{#switch:{{{weapon type}}}|Rod=1.4|Wand=1.3|TCSM=1.3|default=1.5}}| * Has a {{{critical attack mod}}}x critical damage boost as opposed to the standard {{#switch:{{{weapon type}}}|Rod=1.4|Wand=1.3|TCSM=1.3|default=1.5}}x.}}{{#if: {{{coreable|}}} | * This weapon can be exchanged for a [[Ultimate Weapons|{{{weapon type}}} Core ({{{rank}}})]].}}
-->{{#ifexpr: {{{normal attack mod}}} <> {{#switch:{{{weapon type}}}|Rod=1.2|Wand=1.1|default=1}}| * Has a non-standard {{{normal attack mod}}}x damage multiplier on all attacks from this weapon.}}{{#ifexpr: {{{pa mod}}} <> 1 | * Has a {{{pa mod}}}x damage multiplier on all Photon Arts used with this weapon.}}{{#ifexpr: {{{critical attack mod}}} <> {{#switch:{{{weapon type}}}|Rod=1.4|Wand=1.3|TCSM=1.3|default=1.5}}| * Has a {{{critical attack mod}}}x critical damage boost as opposed to the standard {{#switch:{{{weapon type}}}|Rod=1.4|Wand=1.3|TCSM=1.3|default=1.5}}x.}}{{#if: {{{coreable|}}} | * This weapon can be exchanged for a [[Ultimate Weapons|{{{weapon type}}} Core ({{{rank}}})]].}}
|-|Verbose=
|-|All Properties=
{| class="wikitable"
{| class="wikitable"
|+ General Properties
|+ General Properties
Line 304: Line 304:


== Methods to Obtain ==
== Methods to Obtain ==
<!--
=== Purchase ===
=== Purchase ===
SHOP QUERY HERE FOR WEAPON AND BOARD
--><!-- Shop query for both weapon and all boards that produce the weapon -->
=== Synthesis ===
<!-- Board query -->{{#cargo_query:tables=Boards
BOARD MATERIAL QUERY HERE
|fields=_pageName, name
{{#cargo_query:tables=Drops
|where=make_id = "{{{id}}}"
|named args=yes
|format=template
|template=Cargo Rows/Boards
|intro= === Synthesis ===
{{{!}}class="wikitable sortable"
! Name
|outro= {{!}}}
|default=
}}<!-- Drop query -->{{#cargo_query:tables=Drops
|fields=_pageName, source, table_label, tickets
|fields=_pageName, source, table_label, tickets
|where=item_id = "{{{id}}}"
|where=item_id = "{{{id}}}"
Line 317: Line 327:
{{{!}}class="wikitable sortable"
{{{!}}class="wikitable sortable"
! Source
! Source
! Table
! Drop Table
! Drop Rate
! Drop Rate
|outro= {{!}}}
|outro= {{!}}}
|default=
|default=
}}
}}{{#if:{{{da|}}}|==Possible Prototypes==
{{#if:{{{da|}}}|==Possible Prototypes==
{{See also|Prototype Weapons System}}
{{See also|Prototype Weapons System}}
{{{!}}class="wikitable"
{{{!}}class="wikitable"

Revision as of 09:50, 16 March 2024

Automatically generates a weapon page.