Template:Effect: Difference between revisions

From Caves of Qud Wiki
Jump to navigation Jump to search
mNo edit summary
(store type ( will make a more user friendly thing later ))
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=Effects|DisplayName=Wikitext|PlainName=String|Description=Wikitext|EffectID=String }}
<noinclude>{{#cargo_declare:_table=Effects|DisplayName=Wikitext|PlainName=String|Description=Wikitext|EffectID=String|Type=String}}
</noinclude><includeonly>{{#cargo_store:_table=Effects|DisplayName={{qud text|{{{1|}}}|notxml}}|PlainName={{#titleparts:{{strip color|{{{1|}}}|notxml}}}}|Description={{qud text|{{{2|}}}|notxml|unbolded}}|EffectID={{{3|}}} }}{{#vardefine:name|{{qud text|{{{1|}}}|notxml}}}}{{#invoke: infobox| infobox |
</noinclude><includeonly>{{#cargo_store:_table=Effects|DisplayName={{qud text|{{{1|}}}|notxml}}
|PlainName={{#titleparts:{{strip color|{{{1|}}}|notxml}}}}
|Description={{qud text|{{{2|}}}|notxml|unbolded}}
|EffectID={{{3|}}}
|Type = {{{4|0000000000000000000000000001}}} }}<!--
 
  variable definitions
 
-->{{#vardefine:name|{{qud text|{{{1|}}}|notxml}}}}<!--
 
  infobox
 
-->{{#invoke: infobox| infobox |
title= {{qud text|{{{1|}}}|notxml}}
title= {{qud text|{{{1|}}}|notxml}}
| image = none
| image = none

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