Template:Faction infobox: Difference between revisions

This should do it.
(Doing a test run)
Tag: Mobile edit
(This should do it.)
Tag: Mobile edit
 
Line 56: Line 56:
|-
|-
{{#if:{{{War|}}}|
{{#if:{{{War|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#660}}}; width:70px" {{!}}
{{{War-title|At war with}}}:
{{{War-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{War}}}
{{{War}}}
}}
}}
|-
|-
{{#if:{{{Ally|}}}|
{{#if:{{{Ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#660}}}; width:70px" {{!}}
{{{Ally-title|Allied with}}}:
{{{Ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F8FF}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{Ally}}}
{{{Ally}}}
}}
}}