Template:Cabal 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 - "The following allows you to alter the title of the sub-sections:" to "The following parameters allow you to customize the infobox colors and section titles:")
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{#if:{{{hidea|}}}||
 
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}
{{Infobox|section|title={{{section1-title|Statistics}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#e69500}}}|entries=
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{legion(s)-title|Legion(s)}}}|content={{{legion(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{role(s)-title|Role(s)}}}|content={{{role(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{mission(s)-title|Mission(s)}}}|content={{{mission(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
}}
}}
|-
 
{{#if:{{{species|}}}|
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#e69500}}}|entries=
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{Infobox|entry|title={{{weapon-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{{species-title|Species}}}:
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{species}}}
}}
}}
|-
 
{{#if:{{{legion(s)|}}}|
{{Infobox|end}}<noinclude>{{clear}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{legion(s)-title|Legion(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{legion(s)}}}
}}
|-
{{#if:{{{role(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{role(s)-title|Role(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{role(s)}}}
}}
|-
{{#if:{{{rank|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{rank-title|Rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{rank}}}
}}
|-
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{type}}}
}}
|-
{{#if:{{{mission(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{mission(s)-title|Mission(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{mission(s)}}}
}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{weight-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{weight|}}}
}}
|-
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}}
}}
|-
{{#if:{{{weapon(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{weapon-title|Weapon(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{weapon(s)}}}
}}
|-
{{#if:{{{abilities|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{abilities-title|Abilities}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{abilities}}}
}}
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.
Line 87: Line 25:
<pre>
<pre>
{{Cabal infobox
{{Cabal infobox
|name=
|image=
|image=
|name=
|species=
|species=
|legion(s)=
|legion(s)=
Line 103: Line 41:


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:


<pre>
<pre>
|BG=
|BG=
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 116: Line 54:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 15:50, June 18, 2024

Cabal infobox
 

Usage instructions

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

{{Cabal infobox
|name=
|image=
|species=
|legion(s)=
|role(s)=
|rank=
|type=
|mission(s)=
|height=
|weight=
|weapon(s)=
|abilities=
}}

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

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