Template:Boss infobox: Difference between revisions

m (Text replacement - "text-align: *center; " to "")
mNo edit summary
 
(35 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:260px; background:{{{BG|maroon}}}; 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}}}; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#F0F8FF}}}|linebg={{{lineBG|maroon}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|maroon}}}|entries=
! style="background:{{{imageBG|#F0F8FF}}}; border-bottom:1px solid {{{lineBG|maroon}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div>{{{caption}}}</div>}}
{{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={{{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}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|maroon}}}|entries=
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{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}}}}}
{{#if:{{{othernames|}}}|
{{Infobox|entry|title={{{ability-title|Abilities}}}|content={{{ability|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|maroon}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
}}
'''{{{othernames-title|Other names}}}''':
 
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{Infobox|end}}<noinclude>{{clear}}
{{{othernames|}}}
==Usage instructions==
{{!}}-}}
{{#if:{{{homeworld|}}}|
{{!}} class="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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="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|}}}|
{{!}} class="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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="infoboxcell" 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="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{mass-title|Weight}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{mass|}}}
{{!}}-}}
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
! colspan="2" style="font-size:90%; color:{{{color2|white}}}; background:{{{sectionBG|maroon}}}" {{!}} {{{section2-title|Combat information}}}}}
{{!}}-}}
{{#if:{{{mission|}}}|
{{!}} class="infoboxcell" 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="infoboxcell" 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="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
'''{{{ability-title|Abilities}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|maroon}}}" {{!}}
{{{ability|}}}
{{!}}-}}
| colspan="2" style="background:{{{BG|transparent}}}; padding:0; 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=
|othernames=
|othernames=
|image=  
|image=
|homeworld=
|homeworld=
|birth=
|birth=
|death=
|death=
|species=  
|species=
|faction=  
|faction=
|rank=  
|rank=
|class=  
|class=
|gender=  
|gender=
|height=  
|height=
|mass=  
|mass=
|mission=
|mission=
|weapon=  
|weapon=
|ability=  
|ability=
}}
}}
</pre>
</pre>
Line 130: Line 50:
==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 141: Line 62:
|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:04, June 1, 2024

Boss infobox
 

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=