Template:Item: Difference between revisions

16 bytes removed ,  14:47, 9 August 2019
m
#titleparts does nothing in this context (according to https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##titleparts)
m (m - remove default renderstr from template (but leave it for storage in cargo, so we don't store the literal string "{{{renderstr}}}" as DisplayChar))
m (#titleparts does nothing in this context (according to https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##titleparts))
Line 26: Line 26:
AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|
AgilityBonus={{{agility|}}}|StrengthBonus={{{strength|}}}|WillpowerBonus={{{willpower|}}}|ToughnessBonus={{{toughness|}}}|IntelligenceBonus={{{intelligence|}}}|EgoBonus={{{ego|}}}|
Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|
Acid={{{acid|}}}|Electric={{{electric|}}}|Cold={{{cold|}}}|Heat={{{heat|}}}|
Description={{qud text|{{{desc|}}}}}|WornOn={{{wornon|}}}|UsesSlots={{{usesslots|{{{wornon|}}}}}}|Healing={{{healing|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|Movespeed={{{movespeed|}}} }} {{#cargo_store:_table=GeneralData|ObjectID={{{id|}}}|DisplayName={{qud text|&y{{{title|{{PAGENAME}}}}}}}|Image={{#ifeq: {{{image|}}} | none ||{{{image|}}}}}|PlainName={{#titleparts:{{PAGENAME}}}}|Commerce={{{commerce|}}}|DisplayChar={{Qud char|{{{colorstr|&y}}}|{{{renderstr|.}}}}}|Weight={{{weight|}}} }}{{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }}{{#invoke:infobox|infobox
Description={{qud text|{{{desc|}}}}}|WornOn={{{wornon|}}}|UsesSlots={{{usesslots|{{{wornon|}}}}}}|Healing={{{healing|}}}|HarvestedInto={{{harvestedinto|}}}|PreservedInto={{{preservedinto|}}}|PreservedQuantity={{{preservedquantity|}}}|Movespeed={{{movespeed|}}} }} {{#cargo_store:_table=GeneralData|ObjectID={{{id|}}}|DisplayName={{qud text|&y{{{title|{{PAGENAME}}}}}}}|Image={{#ifeq: {{{image|}}} | none ||{{{image|}}}}}|PlainName={{PAGENAME}}|Commerce={{{commerce|}}}|DisplayChar={{Qud char|{{{colorstr|&y}}}|{{{renderstr|.}}}}}|Weight={{{weight|}}} }}{{#vardefine:name|{{{title|{{#titleparts:{{PAGENAME}}}} }}} }}{{#invoke:infobox|infobox
| rows =  
| rows =  
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)-->
<!--lists the max pv, with a default base pv of 4. if you want to change the base pv, set pv to(number)-->