Template:Hive infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "! class="infoboxmedia"" to "{{!}} class="infoboxmedia"")
mNo edit summary
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#666600}}}; color:{{{color1|inherit}}}" cellspacing="0"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#660}}}}}
! 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|#660}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Biographical information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#660}}}|entries=
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{sect-title|Sect}}}|content={{{sect|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{gender-title|Gender}}}|content={{{gender|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{purpose-title|Purpose}}}|content={{{purpose|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{mission-title|Mission}}}|content={{{mission|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
}}
}}
{{!}}-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|section|title={{{section2-title|Combat information}}}|color={{{color2|#fff}}}|bg={{{sectionBG|#660}}}|entries=
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#666600}}}" {{!}} {{{section1-title|Biographical information}}}}}
{{Infobox|entry|title={{{weapon(s)-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}}-
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{#if:{{{species|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{species-title|Species}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{species|}}}
{{!}}-}}
{{#if:{{{type|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{type-title|Type}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{type|}}}
{{!}}-}}
{{#if:{{{sect|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{sect-title|Sect}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{sect|}}}
{{!}}-}}
{{#if:{{{rank|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{rank-title|Rank}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{rank|}}}
{{!}}-}}
{{#if:{{{gender|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{gender-title|Gender}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{gender|}}}
{{!}}-}}
{{#if:{{{purpose|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{purpose-title|Purpose}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{purpose|}}}
{{!}}-}}
{{#if:{{{mission|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{mission-title|Mission}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{mission|}}}
{{!}}-}}
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{height-title|Height}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{height|}}}
{{!}}-}}
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{weight-title|Weight}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{weight|}}}
}}
}}
{{!}}-
 
{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#666600}}}" {{!}} {{{section2-title|Combat information}}}}}
==Usage instructions==
{{!}}-
{{#if:{{{weapon(s)|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{weapon-title|Weapon(s)}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{weapon(s)|}}}
{{!}}-}}
{{#if:{{{abilities|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
'''{{{abilities-title|Abilities}}}''':
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{{abilities|}}}
{{!}}-}}
| 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>
{{Hive infobox
{{Hive infobox
|name=
|image=
|image=
|name=
|species=
|species=
|type=
|type=
Line 103: Line 43:


==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 115: Line 56:
|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 14:29, August 30, 2024

Hive infobox
 

Usage instructions

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

{{Hive infobox
|name=
|image=
|species=
|type=
|sect=
|rank=
|gender=
|purpose=
|mission=
|height=
|weight=
|weapon(s)=
|abilities=
}}

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=