Template:Faction infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(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}}}
}}
}}

Latest revision as of 14:36, February 7, 2024

Faction infobox
 

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{Faction infobox
|variant=
|image=
|Domain(s)=
|Type=
|Functions=
|Other names=
|Conflicts=
|Leadership=
|Notable=
|War=
|Ally=
}}