Template:Item: Difference between revisions

24 bytes added ,  16:16, 31 July 2019
add FormatSkillName
m (i shouldn't code in the morning)
(add FormatSkillName)
Line 46: Line 46:
{{#ifeq: {{{empsensitive}}} | yes | {{infobox row|EMP Sensitive|yes}} }}
{{#ifeq: {{{empsensitive}}} | yes | {{infobox row|EMP Sensitive|yes}} }}
<!--What skill tree it uses-->
<!--What skill tree it uses-->
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{{skill}}} }} }}
{{#if: {{{skill|}}}    | {{infobox row|Skill Used|{{ FormatSkillName | {{{skill}}} }} }} }}
{{#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-->