Template:Faction: Difference between revisions

28 bytes added ,  22:40, 10 July 2019
added player reputation color template
(basic implementation of Faction template. TODO: add value limits to cargo declare)
 
(added player reputation color template)
Line 7: Line 7:
rows=
rows=
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{#if: {{{visible|}}}      | {{infobox row|Visible Faction|{{{visible}}} }} }}
{{infobox row|Initial Player Reputation|{{{baserep|0}}}}}
{{infobox row|Initial Player Reputation|{{Player reputation color|{{{baserep|0}}}}}}}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
{{#if: {{{feelings|}}}    | {{infobox row|Relationships|{{{feelings}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested in learning|{{{buyinterests}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested in learning|{{{buyinterests}}} }} }}