Template:Cabal infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - " border="0"" to "")
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|#000}}}"
{| class="infobox" style="width:260px; background:{{{BG|#e69500}}}; color:{{{color1|#000}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; text-align:center; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#e69500}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{!}} 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}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}
{{!}}-
}}
|-
{{#if:{{{Species|}}}|
{{#if:{{{Species|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Species-title|Species}}}''':
{{{Species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Species|}}}
{{{Species}}}
{{!}}-}}
}}
|-
{{#if:{{{Legion(s)|}}}|
{{#if:{{{Legion(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Legion(s)-title|Legion(s)}}}''':
{{{Legion(s)-title|Legion(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Legion(s)|}}}
{{{Legion(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{Role(s)|}}}|
{{#if:{{{Role(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Role(s)-title|Role(s)}}}''':
{{{Role(s)-title|Role(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Role(s)|}}}
{{{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)|}}}|
{{#if:{{{Mission(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Mission(s)-title|Mission(s)}}}''':
{{{Mission(s)-title|Mission(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Mission(s)|}}}
{{{Mission(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{Height|}}}|
{{#if:{{{Height|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Height-title|Height}}}''':
{{{Height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Height|}}}
{{{Height}}}
{{!}}-}}
}}
|-
{{#if:{{{Weight|}}}|
{{#if:{{{Weight|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Weight-title|Weight}}}''':
{{{Weight-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Weight|}}}
{{{Weight|}}}
}}
}}
{{!}}-
|-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}||
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}}
{{!}}-
}}
|-
{{#if:{{{Weapon(s)|}}}|
{{#if:{{{Weapon(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Weapon-title|Weapon(s)}}}''':
{{{Weapon-title|Weapon(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Weapon(s)|}}}
{{{Weapon(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{Abilities|}}}|
{{#if:{{{Abilities|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
'''{{{Abilities-title|Abilities}}}''':
{{{Abilities-title|Abilities}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|silver}}}" {{!}}
{{{Abilities|}}}
{{{Abilities}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
Line 74: Line 96:
|Legion(s)=
|Legion(s)=
|Role(s)=
|Role(s)=
|Rank=
|Type=
|Mission(s)=
|Mission(s)=
|Height=
|Height=
Line 84: Line 108:
==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 11:18, October 18, 2022

Cabal infobox
Statistics
Combat information
 

Usage

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

{{Cabal infobox
|image=
|name=
|Species=
|Legion(s)=
|Role(s)=
|Rank=
|Type=
|Mission(s)=
|Height=
|Weight=
|Weapon(s)=
|Abilities=
}}

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=