Template:Cabal Legion infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{objectives|}}}|
{{Infobox|entry|title={{{objectives-title|Objectives}}}|content={{{objectives|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{Infobox|entry|title={{{commander(s)-title|Commander(s)}}}|content={{{commander(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{{objectives-title|Objectives}}}:
{{Infobox|entry|title={{{keep(s)-title|Keep(s)}}}|content={{{keep(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{Infobox|entry|title={{{deployed-title|Deployed}}}|content={{{deployed|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{{objectives}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
}}
{{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
|-
{{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{#if:{{{commander(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{commander(s)-title|Commander(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{commander(s)}}}
}}
|-
{{#if:{{{keep(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{keep(s)-title|Keep(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{keep(s)}}}
}}
|-
{{#if:{{{deployed|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{deployed-title|Deployed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{deployed}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{affiliation}}}
}}
|-
{{#if:{{{war|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{war}}}
}}
|-
{{#if:{{{ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{ally}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 15:45, June 1, 2024

Cabal Legion infobox
Overview
 

Usage instructions

Copy and paste the following into the article and fill in the fields.

{{Cabal Legion infobox
|image=
|name=
|objectives=
|commander(s)=
|keep(s)=
|deployed=
|affiliation=
|war=
|ally=
}}

Custom parameters

The following allows you to alter the title of the sub-sections:

|BG=
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=

Display parameters

The following allows you to hide the section header

  • hidea (hides Bio section header)
  • hideb (hides Politic/Military section header)
|hidea=
|hideb=