Template:Fallen 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}}")
m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
Line 1: Line 1:
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#2952a3}}}}}
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#2952a3}}}}}
{{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|#2952a3}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#2952a3}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
|-
{{#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}}}

Revision as of 15:38, June 1, 2024

Fallen infobox
Biographical information
Combat information
 

Usage instructions

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=