Template:Equipment: Difference between revisions
Jump to navigation
Jump to search
Pianoforte (talk | contribs) mNo edit summary |
Made a compatibleTo parameter for exclusive equipment |
||
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 100: | Line 103: | ||
{{Navbox/Equipment}} | {{Navbox/Equipment}} | ||
[[Category:Equipments]] | [[Category:Equipments]] | ||
{{#if:{{{compatibleto|}}}|[[Category:Exclusive-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:{{#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]] | [[Category:{{{rarity|}}}-Star Equipments]] | ||
</includeonly><noinclude>{{Documentation}}</noinclude> | </includeonly><noinclude>{{Documentation}}</noinclude> |
Revision as of 21:32, 11 April 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. |