Template:Faction: Difference between revisions
Jump to navigation
Jump to search
(allowed template to "inherit" parent faction feelings) |
(added delimiter for query) |
||
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}} }} {{{feelings}}} }} }} | | {{infobox row|Relationships|{{#if: {{{parentfaction|}}}|{{#cargo_query:table=FactionFeelings|fields=OtherFaction,Value|where=_pageName="{{{parentfaction|}}}"|format=template|template=Faction feelings nostore|delimiter="</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}}} }} }} |