Template:Weapon/Article: Difference between revisions

From Phantasy Star Universe Clementine
(unfold hitbox and sfx id, pass wrange to infobox)
m (reformatted comments for readability)
Line 314: Line 314:
|#default=ATP}}
|#default=ATP}}
{{!}}{{#arraymap:{{{attack grinds}}}|,|x|x|{{!}}{{!}}}}
{{!}}{{#arraymap:{{{attack grinds}}}|,|x|x|{{!}}{{!}}}}
{{!}}}
{{!}}}<!--
 
Set bonus lookup (reserving space)
{{#cargo_query:tables=Boards, Shops
|fields=Boards.name, Shops.id
|where=make_id = "{{{id}}}"
|join on=Boards.make_id = Shops.id
|named args=yes
|format=template
|template=Cargo Rows/Purchase
|intro= === Purchase ===
{{{!}}class="wikitable sortable"
! MAKE HEADERS
|outro= {{!}}}
|default=
}}-->
== Methods to Obtain ==
== Methods to Obtain ==
<!-- Shop query for both weapon and all boards that produce the weapon -->{{#cargo_query:tables=Boards, Shops
<!--  
Shop query for both weapon and all boards that produce the weapon
-->{{#cargo_query:tables=Boards, Shops
|fields=Boards.name, Shops.id
|fields=Boards.name, Shops.id
|where=make_id = "{{{id}}}"
|where=make_id = "{{{id}}}"
Line 329: Line 344:
|outro= {{!}}}
|outro= {{!}}}
|default=
|default=
}}<!-- Board query -->{{#cargo_query:tables=Boards, BoardMaterials
}}<!--  
Board query  
-->{{#cargo_query:tables=Boards, BoardMaterials
|fields=Boards.name
|fields=Boards.name
|join on= Boards.id = BoardMaterials.id
|join on= Boards.id = BoardMaterials.id
Line 341: Line 358:
|outro= {{!}}}
|outro= {{!}}}
|default=
|default=
}}<!-- Drop query -->{{#cargo_query:tables=Drops
}}<!--  
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}}}"

Revision as of 20:10, 20 March 2024

Automatically generates a weapon page.