Template:Item: Difference between revisions

2 bytes removed ,  14:28, 9 August 2019
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 (Add default renderstring if unspecified (the game uses . ))
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))
Line 68: Line 68:
{{#if: {{{reputationbonus|}}}|{{Infobox row|Reputation Bonus|{{{reputationbonus}}} }} }}
{{#if: {{{reputationbonus|}}}|{{Infobox row|Reputation Bonus|{{{reputationbonus}}} }} }}
<!--Renderstring, with the ColorString appended before it-->
<!--Renderstring, with the ColorString appended before it-->
{{#if: {{{renderstr|.}}}| {{infobox row|Character|{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr|.}}}}} }} }}
{{#if: {{{renderstr|}}}| {{infobox row|Character|{{Qud char|{{{colorstr|&amp;y}}}|{{{renderstr|}}}}} }} }}
<!--This is the name of the object in ObjectBlueprints.xml-->
<!--This is the name of the object in ObjectBlueprints.xml-->
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}
{{#if: {{{id|}}}      | {{infobox row|ID|{{{id}}} }} }}