Template:Weapon/Article: Difference between revisions
(add board query wip and cleanup) |
(add stub queries) |
||
Line 304: | Line 304: | ||
== Methods to Obtain == | == Methods to Obtain == | ||
<!-- Shop query for both weapon and all boards that produce the weapon -->{{#cargo_query:tables=Boards, Shops | |||
|fields=Boards.name, Shops.id | |||
|fields= | |||
|where=make_id = "{{{id}}}" | |where=make_id = "{{{id}}}" | ||
|join on=Boards.make_id = Shops.id | |||
|named args=yes | |named args=yes | ||
|format=template | |format=template | ||
|template=Cargo Rows/Boards | |template=Cargo Rows/Purchase | ||
|intro= === Purchase === | |||
{{{!}}class="wikitable sortable" | |||
! MAKE HEADERS | |||
|outro= {{!}}} | |||
|default= | |||
}}<!-- Board query -->{{#cargo_query:tables=Boards, BoardMaterials | |||
|fields=Boards.name | |||
|join on= Boards.id = BoardMaterials.id | |||
|where=make_id = "{{{id}}}" | |||
|named args=yes | |||
|format=template | |||
|template=Cargo Rows/Synthesis | |||
|intro= === Synthesis === | |intro= === Synthesis === | ||
{{{!}}class="wikitable sortable" | {{{!}}class="wikitable sortable" | ||
! | ! MAKE HEADER | ||
|outro= {{!}}} | |outro= {{!}}} | ||
|default= | |default= |
Revision as of 11:19, 16 March 2024
Automatically generates a weapon page.