Template:Cabal Legion infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "<div>{{{caption}}}</div>" to "{{clear}}{{{caption}}}")
(Undo revision 260667 by Bluebeefalo (talk) Accidentally hit submit instead of preview sorry)
Tag: Undo
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|inherit}}}"
{| class="infobox" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|inherit}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#e69500}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|silver}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Overview}}}
{{!}}-}}
}}
|-
{{#if:{{{objectives|}}}|
{{#if:{{{objectives|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{objectives-title|Objectives}}}''':
{{{objectives-title|Objectives}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{objectives|}}}
{{{objectives}}}
{{!}}-}}
}}
|-
{{#if:{{{Commander(s)|}}}|
{{#if:{{{Commander(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Commander(s)-title|Commander(s)}}}''':
{{{Commander(s)-title|Commander(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Commander(s)|}}}
{{{Commander(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{Keep(s)|}}}|
{{#if:{{{Keep(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Keep(s)-title|Keep(s)}}}''':
{{{Keep(s)-title|Keep(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Keep(s)|}}}
{{{Keep(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{deployed|}}}|
{{#if:{{{deployed|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{deployed-title|Deployed}}}''':
{{{deployed-title|Deployed}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{deployed|}}}
{{{deployed}}}
{{!}}-}}
}}
|-
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{war-title|At war with}}}''':
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{war|}}}
{{{war}}}
{{!}}-}}
}}
|-
{{#if:{{{ally|}}}|
{{#if:{{{ally|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{ally-title|Allied with}}}''':
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{ally|}}}
{{{ally}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; line-height:10px" | &nbsp;
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
Line 66: Line 72:
==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following allows you to alter the title of the sub-sections:
<pre>
<pre>
|BG=
|BG=

Latest revision as of 00:45, September 25, 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=