Template:Sandbox: Difference between revisions
From Official Barotrauma Wiki
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/ | | template = Sandbox/rowexplo | ||
| named args = yes | | named args = yes | ||
}}|{{#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 | | 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/ | | template = Sandbox/rownone | ||
| named args = yes | | named args = yes | ||
}} | }}}}}} | ||
|} | |} | ||
</includeonly> | </includeonly> |
Revision as of 16:26, 11 November 2021
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.
The above documentation is transcluded from Template:Sandbox/doc. (edit | history)