Template:Equipment: Difference between revisions
Jump to navigation
Jump to search
Changed Status Ammo to HP Ammo |
Trying to add stat row 4 |
||
Line 92: | 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{{!}} {{!}}{{!}}{{#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> |
Revision as of 23:39, 20 December 2018
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. |