Template:Cabal infobox: Difference between revisions

From Destinypedia, the Destiny wiki

(Created page with "{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|#cc0000}}}; border-radius...")
 
(Don't mind the sloppy coding, just getting something to work with.)
Line 4: Line 4:
{{!}}-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#cc0000}}};" colspan="2" {{!}} {{{image|}}}
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#e69500}}};" colspan="2" {{!}} {{{image|}}}
}}
}}
{{!}}-
{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section1-title|Statistics}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section1-title|Statistics}}}}}
{{!}}-
{{!}}-
{{#if:{{{Species|}}}|
{{#if:{{{Species|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#e69500}}}; border-top:1px solid {{{lineBG|#e69500}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{Species-title|Species}}}''':
'''{{{Species-title|Species}}}''':
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
Line 48: Line 48:
{{!}}-
{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#cc0000}}}" {{!}} {{{section2-title|Combat information}}}}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|#e69500}}}" {{!}} {{{section2-title|Combat information}}}}}
{{!}}-
{{!}}-
{{#if:{{{Weapon(s)|}}}|
{{#if:{{{Weapon(s)|}}}|

Revision as of 12:48, May 20, 2017

{{{name}}}
Statistics
Combat information
 

Usage

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

{{Cabal infobox
|image=
|name=
|species=
|legions=
|goals=
|mission=
|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=