Template:Effect: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 12: Line 12:
   infobox
   infobox


-->{{#invoke: infobox| infobox |
-->{{#invoke: infobox | infobox  
title= {{qud text|{{{1|}}}|notxml}}
| title= {{qud text|{{{1|}}}|notxml}}
| image = none
| image = none
| class = qud-effect-infobox
| class = qud-effect-infobox
| rows =
| rows =
{{infobox row|ID|{{{3|}}} }} }}
{{infobox row|ID|{{{3|}}} }}
{{#if:{{{3|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{3}}} }} }} }}
{{#if:{{{3|}}} | {{infobox row|Type|{{#invoke:EffectType|getTypes|{{{3}}} }} }} }}
}}
{{qud look|text={{{2|}}}|title={{{1|}}}
{{qud look|text={{{2|}}}|title={{{1|}}}
|bottomtext=none}}[[Category:Effects]]
|bottomtext=none}}[[Category:Effects]]
</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.</noinclude>
for use in a table. 1st argument is the name of the effect, and the second argument is the description. third is id.
{{Effect
| &gill
| Doesn't regenerate hit points.\nHealing effects are only half as effective.
|Ill
| 111000000000000000000000100
}}</noinclude>

Revision as of 02:04, 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.

ill
ID

Ill

Type
ill

Doesn't regenerate hit points.
Healing effects are only half as effective.