Template:Hive Brood infobox: Difference between revisions
From Destinypedia, the Destiny wiki
m (Text replacement - "margin:0 0 0.5em 1em;" to "margin:0 0 1em 1em;") |
(Quickly adding this in.) Tag: Mobile edit |
||
(52 intermediate revisions by 3 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=" | {{!}} 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=" | {{!}} 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=" | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | ||
{{{ | {{{realm}}} | ||
{{!}}-}} | }} | ||
| | |- | ||
{{#if:{{{war|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{war-title|At war with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{war}}} | |||
}} | |||
|- | |||
{{#if:{{{ally|}}}| | |||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{ally-title|Allied with}}}: | |||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}} | |||
{{{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 37: | Line 60: | ||
|champion(s)= | |champion(s)= | ||
|realm= | |realm= | ||
|war= | |||
|ally= | |||
|encountered= | |||
}} | }} | ||
</pre> | </pre> | ||
Line 42: | 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=