Template:Artifact data store: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (add modcount) |
||
Line 10: | Line 10: | ||
|MaxCharge=Integer | |MaxCharge=Integer | ||
|Mods=List (</br>) of Page | |Mods=List (</br>) of Page | ||
|ModCount=Integer | |||
|UnidentifiedImage=String | |UnidentifiedImage=String | ||
|UnidentifiedName=Wikitext | |UnidentifiedName=Wikitext | ||
Line 72: | Line 73: | ||
| NULL | | NULL | ||
| A list of item mods on the object, if present | | A list of item mods on the object, if present | ||
|- | |||
| modcount | |||
| integer | |||
| 0 | |||
| Number of mods on the object, if any | |||
|- | |- | ||
| unknownimage | | unknownimage | ||
Line 113: | Line 119: | ||
|MaxCharge={{{maxcharge|}}} | |MaxCharge={{{maxcharge|}}} | ||
|Mods={{{mods|}}} | |Mods={{{mods|}}} | ||
|ModCount={{{modcount|0}}} | |||
|UnidentifiedImage={{{unidentifiedimage|}}} | |UnidentifiedImage={{{unidentifiedimage|}}} | ||
|UnidentifiedName={{{unidentifiedname|}}} | |UnidentifiedName={{{unidentifiedname|}}} |
Revision as of 21:04, 7 October 2021
This template defines the table "ArtifactData". View table.
This template should be called exclusively from the Template:Item and Template:Character pages. The template has no actual output, it simply stores the data in cargo.
parameter | type | default | description |
---|---|---|---|
complexity | integer | NULL | Artifact complexity |
bits | string | NULL | Bits that compose the artifact (required to build it / obtained when disassembling it) |
tinkertier | string | NULL | The tinker tier |
canbuild | boolean | NULL | Yes if this artifact can be built by the player using Tinkering |
candisassemble | boolean | NULL | Yes if this artifact can be disassembled |
chargeused | integer | NULL | Amount of charge units used by the artifact to function |
chargeperdram | integer | NULL | Amount of charge derived from a dram of liquid, for liquid-fueled artifacts and energy cells |
maxcharge | integer | NULL | Maximum charge held |
mods | listofpage | NULL | A list of item mods on the object, if present |
modcount | integer | 0 | Number of mods on the object, if any |
unknownimage | string | NULL | The sprite shown when this object is not identified |
unknownname | wikitext | NULL | The name of this object when unidentified |
unknownnamestripped | string | NULL | Stripped version of the name |
unknownaltname | wikitext | NULL | The name of this object when it is partially but not fully identified |
unknownaltnamestripped | string | NULL | Stripped version of above |
id | string | NULL | Object ID |