Template:Hive infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "| " to "| ") |
m (Text replacement - "|{{!}}-|{{!}}-" to "||") |
||
(37 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox | {| class="infobox" style="width:260px; background:{{{BG|#660}}}; color:{{{color1|inherit}}}" cellspacing="0" | ||
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}} | |||
! style="background:{{{nameBG|transparent}}}; color:{{{color2| | |- | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
! style="background:{{{imageBG|# | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#660}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hidea|}}}| | {{#if:{{{hidea|}}}|| | ||
! colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#660}}}" {{!}} {{{section1-title|Biographical information}}} | ||
}} | |||
|- | |||
{{#if:{{{species|}}}| | {{#if:{{{species|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{species-title|Species}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{species | {{{species}}} | ||
}} | |||
|- | |||
{{#if:{{{type|}}}| | {{#if:{{{type|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{type-title|Type}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{type | {{{type}}} | ||
}} | |||
|- | |||
{{#if:{{{sect|}}}| | {{#if:{{{sect|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{sect-title|Sect}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{sect | {{{sect}}} | ||
}} | |||
|- | |||
{{#if:{{{rank|}}}| | {{#if:{{{rank|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{rank-title|Rank}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{rank | {{{rank}}} | ||
}} | |||
|- | |||
{{#if:{{{gender|}}}| | {{#if:{{{gender|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{gender-title|Gender}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{gender | {{{gender}}} | ||
}} | |||
|- | |||
{{#if:{{{purpose|}}}| | {{#if:{{{purpose|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{purpose-title|Purpose}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{purpose | {{{purpose}}} | ||
}} | |||
|- | |||
{{#if:{{{mission|}}}| | {{#if:{{{mission|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{mission-title|Mission}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{mission | {{{mission}}} | ||
}} | |||
|- | |||
{{#if:{{{height|}}}| | {{#if:{{{height|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{height-title|Height}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{height | {{{height}}} | ||
}} | |||
|- | |||
{{#if:{{{weight|}}}| | {{#if:{{{weight|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{weight-title|Weight}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{weight|}}} | {{{weight|}}} | ||
}} | }} | ||
|- | |||
{{#if:{{{hideb|}}}| | {{#if:{{{hideb|}}}|| | ||
! colspan="2" style=" | ! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|#660}}}" {{!}} {{{section2-title|Combat information}}} | ||
}} | |||
|- | |||
{{#if:{{{weapon(s)|}}}| | {{#if:{{{weapon(s)|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{weapon-title|Weapon(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{weapon(s) | {{{weapon(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{abilities|}}}| | {{#if:{{{abilities|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{abilities-title|Abilities}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{abilities | {{{abilities}}} | ||
}} | |||
| colspan=2 | |- | ||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 105: | Line 116: | ||
==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= |
Revision as of 11:18, October 18, 2022
Hive infobox | |
---|---|
Biographical information | |
Combat information | |
Usage
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=