Template:Effect: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 3: Line 3:
|PlainName={{#titleparts:{{strip color|{{{1|}}}|notxml}}}}
|PlainName={{#titleparts:{{strip color|{{{1|}}}|notxml}}}}
|Description={{qud text|{{{2|}}}|notxml|unbolded}}
|Description={{qud text|{{{2|}}}|notxml|unbolded}}
|EffectID={{{3|}}}
|EffectID={{{3|}}}{{{type|}}}
|Type = {{{4|0000000000000000000000000001}}}
|Type = {{{4|0000000000000000000000000001}}}
|DontIndex=0}}<!--
|DontIndex=0}}<!--
Line 19: Line 19:
| rows =
| rows =
{{infobox row|ID|{{{3|}}} }}
{{infobox row|ID|{{{3|}}} }}
{{#if:{{{4|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4}}} }} }} }}
{{#if:{{{4|}}}{{{type|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4|{{{type}}}}}} }} }} }}
}}
}}
{{qud look|text={{{2|}}}|title={{{1|}}}
{{qud look|text={{{2|}}}|title={{{1|}}}

Revision as of 16:58, 13 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.