Template:Sandbox: Difference between revisions
From Official Barotrauma Wiki
No edit summary |
No edit summary |
||
Line 6: | Line 6: | ||
{{#if: {{{showexplosionrange|}}}|! Explosion Range|}} | {{#if: {{{showexplosionrange|}}}|! Explosion Range|}} | ||
! Structure Damage | ! Structure Damage | ||
! [[Fabricator]] Materials{{#if: {{{showpenetration|}}}|{{#if: {{{showexplosionrange|}}}|{{#cargo_query: | ! [[Fabricator]] Materials{{#if: {{{showpenetration|}}}|{{#if: {{{showexplosionrange|}}}| | ||
{{#cargo_query: | |||
tables = Ammunition,Items | tables = Ammunition,Items | ||
| join on = Ammunition.name = Items.name | | join on = Ammunition.name = Items.name | ||
Line 14: | Line 15: | ||
| template = Sandbox/row | | template = Sandbox/row | ||
| named args = yes | | named args = yes | ||
}}|{{#cargo_query: | }}| | ||
{{#cargo_query: | |||
tables = Ammunition,Items | tables = Ammunition,Items | ||
| join on = Ammunition.name = Items.name | | join on = Ammunition.name = Items.name | ||
Line 22: | Line 24: | ||
| template = Sandbox/rowpene | | template = Sandbox/rowpene | ||
| named args = yes | | named args = yes | ||
}}}}|{{#if: {{{showexplosionrange|}}}|{{#cargo_query: | }}}}|{{#if: {{{showexplosionrange|}}}| | ||
{{#cargo_query: | |||
tables = Ammunition,Items | tables = Ammunition,Items | ||
| join on = Ammunition.name = Items.name | | join on = Ammunition.name = Items.name | ||
Line 30: | Line 33: | ||
| template = Sandbox/rowexplo | | template = Sandbox/rowexplo | ||
| named args = yes | | named args = yes | ||
}}|{{#cargo_query: | }}| | ||
{{#cargo_query: | |||
tables = Ammunition,Items | tables = Ammunition,Items | ||
| join on = Ammunition.name = Items.name | | join on = Ammunition.name = Items.name |
Revision as of 16:27, 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)