Template:Sandbox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 22: Line 22:
| template = Sandbox/rowpene
| template = Sandbox/rowpene
| named args = yes
| named args = yes
}}}}|{{#cargo_query:
}}}}|{{#if: {{{showexplosionrange|}}}|{{#cargo_query:
tables = Ammunition,Items
tables = Ammunition,Items
| join on = Ammunition.name = Items.name
| join on = Ammunition.name = Items.name
| fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.structuredamage, Items.fabricatormaterials
| fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials
| where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| format = template
| format = template
| template = Sandbox/rownone
| template = Sandbox/rowexplo
| named args = yes
| named args = yes
}}}}{{#if: {{{showexplosionrange|}}}|{{#cargo_query:
}}|{{#cargo_query:
tables = Ammunition,Items
tables = Ammunition,Items
| join on = Ammunition.name = Items.name
| join on = Ammunition.name = Items.name
| fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials
| fields = Ammunition.name, Items.icon, Ammunition.afflictions, Ammunition.structuredamage, Items.fabricatormaterials
| where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| where = Ammunition.usedby = "{{PAGENAME}}" OR Ammunition.usedby2 = "{{PAGENAME}}" OR Ammunition.usedby3 = "{{PAGENAME}}"
| format = template
| format = template
| template = Sandbox/rowexplo
| template = Sandbox/rownone
| named args = yes
| named args = yes
}}|}}
}}}}}}
|}
|}
</includeonly>
</includeonly>

Revision as of 16:26, 11 November 2021

Documentation

This template can be used to test templates. This is useful when making significant changes to a broadly used template, so as to not impact the wiki during tests. User pages cannot be used for that purpose.