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 (Protected "Template:Equipment" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
m (removed redundant icon and changed layout)
Line 10: Line 10:
 
! colspan=13 style="font-size:110%;background-color:#f0b000;text-shadow:none;color:#322300;text-align:center;padding: 5px" |Statistics
 
! colspan=13 style="font-size:110%;background-color:#f0b000;text-shadow:none;color:#322300;text-align:center;padding: 5px" |Statistics
 
|-
 
|-
| rowspan=5 style="vertical-align:middle" | <div style="display:inline-block;background-color:#303030;border:#d0d0d0;border-width: 2px;border-style: solid;"><img src="{{filepath:Icon_{{{class|Holographic Sight}}}.png|55}}" style="position:absolute;z-index:2"/><img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:113px;margin-top:4px;z-index:3"/><img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:100px;margin-top:4px;z-index:3"/>{{#ifeq:{{{rarity|5}}}|3|<img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:88px;margin-top:4px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|4|<img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:88px;margin-top:4px;z-index:3"/><img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:75px;margin-top:4px;z-index:3"/>}}{{#ifeq:{{{rarity|4}}}|5|<img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:88px;margin-top:4px;z-index:3"/><img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:75px;margin-top:4px;z-index:3"/><img src="{{filepath:Icon_star.png|14}}" style="position:absolute;margin-left:63px;margin-top:4px;z-index:3"/>}}<img src="{{filepath:{{{icon|Generic_{{{type|}}}_{{{class|}}}}}}.png|128}}" style="position:absolute;margin-top:5px"/><img src="{{filepath:{{{rarity|}}}starE.png|130}}"/></div>
 
| {{{stat1|}}}
 
| style="color:{{#ifeq:{{#expr:abs{{{stat1min|1}}}}}|{{{stat1min|1}}}|green|red}}" | {{#ifeq:{{#expr:abs{{{stat1min|1}}}}}|{{{stat1min|1}}}|+|-}}{{#expr:abs{{{stat1min}}}}}{{#if:{{{stat1max|}}}|~{{#expr:abs{{{stat1max|}}}}}}}
 
 
| rowspan=5 |  
 
| rowspan=5 |  
 
{| cellspacing=0 |
 
{| cellspacing=0 |
Line 25: Line 22:
 
| 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]]
 
|}
 
|}
 +
| {{{stat1|}}}
 +
| style="color:{{#ifeq:{{#expr:abs{{{stat1min|1}}}}}|{{{stat1min|1}}}|green|red}}" | {{#ifeq:{{#expr:abs{{{stat1min|1}}}}}|{{{stat1min|1}}}|+|-}}{{#expr:abs{{{stat1min}}}}}{{#if:{{{stat1max|}}}|~{{#expr:abs{{{stat1max|}}}}}}}
 
|-
 
|-
 
| {{{stat2|&nbsp;}}}
 
| {{{stat2|&nbsp;}}}

Revision as of 19:11, 30 March 2017

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