Template:Hive Brood infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - ""vertical-align: *top; " to """) |
(Quickly adding this in.) Tag: Mobile edit |
||
(41 intermediate revisions by 2 users 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|}}}| | ||
! class=" | {{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#660}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} | ||
}} | }} | ||
|- | |||
{{#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:{{{champion(s)|}}}| | {{#if:{{{champion(s)|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{champion(s)-title|Champion(s)}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{champion(s) | {{{champion(s)}}} | ||
}} | |||
|- | |||
{{#if:{{{realm|}}}| | {{#if:{{{realm|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{realm-title|Realm}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{realm | {{{realm}}} | ||
}} | |||
|- | |||
{{#if:{{{war|}}}| | {{#if:{{{war|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{war-title|At war with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{war | {{{war}}} | ||
}} | |||
|- | |||
{{#if:{{{ally|}}}| | {{#if:{{{ally|}}}| | ||
{{!}} class=" | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{ally-title|Allied with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{ally|}}} | {{{ally}}} | ||
{{!}} | }} | ||
|- | |||
{{#if:{{{encountered|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{ally-title|Encountered}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{encountered}}} | |||
}} | |||
|- | |||
| class="infoboxfooter" colspan="2" | | |||
|}<noinclude>{{clear}} | |}<noinclude>{{clear}} | ||
==Usage== | ==Usage== | ||
Line 51: | Line 62: | ||
|war= | |war= | ||
|ally= | |ally= | ||
|encountered= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 56: | Line 68: | ||
==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:50, October 24, 2023
Hive Brood infobox | |
---|---|
Usage
Copy and paste the following into the article and fill in the fields.
{{Hive Sect infobox |image= |name= |purpose= |champion(s)= |realm= |war= |ally= |encountered= }}
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=