Template:Cabal Legion infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(I’d like feedback on the changes I made to try and make it work better. I’m going to make a few examples on Destinypedia:Sandbox)
Tag: Mobile edit
(Undo revision 260606 by Bluebeefalo (talk) I’m preemptively reverting this in case it affects other pages.)
Tag: Undo
Line 50: Line 50:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{ally}}}
{{{ally}}}
}}
|-
{{#switch:{{#if:{{{preceded|}}} | 1}}{{#if:{{{succeeded|}}} | 2}}
| 12 = {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}; text-align: center; line-height: 1.1; padding-left: 5px;" {{!}}
{{#if:{{{preceded|}}}|
'''Preceded by'''
<br>
{{{preceded}}}
}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}; text-align:center; line-height: 1.1; padding-right: 5px;" {{!}}
{{#if:{{{succeeded|}}}|
'''Succeeded by'''
<br>
{{{succeeded}}}
}}
| 1 = {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{preceded-title|Preceded by:}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{preceded}}}
| 2 = {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{succeeded-title|Succeeded by:}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{succeeded}}}
}}
}}
|-
|-

Revision as of 18:16, September 24, 2023

Cabal Legion infobox
Overview
 

Usage

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

{{Cabal Legion infobox
|image=
|name=
|objectives=
|Commander(s)=
|Keep(s)=
|deployed=
|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=