No edit summary |
No edit summary |
||
(14 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|- |
|- |
||
! colspan="2" class="infoboxname" | {{{name|{{PAGENAME}}}}} |
! colspan="2" class="infoboxname" | {{{name|{{PAGENAME}}}}} |
||
− | |- style="text-align:center" |
+ | |- style="text-align:center" |
− | | <span style="color:#A1BAD7; font-size:110%;"><b>The Escapists 2 Item</b><span> |
+ | | colspan="2" | <span style="color:#A1BAD7; font-size:110%;"><b>The Escapists 2 Item</b></span> |
|- style="text-align:center" |
|- style="text-align:center" |
||
| colspan="2" style="padding:0.5em;" | {{#if:{{{image|}}}|[[File:{{{image}}}]]|[[File:{{{name|{{BASEPAGENAME}}}}}.png|96px]]}} |
| colspan="2" style="padding:0.5em;" | {{#if:{{{image|}}}|[[File:{{{image}}}]]|[[File:{{{name|{{BASEPAGENAME}}}}}.png|96px]]}} |
||
Line 11: | Line 11: | ||
! colspan="2" class="infoboxdetails" | Details |
! colspan="2" class="infoboxdetails" | Details |
||
|- style="text-align:center" |
|- style="text-align:center" |
||
− | | colspan="2" | {{#if: {{{contraband|}}} | <span style="color:#E50E0D;">Will be confiscated<span> | <span style="color:#07DE07;">Won't be confiscated<span> }} |
+ | | colspan="2" | {{#if: {{{contraband|}}} | <span style="color:#E50E0D;">Will be confiscated</span> | <span style="color:#07DE07;">Won't be confiscated</span> }} |
|- style="text-align:center" |
|- style="text-align:center" |
||
| colspan="2" | {{#if: {{{outfit|}}} | Outfit }} |
| colspan="2" | {{#if: {{{outfit|}}} | Outfit }} |
||
Line 21: | Line 21: | ||
| colspan="2" | {{#if: {{{durability|}}} | [[Limited-Use Item]] }} |
| colspan="2" | {{#if: {{{durability|}}} | [[Limited-Use Item]] }} |
||
|- |
|- |
||
− | {{#if: {{{uses|}}}| |
+ | {{#if: {{{uses|}}}| |
+ | {{!}} '''Uses''' |
||
+ | {{!}} {{{uses|}}} }} |
||
+ | |- |
||
+ | {{#if: {{{damage|}}}| |
||
+ | {{!}} '''Damage''' |
||
+ | {{!}} <div style="float:right"> |
||
+ | {{#switch:{{{damage}}} |
||
+ | |1 = <span style="color:#66cc00">Low</span> |
||
+ | |2 = <span style="color:#cccc00">Medium</span> |
||
+ | |3 = <span style="color:#cc6600">High</span> |
||
+ | |4 = <span style="color:#cc0000">Maximum</span> |
||
+ | |#default = [[Template:TE2 item infobox|Unspecified]]}} |
||
+ | </div> |
||
+ | }} |
||
+ | |- |
||
+ | {{#if: {{{speed|}}}| |
||
+ | {{!}} '''Speed''' |
||
+ | {{!}} <div style="float:right"> |
||
+ | {{#switch:{{{speed}}} |
||
+ | |1 = <span style="color:#66cc00">Low</span> |
||
+ | |2 = <span style="color:#cccc00">Medium</span> |
||
+ | |3 = <span style="color:#cc6600">High</span> |
||
+ | |4 = <span style="color:#cc0000">Maximum</span> |
||
+ | |#default = [[Template:TE2 item infobox|Unspecified]]}} |
||
+ | </div> |
||
+ | }} |
||
|- |
|- |
||
− | {{#if: {{{ |
+ | {{#if: {{{range|}}}| |
+ | {{!}} '''Range''' |
||
+ | {{!}} <div style="float:right"> |
||
+ | {{#switch:{{{range}}} |
||
+ | |1 = <span style="color:#66cc00">Low</span> |
||
+ | |2 = <span style="color:#cccc00">Medium</span> |
||
+ | |3 = <span style="color:#cc6600">High</span> |
||
+ | |4 = <span style="color:#cc0000">Maximum</span> |
||
+ | |#default = [[Template:TE2 item infobox|Unspecified]]}} |
||
+ | </div> |
||
+ | }} |
||
|- |
|- |
||
− | {{#if: {{{digging|}}}| |
+ | {{#if: {{{digging|}}}| |
+ | {{!}} '''Digging''' |
||
+ | {{!}} <div style="float:right">{{{digging|}}}% per use</div>}} |
||
|- |
|- |
||
− | {{#if: {{{cutting|}}}| |
+ | {{#if: {{{cutting|}}}| |
+ | {{!}} '''Cutting''' |
||
+ | {{!}} <div style="float:right">{{{cutting|}}}% per use</div>}} |
||
|- |
|- |
||
− | {{#if: {{{chipping|}}}| |
+ | {{#if: {{{chipping|}}}| |
+ | {{!}} '''Chipping''' |
||
+ | {{!}} <div style="float:right">{{{chipping|}}}% per use</div>}} |
||
|- |
|- |
||
− | {{#if: {{{unscrewing|}}}| |
+ | {{#if: {{{unscrewing|}}}| |
+ | {{!}} '''Unscrewing''' |
||
+ | {{!}} <div style="float:right">{{{unscrewing|}}}% per use</div>}} |
||
|} |
|} |
||
<includeonly><!-- |
<includeonly><!-- |
||
Line 38: | Line 82: | ||
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumables]]}}<!-- |
-->{{#ifeq:{{lc:{{{consumable|}}}}}|true|[[Category:Consumables]]}}<!-- |
||
-->{{#if: {{{durability|}}} | [[category:Limited-Use Items]]}}<!-- |
-->{{#if: {{{durability|}}} | [[category:Limited-Use Items]]}}<!-- |
||
− | -->{{#if: {{{ |
+ | -->{{#if: {{{damage|}}} | [[category:Weapons]]}}<!-- |
-->{{#if: {{{chipping|}}} | [[category:Chipping Tools]]}}<!-- |
-->{{#if: {{{chipping|}}} | [[category:Chipping Tools]]}}<!-- |
||
-->{{#if: {{{cutting|}}} | [[category:Cutting Tools]]}}<!-- |
-->{{#if: {{{cutting|}}} | [[category:Cutting Tools]]}}<!-- |
||
Line 44: | Line 88: | ||
-->{{#if: {{{unscrewing|}}} | [[category:Unscrewing Tools]]}}<!-- |
-->{{#if: {{{unscrewing|}}} | [[category:Unscrewing Tools]]}}<!-- |
||
-->[[category:Items]]<!-- |
-->[[category:Items]]<!-- |
||
+ | -->[[category:Items (The Escapists 2)]]<!-- |
||
--></includeonly> |
--></includeonly> |
||
Line 60: | Line 105: | ||
| flavor = This text will display underneath the item image. |
| flavor = This text will display underneath the item image. |
||
| uses = 1 |
| uses = 1 |
||
+ | | damage = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum |
||
− | | weapon = 1 |
||
+ | | speed = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum |
||
− | | digging = 1 |
||
+ | | range = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum |
||
− | | cutting = 1 |
||
− | | |
+ | | digging = 1% per use |
− | | |
+ | | cutting = 1% per use |
+ | | chipping = 1% per use |
||
+ | | unscrewing = 1% per use |
||
}} |
}} |
||
</pre> |
</pre> |
Revision as of 17:44, 21 September 2017
TE2 item infobox | |
---|---|
The Escapists 2 Item | |
File:TE2 item infobox.png | |
Details | |
Won't be confiscated | |
Usage:
- All parameters are optional. If the attributes of an item are unknown, it's advisable to include the template with no parameters, like so:
{{TE2 item infobox}}
- When a value of
true
is specified for thecontraband
,consumable
anddurability
parameters, their respective fields will display in the infobox. If a field should not display for some field, the entire line containing the parameter can be removed.
Example
{{TE2 item infobox | contraband = true | consumable = true | durability = true | outfit = true | flavor = This text will display underneath the item image. | uses = 1 | damage = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum | speed = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum | range = 1 - Low, 2 - Medium, 3 - High, 4 - Maximum | digging = 1% per use | cutting = 1% per use | chipping = 1% per use | unscrewing = 1% per use }}