Template:Faction: Difference between revisions

1 byte removed ,  00:30, 20 July 2019
fixed formatting
(more formatting fixes for faction feelings)
(fixed formatting)
Line 11: Line 11:
{{#if: {{{parentfaction|}}}| {{infobox row|Parent Faction|[[{{{parentfaction}}}]] }} }}
{{#if: {{{parentfaction|}}}| {{infobox row|Parent Faction|[[{{{parentfaction}}}]] }} }}
{{#if: {{{feelings|}}}{{{parentfaction|}}}  
{{#if: {{{feelings|}}}{{{parentfaction|}}}  
                           | {{infobox row|Relationships|{{#if: {{{parentfaction|}}}|{{#cargo_query:table=FactionFeelings|fields=OtherFaction,Value|where=_pageName="{{{parentfaction|}}}"|format=template|template=Faction feelings nostore|delimiter=</br>}}</br> }} {{{feelings|}}} }} }}
                           | {{infobox row|Relationships|{{#if: {{{parentfaction|}}}|{{#cargo_query:table=FactionFeelings|fields=OtherFaction,Value|where=_pageName="{{{parentfaction|}}}"|format=template|template=Faction feelings nostore|delimiter=</br>}}</br> }}{{{feelings|}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested</br>in Learning|{{{buyinterests}}} }} }}
{{#if: {{{buyinterests|}}} | {{infobox row|Interested</br>in Learning|{{{buyinterests}}} }} }}
{{#if: {{{sellinterests|}}}| {{infobox row|Interested</br>in Sharing|{{{sellinterests}}} }} }}
{{#if: {{{sellinterests|}}}| {{infobox row|Interested</br>in Sharing|{{{sellinterests}}} }} }}