Template:Boss infobox: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
mNo edit summary
 
(82 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" 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|#000}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|maroon}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; text-align:center; font-size:120%;" colspan="2" | '''{{{name}}}'''
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|maroon}}}|entries=
! style="background:{{{imageBG|#F0F8FF}}}; text-align:center; border-bottom:1px solid {{{lineBG|maroon}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{othernames-title|Other name(s)}}}|content={{{othernames|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{homeworld-title|Homeworld}}}|content={{{homeworld|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{birth-title|Birth}}}|content={{{birth|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{death-title|Death}}}|content={{{death|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{race-title|Race}}}|content={{{race|}}}|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}}}}}
{{Infobox|entry|title={{{class-title|Class}}}|content={{{class|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{mass-title|Weight}}}|content={{{mass|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
}}
 
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|maroon}}}|entries=
{{Infobox|entry|title={{{mission-title|Mission}}}|content={{{mission|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{weapon-title|Weapon(s)}}}|content={{{weapon|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{Infobox|entry|title={{{ability-title|Abilities}}}|content={{{ability|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical Information}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{species|}}}|
{{!}} 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;" {{!}}
'''{{{species-title|Species}}}''':
{{!}} 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;" {{!}}
{{{species|}}}
{{!}}-}}
{{#if:{{{faction|}}}|
{{!}} 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;" {{!}}
'''{{{faction-title|Faction}}}''':
{{!}} 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;" {{!}}
{{{faction|}}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{!}} 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;" {{!}}
'''{{{rank-title|Rank}}}''':
{{!}} 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;" {{!}}
{{{rank|}}}
{{!}}-}}
{{#if:{{{class|}}}|
{{!}} 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;" {{!}}
'''{{{class-title|Class}}}''':
{{!}} 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;" {{!}}
{{{class|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{mission-title|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;" {{!}}
{{{mission|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{gender|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{height|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat Information}}}}}
{{!}}-
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{weapon|}}}
{{!}}-}}
{{#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;" {{!}}
'''{{{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;" {{!}}
{{{ability|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>{{clear}}
==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
|name=  
|name=
|image=  
|image=
|species=  
|othernames=
|faction=  
|homeworld=
|rank=  
|birth=
|class=  
|death=
|mission=  
|species=
|gender=  
|race=
|height=  
|faction=
|mass=  
|rank=
|weapon=  
|class=
|ability=  
|gender=
|height=
|mass=
|mission=
|weapon=
|ability=
}}
}}
</pre>
</pre>


==Custom parameters==
==Custom parameters==
The following allows you to alter the title of the sub-sections:
The following parameters allow you to customize the infobox colors and section titles:
 
<pre>
<pre>
|BG=
|BG=
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=
Line 109: Line 66:
</pre>
</pre>


==Display parameters==
[[Category:Infobox templates]]</noinclude>
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
 
<pre>
|hidea=
|hideb=
</pre>
 
[[Category:Infobox templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 18:24, September 15, 2024

Boss infobox
 

Usage instructions

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

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

Custom parameters

The following parameters allow you to customize the infobox colors and section titles:

|BG=
|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=
|color1=
|color2=
|section1-title=
|section2-title=