Template:Effect: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
(add working named parameter for the effect name)
mNo edit summary
Line 20: Line 20:
{{infobox row|ID|{{{id|{{{3|}}}}}} }}
{{infobox row|ID|{{{id|{{{3|}}}}}} }}
{{#if:{{{4|}}}{{{type|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4|{{{type}}}}}} }} }}|[[Category:Effects]]}}}}
{{#if:{{{4|}}}{{{type|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4|{{{type}}}}}} }} }}|[[Category:Effects]]}}}}
|bottomtext=none}}
{{qud look|text={{{desc|{{{2|}}}}}}|title={{{name|{{{1|}}} }}} }}
{{qud look|text={{{desc|{{{2|}}}}}}|title={{{name|{{{1|}}} }}} }}
|bottomtext=none}}</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. fourth is effect type in base 2.</noinclude>
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>

Revision as of 19:19, 31 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.