64,987
editsMore actions
Removed act parameter
HiddenDragon (talk | contribs) (Early version) |
HiddenDragon (talk | contribs) (Removed act parameter) Tag: Manual revert |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#cargo_query: | <includeonly>{{#cargo_query: | ||
tables = item_locations, locations, equipment | tables = item_locations, locations, equipment, weapons | ||
|join on=item_locations.location=locations.name,equipment._pageName = | |join on=item_locations.location=locations.name,item_locations._pageName = equipment._pageName, item_locations._pageName = weapons._pageName | ||
|fields=equipment.name, equipment.rarity, equipment.icon, equipment.passives, equipment.special, item_locations._pageName=page, item_locations.description=description, item_locations.x=x, item_locations.y=y, item_locations.location, locations.region | |fields=equipment.name, equipment.rarity, equipment.icon, equipment.passives, equipment.special, weapons.name=weapons name, weapons.rarity=weapons rarity, weapons.icon=weapons icon, weapons.weapon_passives=weapons passives, weapons.passives_main_hand, weapons.passives_off_hand, weapons.special_weapon_actions, weapons.special=weapons special, item_locations._pageName=page, item_locations.description=description, item_locations.x=x, item_locations.y=y, item_locations.location, locations.region | ||
|where=locations.region = '{{#replace:{{{1}}}|'|\'}} | |where=(locations.region = "{{#replace:{{{1}}}|'|\'}}" OR locations.name = "{{#replace:{{{1}}}|'|\'}}") | ||
|order by=item_locations.location,name | |order by=item_locations.location, item_locations.x, item_locations.y, name | ||
|intro={{Item location table row/header}} | |intro={{Item location table row/header}} | ||
|outro={{Item location table row/footer}} | |outro={{Item location table row/footer}} | ||
Line 15: | Line 15: | ||
This template generates a table filled with item locations that satisfy the provided region. | This template generates a table filled with item locations that satisfy the provided region. | ||
Example: <pre>{{Item location table| | Example: <pre>{{Item location table|Rivington}}</pre> | ||
{{Item location table| | {{Item location table|Rivington}} | ||
[[Category:Templates]] | [[Category:Templates]] |