Data is potentially outdated. Last updated for an unknown version. Current game version: v1.4.6.0.

Template:Sandbox: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
No edit summary
No edit summary
Line 1: Line 1:
<noinclude>{{doc}}[[Category:Templates]]
{{#vardefine:match<!--
{{Sandbox}}</noinclude>
// Versions match
<includeonly>
-->|{{#ifeq:{{{1}}}|{{Current_version}}|true<!--
{| class="resonsive-table sortable" style="text-align:center; width: 100%;"
// First two version numbers match, ignore last two
|-
-->|{{#ifeq:{{#explode:{{{1}}}|.|0}}{{#explode:{{{1}}}|.|1}}|{{#explode:{{Current_version}}|.|0}}{{#explode:{{Current_version}}|.|1}}|true|false}}}}}}<!--
! style="width: 13%" | Affliction
 
! style="width: 5%" |<span class="explain" title="Is the affliction able to be applied on a specific limb?">Limb Specific?</span>
--><indicator name="version">{{#if:{{{cleanup|}}}|[[File:Cleanup.svg|32px|This page requires cleanup to meet the wiki standards. See Guidelines. {{#if:{{{cleanupnote|}}}|Note: {{{cleanupnote}}}|}}]]|}}<!--
! style="width: 5%" |<span class="explain" title="Will vitality loss and/or afflictions gain be a percentage the victim's max vitality?">Scaled to Vitality?</span>
 
! style="width: 7%" |If left alone
-->{{#if:{{{stub|}}}|[[File:Icon-stub.png|32px|This page is a stub. You can help by editing it! {{#if:{{{stubnote|}}}|Note: {{{stubnote}}}|}}]]|}}<!--
! style="width: 7%" class="unsortable" |Strength Range
 
! style="width: 20%" class="unsortable" |<span class="explain" title="What happens in that strength range?">Effects</span>
-->[[File:Version Checkmark_{{#ifeq:{{#var:match}}|true|True|False}}.png|32px|{{#ifeq:{{#var:match}}|true|Data is up-to-date.|Data is potentially outdated. {{#ifeq:{{#var:match}}|true||Last updated for {{#if:{{{1|}}}|v{{{1}}}.|an unknown version.}} Current game version: v{{Current_version}}.}}}} {{#if:{{{2|}}}|{{!}}NOTE: {{{2}}}|}}]]</indicator><!--
! style="width: 16%" class="unsortable" |<span class="explain" title="Total affliction strength reduction, Success | Failure">Treatments</span>
 
! style="width: 15%" class="unsortable" |<span class="explain" title="Total affliction strength increase, Success | Failure. Weapons and creature attacks not included.">Causes</span>
 
{{#cargo_query:
 
tables = Afflictions
-->{{#ifeq:{{NAMESPACE}}|Template||{{#ifeq:{{#var:match}}|true||[[Category:Potentially Outdated]]}}{{#if:{{{stub|}}}|{{#if:{{{cleanup|}}}|[[Category:Stubs]][[Category:Cleanup]][[Category:Problem articles]]|[[Category:Stubs]][[Category:Problem articles]]}}|{{#if:{{{cleanup|}}}|[[Category:Cleanup]][[Category:Problem articles]]|}}}}}}
| fields = Afflictions.identifier, Afflictions.name, Afflictions.icon, Afflictions.sort, Afflictions.description, Afflictions.limb, Afflictions.limbnote, Afflictions.scaled, Afflictions.evolution, Afflictions.treatments, Afflictions.causes, Afflictions.range1, Afflictions.effect1, Afflictions.range2, Afflictions.effect2, Afflictions.range3, Afflictions.effect3, Afflictions.range4, Afflictions.effect4, Afflictions.range5, Afflictions.effect5, Afflictions.range6, Afflictions.effect6, Afflictions.range7, Afflictions.effect7, Afflictions.range8, Afflictions.effect8
| order by = Afflictions.sort ASC, _pageName ASC
| format = template
| template = Sandbox/row
| named args = yes
| delimiter = \n
}}
|}
</includeonly>

Revision as of 13:51, 12 June 2022