Template:Sandbox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
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.penetration, Ammunition.explosionrange, Ammunition.structuredamage, Items.fabricatormaterials | | fields = Ammunition.name, Items.icon, Ammunition.afflictions, {{#if: {{{showpenetration|}}}|Ammunition.penetration,}} {{#if: {{{showexplosionrange|}}}|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 | ||
Line 18: | Line 18: | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<!--| having = penetration(*) > 0--> |
Revision as of 15:44, 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)