Template:Item/doc: Difference between revisions

Jump to navigation Jump to search
895 bytes added ,  20:11, 6 April 2022
delete fak
No edit summary
(delete fak)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Doc/start}}
{| class="wikitable sortable"
{| class="wikitable sortable"
!Parameter
!Parameter
Line 55: Line 56:
|The bonus or penalty to hit
|The bonus or penalty to hit
|(+/-)int
|(+/-)int
|-
|ammodamagetypes
|the type(s) of damage caused by this weapon
|string list (delimited by </br> or ,)
|-
|-
|ammo
|ammo
Line 76: Line 81:
|int
|int
|-
|-
|liquidgen
|liquidgenrate
|for liquid generators. how many turns it takes for 1 dram to generate.
|for liquid generators. how many turns it takes for 1 dram to generate. (can be a number or a range like 20-40)
|int
|string
|-
|-
|liquidtype
|liquidgentype
|The type of liquid generated.
|The type of liquid generated.
|string
|string
|-
|inhaled
|"yes" if a gas is [[respiration]]-based, "no" if it isn't.
|boolean
|-
|seeping
|"yes" if a gas can seep through walls, "no" if it can't.
|boolean
|-
|-
|maxcharge
|maxcharge
Line 93: Line 106:
|-
|-
|chargeused
|chargeused
|How much charge is used a shot
|How much charge is consumed per use
|int
|-
|chargefunction
|What function the charge is necessary to support
|string
|-
|dramsperuse
|How many drams consumed per use of the object, if fueled by liquid
|int or float
|-
|imprintchargecost
|Charge cost to imprint a ProgrammableRecoiler
|int
|int
|-
|-
Line 99: Line 124:
|
|
|int
|int
|-
| featureweightinfo
| whether the weight should be featured near the top of the infobox (yes) or moved into the extra data field (no)
| string
|-
|-
|commerce
|commerce
Line 147: Line 176:
|Id in books.xml
|Id in books.xml
|string
|string
|-
|chairlevel
|The Chair Level of this chair. Affects the power of [[sitting]].
|int
|-
|-
|lightradius
|lightradius
Line 193: Line 226:
|-
|-
|extra
|extra
|Any other features that do not have an associated variable.
|Any other features that do not have an associated variable. Uses [[Template:Extra info]].
|string
|<code><nowiki>{{Extra info| ...... }}</nowiki></code>
|-
|-
|agility/strength/willpower/toughness/agility/intelligence
|agility/strength/willpower/toughness/agility/intelligence
Line 214: Line 247:
| usesslots
| usesslots
| slots the item takes up. defaults to worn on if not specified.
| slots the item takes up. defaults to worn on if not specified.
| List (,) of string
|-
| supportedmods
| the list of mods this item supports
| List (,) of string
| List (,) of string
|-
|-
Line 222: Line 259:


==Usage==
==Usage==
<pre>
{{Item
{{Item
| title = Stopsvalinn
| title = Stopsvalinn
Line 230: Line 268:
| ego = +1
| ego = +1
}}
}}
Usage Example:
</pre>
<syntaxhighlight lang="xml">
{{Doc/end}}
{{Item
 
| title = Stopsvalinn
<noinclude>[[Category:Template documentation]]</noinclude>
| image = Stopsvalinn.png
| av = 3
| dv = 0
| ma = 0
| ego = +1
}}
</syntaxhighlight>

Navigation menu