Template:Autofill tag/row: Difference between revisions

From Official Barotrauma Wiki
Jump to: navigation, search
mNo edit summary
mNo edit summary
Line 2: Line 2:
<includeonly><onlyinclude>{{#vardefine:c#|c{{#ifeq:{{{c0tag}}}|{{{1}}}|0|{{#ifeq:{{{c1tag}}}|{{{1}}}|1|{{#ifeq:{{{c2tag}}}|{{{1}}}|2|{{#ifeq:{{{c3tag}}}|{{{1}}}|3|{{#ifeq:{{{c4tag}}}|{{{1}}}|4|{{#ifeq:{{{c5tag}}}|{{{1}}}|5|{{#ifeq:{{{c6tag}}}|{{{1}}}|6|{{#ifeq:{{{c7tag}}}|{{{1}}}|7|{{#ifeq:{{{c8tag}}}|{{{1}}}|8|{{#ifeq:{{{c9tag}}}|{{{1}}}|9|{{#ifeq:{{{c10tag}}}|{{{1}}}|10|{{#ifeq:{{{c11tag}}}|{{{1}}}|11|{{#ifeq:{{{c12tag}}}|{{{1}}}|12|{{#ifeq:{{{c13tag}}}|{{{1}}}|13|{{#ifeq:{{{c14tag}}}|{{{1}}}|14|{{#ifeq:{{{c15tag}}}|{{{1}}}|15|{{#ifeq:{{{c16tag}}}|{{{1}}}|16|{{#ifeq:{{{c17tag}}}|{{{1}}}|17|{{#ifeq:{{{c18tag}}}|{{{1}}}|18|{{#ifeq:{{{c19tag}}}|{{{1}}}|19}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
<includeonly><onlyinclude>{{#vardefine:c#|c{{#ifeq:{{{c0tag}}}|{{{1}}}|0|{{#ifeq:{{{c1tag}}}|{{{1}}}|1|{{#ifeq:{{{c2tag}}}|{{{1}}}|2|{{#ifeq:{{{c3tag}}}|{{{1}}}|3|{{#ifeq:{{{c4tag}}}|{{{1}}}|4|{{#ifeq:{{{c5tag}}}|{{{1}}}|5|{{#ifeq:{{{c6tag}}}|{{{1}}}|6|{{#ifeq:{{{c7tag}}}|{{{1}}}|7|{{#ifeq:{{{c8tag}}}|{{{1}}}|8|{{#ifeq:{{{c9tag}}}|{{{1}}}|9|{{#ifeq:{{{c10tag}}}|{{{1}}}|10|{{#ifeq:{{{c11tag}}}|{{{1}}}|11|{{#ifeq:{{{c12tag}}}|{{{1}}}|12|{{#ifeq:{{{c13tag}}}|{{{1}}}|13|{{#ifeq:{{{c14tag}}}|{{{1}}}|14|{{#ifeq:{{{c15tag}}}|{{{1}}}|15|{{#ifeq:{{{c16tag}}}|{{{1}}}|16|{{#ifeq:{{{c17tag}}}|{{{1}}}|17|{{#ifeq:{{{c18tag}}}|{{{1}}}|18|{{#ifeq:{{{c19tag}}}|{{{1}}}|19}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
| {{#cargo_query:table=Items|fields=_pageName,identifier,name,icon|where=identifier{{=}}"{{{item}}}"|format=template|template=HyperlinkCargo|named args=yes|default=[[{{{item}}}]]}}
| {{#cargo_query:table=Items|fields=_pageName,identifier,name,icon|where=identifier{{=}}"{{{item}}}"|format=template|template=HyperlinkCargo|named args=yes|default=[[{{{item}}}]]}}
| align=center | {{{{{#var:c#}}type}}}
| align=center | {{ucfirst:{{{{{#var:c#}}type}}}}}
| align=center | {{#switch:{{{{{#var:c#}}notcampaign}}}|0=False|1=True}}
| align=center | {{#switch:{{{{{#var:c#}}notcampaign}}}|0=False|1=True}}
| align=center | {{#ifexpr: {{{{{#var:c#}}minamount}}}+{{{{{#var:c#}}maxamount}}}+{{{{{#var:c#}}amount}}}>0 | {{#ifeq: {{{{{#var:c#}}minamount}}} | 1 | {{#ifeq: {{{{{#var:c#}}maxamount}}} | 1 | 1 | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | 0 }}
| align=center | {{#ifexpr: {{{{{#var:c#}}minamount}}}+{{{{{#var:c#}}maxamount}}}+{{{{{#var:c#}}amount}}}>0 | {{#ifeq: {{{{{#var:c#}}minamount}}} | 1 | {{#ifeq: {{{{{#var:c#}}maxamount}}} | 1 | 1 | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | {{{{{#var:c#}}minamount}}} - {{{{{#var:c#}}maxamount}}} }} | 0 }}
| align=center | {{#if:{{{{{#var:c#}}spawnprobability|}}}|{{#expr:{{{{{#var:c#}}spawnprobability}}}*100}}%}}</onlyinclude></includeonly>
| align=center | {{#if:{{{{{#var:c#}}spawnprobability|}}}|{{#expr:{{{{{#var:c#}}spawnprobability}}}*100}}%}}</onlyinclude></includeonly>

Revision as of 14:36, 2 July 2022

Documentation

engcab

Item Campaign Spawn Amount Probability
Abs Component Primary True 0 - 0 0%
Acos Component Primary True 0 - 0 0%
Adder Component Primary True 0 - 0 0%
Alarm Buzzer Primary True 0 - 0 0%
??? Secondary True 0 - 0 0%
And Component Primary True 0 - 0 0%
Artifact Transport Case Primary True 0 - 0 0%
Asin Component Primary True 0 - 0 0%
Atan Component Primary True 0 - 0 0%
Backpack Primary True 0 - 0 0%
Black Wire Primary True 1 100%
Blue Wire Primary True 1 100%
Brown Wire Primary True 1 100%
Button Primary True 0 - 0 0%
Ceil Component Primary True 0 - 0 0%
Circuit Box Primary True 0 - 0 0%
Color Component Primary True 0 - 0 0%
Concatenation Component Primary True 0 - 0 0%
Cos Component Primary True 0 - 0 0%
Crowbar Primary True 0 - 0 0%
Dementonite Crowbar Primary True 0 - 0 0%
Hardened Crowbar Primary True 0 - 0 0%
Delay Component Primary True 0 - 0 0%
Divide Component Primary True 0 - 0 0%
Electrician's Goggles Primary True 0 - 0 0%
Emergency Siren Primary True 0 - 0 0%
Equals Component Primary True 0 - 0 0%
Fire Extinguisher Secondary True 0 - 0 0%
Factorial Component Primary True 0 - 0 0%
Fixfoam Grenade Primary True 0 - 0 0%
Floor Component Primary True 0 - 0 0%
FPGA Circuit Primary True 0 - 0 0%
Fulgurium Battery Cell Secondary True 0 - 0 0%
Greater Component Primary True 0 - 0 0%
Green Wire Primary True 1 100%
Handheld Electrical Monitor Primary True 0 - 0 0%
Logbook Secondary True 0 - 0 0%
Heavy Wrench Primary True 0 - 0 0%
Incendium Fuel Tank Primary True 0 - 0 0%
Lever Primary True 0 - 0 0%
Light Component Light Component Primary True 0 - 0 0%
Light Component Primary True 0 - 0 0%
lightcomponentround Primary True 0 - 0 0%
Memory Component Primary True 0 - 0 0%
Modulo Component Primary True 0 - 0 0%
Motion Detector Primary True 0 - 0 0%
Multiply Component Primary True 0 - 0 0%
Not Component Primary True 0 - 0 0%
Orange Wire Primary True 1 100%
Or Component Primary True 0 - 0 0%
Oscillator Component Primary True 0 - 0 0%
Oxygen Detector Primary True 0 - 0 0%
Plasma Cutter Secondary True 0 - 0 0%
Portable Pump Primary True 0 - 0 0%
Exponentiation Component Primary True 0 - 0 0%
Radio Jammer Primary True 0 - 0 0%
Reactor PDA Primary True 0 - 0 0%
Red Wire Primary True 1 100%
RegEx Find Component Primary True 0 - 0 0%
Relay Component Primary True 0 - 0 0%
Repair Pack Primary True 0 - 0 0%
Round Component Primary True 0 - 0 0%
Safety Harness Secondary True 0 - 0 0%
Screwdriver Primary True 0 - 0 0%
Dementonite Screwdriver Primary True 0 - 0 0%
Hardened Screwdriver Primary True 0 - 0 0%
Signal Check Component Primary True 0 - 0 0%
Sin Component Primary True 0 - 0 0%
Smoke Detector Primary True 0 - 0 0%
Sprayer Primary True 0 - 0 0%
Square Root Component Primary True 0 - 0 0%
Subtract Component Primary True 0 - 0 0%
Switch Primary True 0 - 0 0%
Tan Component Primary True 0 - 0 0%
Terminal Secondary True 0 - 0 0%
Text Display Primary True 0 - 0 0%
Thermal Goggles Primary True 0 - 0 0%
Toolbelt Primary True 0 - 0 0%
Water Detector Primary True 0 - 0 0%
Welding Fuel Tank Primary True 4 - 6 100%
Welding Tool Primary True 1 100%
Wifi Component Primary True 0 - 0 0%
Wire Primary True 0 - 0 0%
Wrench Primary True 0 - 0 0%
Dementonite Wrench Primary True 0 - 0 0%
Hardened Wrench Primary True 0 - 0 0%
Xor Component Primary True 0 - 0 0%