Template:Equipment: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(35 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="floatright" style="color:white;border-style:none;width: | <includeonly>{| class="floatright" style="color:white;border-style:none;width:274px" cellpadding="5" cellspacing="0" | ||
| colspan= 2 style="background-color:rgba(0,0,0,0.5); | | colspan= 2 style="background-color:rgba(0,0,0,0.5);"| <div style="display:inline-block;width:264px;background-color:#303030;border:#d0d0d0;border-width: 2px;border-style: solid;">{{#widget:LayoutImage|src={{filepath:Icon_{{{class|Holographic Sight}}}.png}}|style=position:absolute;z-index:2;}}{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:225px;margin-top:7px;z-index:3}}{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:200px;margin-top:7px;z-index:3}}{{#ifeq:{{{rarity|5}}}|3|{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:175px;margin-top:7px;z-index:3}}}}{{#ifeq:{{{rarity|4}}}|4|{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:175px;margin-top:7px;z-index:3}}{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:150px;margin-top:7px;z-index:3}}}}{{#ifeq:{{{rarity|4}}}|5|{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:175px;margin-top:7px;z-index:3}}{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:150px;margin-top:7px;z-index:3}}{{#widget:LayoutImage|src={{filepath:Icon_star.png}}|style=position:absolute;margin-left:125px;margin-top:7px;z-index:3}}}}{{#widget:LayoutImage|src={{filepath:{{{icon|Generic_{{{type|}}}_{{{class|}}}}}}.png}}|style=position:absolute;margin-top:5px;max-width:256px;}}{{#widget:LayoutImage|src={{filepath:{{{rarity|}}}starE.png}}}}<div style="width:100%;background-color:#101010;color:#f5d200;font-size:150%;text-align:center;>{{BASEPAGENAME}}</div><div style="width:100%;background-color:#101010;color:#999999;font-size:125%;text-align:center;>{{{class|}}}<BR>({{{slot|}}})</div></div> | ||
|}{{BASEPAGENAME}} is an obtainable equipment in | {{SidebarFooter|Template:Equipment}} | ||
|}{{BASEPAGENAME}} is an obtainable equipment in [[Girls' Frontline]]. | |||
== | {{#if:{{{compatibleto|}}}|== Compatibility == | ||
{{{|}}} | Usable only by {{{compatibleto|}}}.}} | ||
== Information == | |||
{{{info|}}} | |||
== Game Data == | == Game Data == | ||
Line 10: | Line 14: | ||
! 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 | | | rowspan=5 | | ||
{| 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 | | | style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment = | Silencer | HP Ammo | Auxiliary Sight | 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 | | | style="position:relative"|<div style="position:absolute;{{#switch: {{{class|}}} | Night Combat Equipment = | Red Dot Sight | Telescopic Sight | Holographic Sight | Silencer | HP Ammo | Microchip | 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 | Microchip | 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 | Bipod | Special AP Ammo | Auxiliary Sight | 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 | Range Finder | 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|}}} | Night Combat Equipment = | Red Dot Sight = | Telescopic Sight | Holographic Sight | Shotgun Ammo | Choke | 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| }}} | | {{{stat2| }}} | ||
Line 90: | Line 93: | ||
{{!}} {{#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{{!}} {{!}}{{!}}{{#if:{{{stat3|}}}|{{#ifeq:{{#expr:abs{{{stat3min|1}}}}}|{{{stat3min|1}}}|+|-}}{{#expr:abs{{{stat3min}}}}}{{#if:{{{stat3max|}}}|~{{#expr:abs{{{stat3max}}}}}}}}} | |colspan=9{{!}} {{!}}{{!}}{{#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{{!}} {{!}}{{!}}{{#if:{{{stat4|}}}|{{#ifeq:{{#expr:abs{{{stat4min|1}}}}}|{{{stat4min|1}}}|+|-}}{{#expr:abs{{{stat4min}}}}}{{#if:{{{stat4max|}}}|~{{#expr:abs{{{stat4max}}}}}}}}} | |||
}} | }} | ||
|}</div> | |}</div> | ||
Line 95: | Line 114: | ||
==Trivia== | ==Trivia== | ||
{{{trivia|}}} | {{{trivia|}}} | ||
<div class="references-section"> | |||
==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> |
Latest revision as of 17:23, 16 November 2024
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, putX
for type. For Shotgun Slug Ammo, putSlug
. For Shotgun Buckshot Ammo, putBuckshot
. Otherwise leave it alone.
slot -
Which slot this equipment goes to, eitherAccessory
,Magazine
, orDoll
.
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
The above documentation is transcluded from Template:Equipment/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |