Template:Boss infobox: Difference between revisions

From Destinypedia, the Destiny wiki

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}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{othernames|}}}|
{{Infobox|entry|title={{{othernames-title|Other names}}}|content={{{othernames|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{{othernames-title|Other names}}}:
{{Infobox|entry|title={{{birth-title|Birth}}}|content={{{birth|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|entry|title={{{death-title|Death}}}|content={{{death|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{{othernames}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
}}
{{Infobox|entry|title={{{faction-title|Faction}}}|content={{{faction|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
|-
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{#if:{{{homeworld|}}}|
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{{homeworld-title|Homeworld}}}:
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{{homeworld}}}
}}
|-
{{#if:{{{birth|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{birth-title|Birth}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{birth}}}
}}
|-
{{#if:{{{death|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{death-title|Death}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{death}}}
}}
|-
{{#if:{{{species|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{species-title|Species}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{species}}}
}}
|-
{{#if:{{{faction|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{faction-title|Faction}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{faction}}}
}}
|-
{{#if:{{{rank|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{rank-title|Rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{rank}}}
}}
|-
{{#if:{{{class|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{class-title|Class}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{class}}}
}}
|-
{{#if:{{{gender|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{gender-title|Gender}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{gender}}}
}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{mass|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mass-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mass}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}
}}
}}
|-
|-
{{#if:{{{mission|}}}|
{{Infobox|entry|title={{{mission-title|Mission}}}|content={{{mission|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|entry|title={{{weapon-title|Weapon(s)}}}|content={{{weapon|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{{mission-title|Mission}}}:
{{Infobox|entry|title={{{ability-title|Abilities}}}|content={{{ability|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mission}}}
}}
|-
{{#if:{{{weapon|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{weapon-title|Weapon(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{weapon}}}
}}
|-
{{#if:{{{ability|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{ability-title|Abilities}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{ability}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 15:45, June 1, 2024

Boss infobox
Biographical information
Combat information
 

Usage instructions

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

{{Boss infobox
|name=
|othernames=
|image=
|homeworld=
|birth=
|death=
|species=
|faction=
|rank=
|class=
|gender=
|height=
|mass=
|mission=
|weapon=
|ability=
}}

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=