Template:Effect

From Caves of Qud Wiki
Jump to navigation Jump to search

This template defines the table "Effects". View table. for use in a table. 1st argument is the name of the effect, and the second argument is the description. third is id. fourth is effect type in base 2. You can also used named parameters.

Parameter name Description
title title. unlike unnamed parameters, this is not automatically parsed and you must use qud text or qud shader.
desc effect description.
id the cs class name
idoverride an override ID for the wiki that is stored in cargo instead of the real ID. Should be used only rarely (example: Power Skating shares ID with Sprinting, but we want to treat them separately)
type a string of binary numbers that denotes the type of effect. this is from GetEffectType but converted into binary.
damagetypes a list (</br> delimited) of damage types caused by this effect, if applicable.
dontindex 'yes' if this effect should not be indexed (usually because it is a variant of a similar effect that shares the same effect ID). Non-indexed effects do not appear in the effects navbox.
{{Effect
| title = 
| desc = 
| id = 
| type = 
| damagetypes = 
| gameversion = 
}}