Template:Hive infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="background:([^\n;"]+); border-bottom:1px solid ([^\n;"]+)" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg=$1|linebg=$2}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
Line 6: Line 6:
}}
}}
|-
|-
{{#if:{{{species|}}}|
{{Infobox|entry|title={{{species-title|Species}}}|content={{{species|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{Infobox|entry|title={{{type-title|Type}}}|content={{{type|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{{species-title|Species}}}:
{{Infobox|entry|title={{{sect-title|Sect}}}|content={{{sect|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{Infobox|entry|title={{{rank-title|Rank}}}|content={{{rank|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{{species}}}
{{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}}}}}
{{#if:{{{type|}}}|
{{Infobox|entry|title={{{height-title|Height}}}|content={{{height|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{Infobox|entry|title={{{weight-title|Weight}}}|content={{{weight|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{{type-title|Type}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{type}}}
}}
|-
{{#if:{{{sect|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{sect-title|Sect}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{sect}}}
}}
|-
{{#if:{{{rank|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{rank-title|Rank}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{rank}}}
}}
|-
{{#if:{{{gender|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{gender-title|Gender}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{gender}}}
}}
|-
{{#if:{{{purpose|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{purpose-title|Purpose}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{purpose}}}
}}
|-
{{#if:{{{mission|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{mission-title|Mission}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{mission}}}
}}
|-
{{#if:{{{height|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{height-title|Height}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{height}}}
}}
|-
{{#if:{{{weight|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{weight-title|Weight}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{weight|}}}
}}
|-
{{#if:{{{hideb|}}}||
{{#if:{{{hideb|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#660}}}" {{!}} {{{section2-title|Combat information}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#660}}}" {{!}} {{{section2-title|Combat information}}}
}}
}}
|-
|-
{{#if:{{{weapon(s)|}}}|
{{Infobox|entry|title={{{weapon-title|Weapon(s)}}}|content={{{weapon(s)|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{Infobox|entry|title={{{abilities-title|Abilities}}}|content={{{abilities|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#660}}}}}
{{{weapon-title|Weapon(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{weapon(s)}}}
}}
|-
{{#if:{{{abilities|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{abilities-title|Abilities}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{abilities}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 15:44, June 1, 2024

Hive infobox
Biographical information
Combat information
 

Usage instructions

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

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

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=