Template:Boss infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
 
(75 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; margin:6px; padding:2px; background:{{{BG|maroon}}}; border-radius: 0 0 .7em .7em; -moz-border-radius: 0 0 .7em .7em; -webkit-border-radius: 0 0 .7em .7em; -ms-border-radius: 0 0 .7em .7em; -o-border-radius: 0 0 .7em .7em;  color:{{{color1|#FFFFFF}}};"
{| 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|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | '''<span style="color:white">{{{name}}}</span>'''
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|maroon}}};" colspan="2" {{!}} {{{image|}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|maroon}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical Information}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical information}}}
{{!}}-
}}
{{#if:{{{location|}}}|
|-
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{#if:{{{othernames|}}}|
'''{{{location-title|Location}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{{othernames-title|Other names}}}:
{{{location|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{!}}-}}
{{{othernames}}}
}}
|-
{{#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}}}" {{!}}
{{{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|}}}|
{{#if:{{{gender|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{gender-title|Gender}}}''':
{{{gender-title|Gender}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{gender|}}}
{{{gender}}}
{{!}}-}}
}}
|-
{{#if:{{{height|}}}|
{{#if:{{{height|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{height-title|Height}}}''':
{{{height-title|Height}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{height|}}}
{{{height}}}
{{!}}-}}
}}
|-
{{#if:{{{mass|}}}|
{{#if:{{{mass|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{mass-title|Weight}}}''':
{{{mass-title|Weight}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mass|}}}
{{{mass}}}
{{!}}-}}
}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
|-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|#FFFFFF}}}; text-align:center; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat Information}}}}}
{{#if:{{{hideb|}}}||
{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}
{{#if:{{{house|}}}|
}}
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
|-
'''{{{house-title|House}}}''':
{{#if:{{{mission|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{house|}}}
{{{mission-title|Mission}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mission}}}
}}
|-
{{#if:{{{weapon|}}}|
{{#if:{{{weapon|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{weapon-title|Weapon(s)}}}:'''
{{{weapon-title|Weapon(s)}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{weapon|}}}
{{{weapon}}}
{{!}}-}}
}}
|-
{{#if:{{{ability|}}}|
{{#if:{{{ability|}}}|
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{ability-title|Abilities}}}:'''
{{{ability-title|Abilities}}}:
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{ability|}}}
{{{ability}}}
{{!}}-}}
}}
{{#if:{{{loot|}}}|
|-
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
| class="infoboxfooter" colspan="2" | &nbsp;
'''{{{loot-title|Loot}}}:'''
{{!}} style="vertical-align:top; background:{{{fieldBG|#b1bcbc}}}; border-bottom:1px solid {{{lineBG|maroon}}}; border-top:1px solid {{{lineBG|maroon}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px; color:black;" {{!}}
{{{loot|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<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>
{{Fallen Character infobox
{{Boss infobox
|name=
|name=
|othernames=
|image=  
|image=  
|location=
|homeworld=
|gender=
|birth=
|height=
|death=
|mass=
|species=
|house=
|faction=
|weapon=
|rank=
|ability=
|class=  
|loot=
|gender=  
|height=  
|mass=  
|mission=
|weapon=  
|ability=  
}}
}}
</pre>
</pre>
Line 82: 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=
Line 105: Line 164:
</pre>
</pre>


[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Infobox templates]]</noinclude>
</noinclude>

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=