Template:Faction: Difference between revisions

Jump to navigation Jump to search
2 bytes added ,  19:19, 8 September 2019
no edit summary
mNo edit summary
No edit summary
Line 12: Line 12:
{{#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|}}}|{{#invoke:CargoQuery|main|q?tables=FactionFeelings|q?fields=OtherFaction,Value|q?where=_pageName="{{{parentfaction|}}}"|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}}} }} }}

Navigation menu