Template:Cabal infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxheading" colspan="2" style="background:([^\n;"]+); color:([^\n;"]+)" (\||{{!}}) {{#if:{{{name\|}}}\|{{{name}}}\|{{PAGENAME}}}}↵\|-" to "{{Infobox|title|name={{{name|}}}|color=$2|bg=$1}}")
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#e69500}}}}}
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#e69500}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{#if:{{{image|}}}|
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|silver}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
 
{{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:{{{hidea|}}}||
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#e69500}}}|entries=
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}
{{Infobox|entry|title={{{weapon(s)-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|silver}}}}}
}}
}}
|-
 
{{#if:{{{species|}}}|
{{Infobox|end}}<noinclude>{{clear}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{species}}}
}}
|-
{{#if:{{{legion(s)|}}}|
{{!}} 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 90: Line 25:
<pre>
<pre>
{{Cabal infobox
{{Cabal infobox
|name=
|image=
|image=
|name=
|species=
|species=
|legion(s)=
|legion(s)=
Line 106: 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 119: 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 14:28, August 30, 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=