Template:Cabal Legion infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "colspan="2" style="text-align:center; line-height:8px"" to "class="infoboxfooter" colspan="2"") |
m (Text replacement - "({{{ *|\n *\| *)([A-Z][a-z][^\n\|\[\]{}]+ *)([=\|}])" to "$1$2$3") |
||
(33 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| 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| | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|# | {{!}} 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="color:{{{color2| | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Overview}}} | ||
}} | |||
|- | |||
{{#if:{{{objectives|}}}| | {{#if:{{{objectives|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{objectives-title|Objectives}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{objectives | {{{objectives}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class=" | {{#if:{{{commander(s)|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{{commander(s)-title|Commander(s)}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{commander(s)}}} | |||
{{#if:{{{ | }} | ||
{{!}} class=" | |- | ||
{{#if:{{{keep(s)|}}}| | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} 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|}}}| | {{#if:{{{deployed|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{deployed-title|Deployed}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{deployed|}}} | {{{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|}}}| | {{#if:{{{war|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{war-title|At war with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{war | {{{war}}} | ||
}} | |||
|- | |||
{{#if:{{{ally|}}}| | {{#if:{{{ally|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{ally-title|Allied with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}} | ||
{{{ally | {{{ally}}} | ||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | | class="infoboxfooter" colspan="2" | | ||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
Line 56: | Line 69: | ||
|name= | |name= | ||
|objectives= | |objectives= | ||
| | |commander(s)= | ||
| | |keep(s)= | ||
|deployed= | |deployed= | ||
|affiliation= | |||
|war= | |war= | ||
|ally= | |ally= | ||
Line 66: | Line 80: | ||
==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 16:36, May 25, 2024
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= |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=