Template:Boss infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "'''" to "")
mNo edit summary
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|maroon}}}; color:{{{color1|#000}}}" cellspacing="0"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|maroon}}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|maroon}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|maroon}}}|entries=
{{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="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical information}}}}}
==Usage instructions==
{{!}}-}}
{{#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}}}" {{!}}
{{{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:{{{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:{{{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|}}}|{{!}}-|{{!}}-
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}}}
{{!}}-}}
{{#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}}}" {{!}}
{{{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" | &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=
|othernames=
|othernames=
|image=
|homeworld=
|homeworld=
|birth=
|birth=
|death=
|death=
|species=  
|species=
|faction=  
|race=
|rank=  
|faction=
|class=  
|rank=
|gender=  
|class=
|height=  
|gender=
|mass=  
|height=
|mass=
|mission=
|mission=
|weapon=  
|weapon=
|ability=  
|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 140: Line 64:
|section1-title=
|section1-title=
|section2-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</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=