Template:Effect: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 18: Line 18:
| rows =
| rows =
{{infobox row|ID|{{{3|}}} }}
{{infobox row|ID|{{{3|}}} }}
{{#if:{{{3|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{3}}} }} }} }}
{{#if:{{{4|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4}}} }} }} }}
}}
}}
{{qud look|text={{{2|}}}|title={{{1|}}}
{{qud look|text={{{2|}}}|title={{{1|}}}
Line 24: Line 24:
</includeonly><noinclude>[[Category:Cargo Store Templates]]
</includeonly><noinclude>[[Category:Cargo Store Templates]]


for use in a table. 1st argument is the name of the effect, and the second argument is the description. third is id.
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.</noinclude>
{{Effect
| &gill
| Doesn't regenerate hit points.\nHealing effects are only half as effective.
|Ill
| 111000000000000000000000100
}}</noinclude>

Revision as of 02:05, 12 March 2021

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.