Template:Effect: Difference between revisions

9 bytes added ,  17:59, 26 March 2021
no edit summary
mNo edit summary
No edit summary
Line 14: Line 14:


-->{{#invoke: infobox | infobox  
-->{{#invoke: infobox | infobox  
| title= {{qud text|{{{title|{{{1|}}}}}}|notxml}}
| title = {{qud text|{{{1|}}}|notxml}}
| image = none
| image = none
| class = qud-effect-infobox
| class = qud-effect-infobox
| rows =
| rows =
{{infobox row|ID|{{{id|{{{3|}}}}}} }}
{{infobox row|ID|{{{id|{{{3|}}}}}} }}
{{#if:{{{4|}}}{{{type|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4|{{{type}}}}}} }} }} }}}}
{{#if:{{{4|}}}{{{type|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{4|{{{type}}}}}} }} }}|[[Category:Effects]]}}}}
{{qud look|text={{{desc|{{{2|}}}}}}|title={{{title|{{{1|}}}}}}
{{qud look|text={{{desc|{{{2|}}}}}}|title={{{title|{{{1|}}}}}}
|bottomtext=none}}</includeonly><noinclude>[[Category:Cargo Store Templates]]
|bottomtext=none}}</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>