Template:Fallen infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{!}}-}}" to "}} |-")
m (Text replacement - "}}}}} {{!}}-" to "}}} }} |-")
Line 7: Line 7:
|-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section1-title|Biographical information}}}
{{!}}-
}}
|-
{{#if:{{{species|}}}|
{{#if:{{{species|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
Line 66: Line 67:
{{!}}-
{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section2-title|Combat information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#2952a3}}}" {{!}} {{{section2-title|Combat information}}}
{{!}}-
}}
|-
{{#if:{{{weapon(s)|}}}|
{{#if:{{{weapon(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}

Revision as of 10:32, October 18, 2022

Fallen infobox
Biographical information
Combat information
 

Usage

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

{{Fallen infobox
|image=
|name=
|species=
|type=
|house=
|gender=
|rank=
|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=