Template:Boss infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "line-height:10px"" to "line-height:8px"")
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
 
(23 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|maroon}}}; color:{{{color1|#000}}}"
{| class="infobox" style="width:260px; background:{{{BG|maroon}}}; color:{{{color1|#000}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|maroon}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|maroon}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical information}}}
{{!}}-}}
}}
|-
{{#if:{{{othernames|}}}|
{{#if:{{{othernames|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{othernames-title|Other names}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{othernames-title|Other names}}}''':
{{{othernames}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{othernames|}}}
|-
{{!}}-}}
{{#if:{{{homeworld|}}}|
{{#if:{{{homeworld|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{homeworld-title|Homeworld}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{homeworld-title|Homeworld}}}''':
{{{homeworld}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{homeworld|}}}
|-
{{!}}-}}
{{#if:{{{birth|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{birth-title|Birth}}}''':
{{{birth}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{birth|}}}
|-
{{!}}-}}
{{#if:{{{death|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{death-title|Death}}}''':
{{{death}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{death|}}}
|-
{{!}}-}}
{{#if:{{{species|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{species-title|Species}}}''':
{{{species}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{species|}}}
|-
{{!}}-}}
{{#if:{{{mass|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{mass-title|Weight}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{faction|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{faction-title|Faction}}}''':
{{{faction}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{faction|}}}
|-
{{!}}-}}
{{#if:{{{rank|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{rank-title|Rank}}}''':
{{{rank}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{rank|}}}
|-
{{!}}-}}
{{#if:{{{class|}}}|
{{#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="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{class-title|Class}}}''':
{{{class}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{class|}}}
|-
{{!}}-}}
{{#if:{{{gender|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{gender-title|Gender}}}''':
{{{gender}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{gender|}}}
|-
{{!}}-}}
{{#if:{{{height|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{height-title|Height}}}''':
{{{height}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{height|}}}
|-
{{!}}-}}
{{#if:{{{mass|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{mass-title|Weight}}}''':
{{{mass}}}
{{!}} 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}}}
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}}}
}}
{{!}}-}}
|-
{{#if:{{{mission|}}}|
{{#if:{{{mission|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mission-title|Mission}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{mission-title|Mission}}}''':
{{{mission}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{mission|}}}
|-
{{!}}-}}
{{#if:{{{weapon|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{weapon-title|Weapon(s)}}}''':
{{{weapon}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{weapon|}}}
|-
{{!}}-}}
{{#if:{{{ability|}}}|
{{#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}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{ability-title|Abilities}}}''':
{{{ability}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
{{{ability|}}}
|-
{{!}}-}}
| class="infoboxfooter" colspan="2" |  
| colspan="2" style="text-align:center; line-height:8px" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.
<pre>
<pre>
{{Boss infobox
{{Boss infobox
Line 130: Line 140:
==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following allows you to alter the title of the sub-sections:
<pre>
<pre>
|BG=
|BG=

Latest revision as of 11:18, October 18, 2022

Boss infobox
Biographical information
Combat information
 

Usage

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=