Template:Fallen infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "}} {{!}}- {{#if:" to "}} |- {{#if:")
(This should help for purpose.)
Tag: Mobile edit
 
(One intermediate revision by one other user not shown)
Line 6: Line 6:
}}
}}
|-
|-
{{#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}}}
}}
}}
Line 43: Line 43:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{{rank}}}
{{{rank}}}
}}
|-
{{#if:{{{purpose|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{{purpose-title|Purpose}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#2952a3}}}" {{!}}
{{{purpose}}}
}}
}}
|-
|-
Line 66: Line 73:
}}
}}
|-
|-
{{#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}}}
}}
}}
Line 98: Line 105:
|gender=
|gender=
|rank=
|rank=
|purpose=
|mission=
|mission=
|height=
|height=

Latest revision as of 10:45, November 15, 2023

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=
|purpose=
|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=