helialprofile.png
Welcome to IOPWiki, Commander. You can contribute to this wiki without an account. Learn how to contribute and join our Discord server.

Difference between revisions of "Template:Equipment"

Welcome to IOP Wiki. This website is maintained by the Girls' Frontline community and is free to edit by anyone.
Jump to navigation Jump to search
m (removed redundant icon and changed layout)
(Fixed references)
(16 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| colspan= 2 style="background-color:rgba(0,0,0,0.5);text-align:center"| <div style="display:inline-block;width:260px;background-color:#303030;border:#d0d0d0;border-width: 2px;border-style: solid;"><img src="{{filepath:Icon_{{{class|Holographic Sight}}}.png}}" style="position:absolute;z-index:2"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:225px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:200px;margin-top:7px;z-index:3"/>{{#ifeq:{{{rarity|5}}}|3|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|4|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:150px;margin-top:7px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|5|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:150px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:125px;margin-top:7px;z-index:3"/>}}<img src="{{filepath:{{{icon|Generic_{{{type|}}}_{{{class|}}}}}}.png}}" style="position:absolute;margin-top:5px"/><img src="{{filepath:{{{rarity|}}}starE.png}}"/><div style="width:100%;background-color:#101010;color:#f5d200;font-size:150%>{{BASEPAGENAME}}</div><div style="width:100%;background-color:#101010;color:#999999;font-size:125%>{{{class|}}}<BR>({{{slot|}}})</div></div>
 
| colspan= 2 style="background-color:rgba(0,0,0,0.5);text-align:center"| <div style="display:inline-block;width:260px;background-color:#303030;border:#d0d0d0;border-width: 2px;border-style: solid;"><img src="{{filepath:Icon_{{{class|Holographic Sight}}}.png}}" style="position:absolute;z-index:2"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:225px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:200px;margin-top:7px;z-index:3"/>{{#ifeq:{{{rarity|5}}}|3|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|4|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:150px;margin-top:7px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|5|<img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:175px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:150px;margin-top:7px;z-index:3"/><img src="{{filepath:Icon_star.png}}" style="position:absolute;margin-left:125px;margin-top:7px;z-index:3"/>}}<img src="{{filepath:{{{icon|Generic_{{{type|}}}_{{{class|}}}}}}.png}}" style="position:absolute;margin-top:5px"/><img src="{{filepath:{{{rarity|}}}starE.png}}"/><div style="width:100%;background-color:#101010;color:#f5d200;font-size:150%>{{BASEPAGENAME}}</div><div style="width:100%;background-color:#101010;color:#999999;font-size:125%>{{{class|}}}<BR>({{{slot|}}})</div></div>
 
|}{{BASEPAGENAME}} is an obtainable equipment in the game.
 
|}{{BASEPAGENAME}} is an obtainable equipment in the game.
 +
 +
{{#if:{{{compatibleto|}}}|== Compatibility ==
 +
Usable only by {{{compatibleto|}}}.}}
  
 
== Information ==
 
== Information ==
Line 13: Line 16:
 
{| cellspacing=0 |
 
{| cellspacing=0 |
 
| rowspan=3 |[[File:Icon slot {{{slot|}}}.png|x155px|left]]
 
| rowspan=3 |[[File:Icon slot {{{slot|}}}.png|x155px|left]]
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Silencer | Status Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_HG_2star.png|x40px]]
+
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Silencer | HP Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_HG_2star.png|x40px]]
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Red Dot Sight | Telescopic Sight | Holographic Sight | Silencer | Status Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_SMG_2star.png|x40px]]
+
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Red Dot Sight | Telescopic Sight | Holographic Sight | Silencer | HP Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_SMG_2star.png|x40px]]
 
|-
 
|-
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Red Dot Sight | Telescopic Sight | Holographic Sight | Silencer | High-Velocity Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_AR_2star.png|x40px]]
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment =  | Red Dot Sight | Telescopic Sight | Holographic Sight | Silencer | High-Velocity Ammo | Exoskeleton = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_AR_2star.png|x40px]]
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Telescopic Sight | Holographic Sight | Armor-Piercing Ammo | Ammo Box = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_MG_2star.png|x40px]]
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Telescopic Sight | Holographic Sight | Armor-Piercing Ammo | Ammo Box = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_MG_2star.png|x40px]]
 
|-
 
|-
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Telescopic Sight | Holographic Sight | Armor-Piercing Ammo | Silencer = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_RF_2star.png|x40px]]
+
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Camo Cape | Telescopic Sight | Holographic Sight | Armor-Piercing Ammo | Silencer = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_RF_2star.png|x40px]]
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Telescopic Sight | Holographic Sight | Shotgun Ammo | Ballistic Plate = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_SG_2star.png|x40px]]
 
| style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Red Dot Sight = | Telescopic Sight | Holographic Sight | Shotgun Ammo | Ballistic Plate = | #default = background-color:rgba(0,0,0,0.5)}};left:0;top:0;right:0;bottom:0"></div>[[file:Icon_SG_2star.png|x40px]]
 
|}
 
|}
Line 89: Line 92:
 
{{!}} {{#ifeq:{{#expr:abs{{{stat3min|1}}}}}|{{{stat3min|1}}}|+|-}}{{#expr:trunc({{{stat3growth}}}*abs{{{stat3min}}})}}{{#if:{{{stat3max|}}}|~{{#expr:trunc({{{stat3growth}}}*abs{{{stat3max}}})}}}}<sub>({{{stat3growth}}}x)</sub>  
 
{{!}} {{#ifeq:{{#expr:abs{{{stat3min|1}}}}}|{{{stat3min|1}}}|+|-}}{{#expr:trunc({{{stat3growth}}}*abs{{{stat3min}}})}}{{#if:{{{stat3max|}}}|~{{#expr:trunc({{{stat3growth}}}*abs{{{stat3max}}})}}}}<sub>({{{stat3growth}}}x)</sub>  
 
|colspan=9{{!}}&nbsp;{{!}}{{!}}{{#if:{{{stat3|}}}|{{#ifeq:{{#expr:abs{{{stat3min|1}}}}}|{{{stat3min|1}}}|+|-}}{{#expr:abs{{{stat3min}}}}}{{#if:{{{stat3max|}}}|~{{#expr:abs{{{stat3max}}}}}}}}}
 
|colspan=9{{!}}&nbsp;{{!}}{{!}}{{#if:{{{stat3|}}}|{{#ifeq:{{#expr:abs{{{stat3min|1}}}}}|{{{stat3min|1}}}|+|-}}{{#expr:abs{{{stat3min}}}}}{{#if:{{{stat3max|}}}|~{{#expr:abs{{{stat3max}}}}}}}}}
 +
}}
 +
|- style="text-align:center" class="{{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|greenrow|redrow}}"
 +
| style="color:white" | {{{stat4|}}}
 +
| {{#if:{{{stat4|}}}|{{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:abs{{{stat4min}}}}}{{#if:{{{stat4max|}}}|~{{#expr:abs{{{stat4max|}}}}}}}}}
 +
|{{#if:{{{stat4growth|}}}|
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.1+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.1+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.1+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.2+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.2+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.2+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.3+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.3+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.3+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.4+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.4+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.4+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.5+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.5+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.5+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.6+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.6+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.6+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.7+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.7+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.7+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.8+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.8+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.8+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc((({{{stat4growth}}}-1)*0.9+1)*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc((({{{stat4growth}}}-1)*0.9+1)*abs{{{stat4max}}})}}}}<sub>({{#expr:({{{stat4growth}}}-1)*0.9+1}}x)</sub>
 +
{{!}} {{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:trunc({{{stat4growth}}}*abs{{{stat4min}}})}}{{#if:{{{stat4max|}}}|~{{#expr:trunc({{{stat4growth}}}*abs{{{stat4max}}})}}}}<sub>({{{stat4growth}}}x)</sub>
 +
|colspan=9{{!}}&nbsp;{{!}}{{!}}{{#if:{{{stat4|}}}|{{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:abs{{{stat4min}}}}}{{#if:{{{stat4max|}}}|~{{#expr:abs{{{stat4max}}}}}}}}}
 
}}
 
}}
 
|}</div>
 
|}</div>
Line 94: Line 113:
 
==Trivia==
 
==Trivia==
 
{{{trivia|}}}
 
{{{trivia|}}}
 
+
<div class="references-section">
 
==References==
 
==References==
{{{references|}}}
+
<references/>
 +
</div>
  
 
{{Navbox/Equipment}}
 
{{Navbox/Equipment}}
 +
[[Category:Equipments]]
 +
{{#if:{{{compatibleto|}}}|[[Category:Exclusive Equipments]]}}
 +
{{#if:{{{timer|}}}|[[Category:Craftable Equipments]]}}
 +
[[Category:{{#ifeq:{{#invoke:String|sub|{{{class|}}}|-4|-1}}|Ammo|{{{class|}}}|{{#switch: {{{class|}}} | Ammo Box = Ammo Boxes | Night Combat Equipment = Night Combat Equipment | #default = {{{class|}}}s}}}}]]
 +
[[Category:{{{rarity|}}}-Star Equipments]]
 
</includeonly><noinclude>{{Documentation}}</noinclude>
 
</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 20:53, 12 December 2020

Documentation icon Template documentation[view] [edit] [history] [purge]

This template is used for Equipment pages, fill in the parameters as instructed and it should create an Equipment page with all the information intact.

Note : Passive effects of exclusive equipment sets are handled on the Doll's page, not the equipments' pages.

Usage

Please remove the parameters that are left blank.

{{Equipment
|class=
|type=
|slot=
|rarity=
|icon=
|compatibleto=

|stat1=
|stat1min=
|stat1max=
|stat1growth=
|stat2=
|stat2min=
|stat2max=
|stat2growth=
|stat3=
|stat3min=
|stat3max=
|stat3growth=

|info=
|trivia=
|references=
}}

Parameter list

The basic and most common parameters are as follows (see below for the full list):

class - The class the equipment belongs to. So far you may enter:
  • Holographic Sight
  • Red Dot Sight
  • Telescopic Sight
  • Auxiliary Sight
  • Silencer
  • Night Combat Equipment
  • Choke
  • Armor-Piercing Ammo
  • HP Ammo
  • High-Velocity Ammo
  • Shotgun Ammo
  • Special AP Ammo
  • Ammo Box
  • Camo Cape
  • Ballistic Plate
  • Exoskeleton
  • Microchip
  • Bipod
  • Range Finder
type - The type this equipment belongs to, after class. For X type Exoskeletons such as the IOP X4 Exoskeleton, put X for type. For Shotgun Slug Ammo, put Slug. For Shotgun Buckshot Ammo, put Buckshot. Otherwise leave it alone.
slot - Which slot this equipment goes to, either Accessory, Magazine, or Doll.
rarity - The rarity of the equipment in stars, from 1 to 5.
icon - name of the icon (without file extension) in the case of unique equipment (such as 16Lab equipment).
compatibleto - (optional) Defines which T-Dolls are able to wear the equipment. This also adds the Category "Exclusive-Equipments".
stat1~3 - Name of the first/second/third stat of given equipment. If the second/third stat don't exist, do not enter any value or simply remove this parameter.
stat1~3min - The min stat for the first/second/third stat. If the second/third stat don't exist, do not enter any value or simply remove this parameter.
stat1~3max - The max stat for the first stat. If the min stat is equal to the max stat, do not enter any value or simply remove this parameter.
stat1~3growth - The multiplier of the first stat when enhanced to +10 (multipliers can be seen enhancing an equipment). If it's not affected by equipment powerup, do not enter any value or simply remove this parameter.


info - The in-game description of the equipment when obtained.
trivia -
references -


Notes