Template:Hive Sect infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
(added "at war with" and an "allied with" section)
Line 24: Line 24:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{realm|}}}
{{{realm|}}}
{{!}}-}}
{{#if:{{{war|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{war-title|At war with}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{war|}}}
{{!}}-}}
{{#if:{{{ally|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{war-title|Allied with}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}; border-top:1px solid {{{lineBG|#666600}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{ally|}}}
{{!}}-}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" | 
Line 37: Line 49:
|champion(s)=
|champion(s)=
|realm=
|realm=
|war=
|ally=
}}
}}
</pre>
</pre>

Revision as of 05:58, August 17, 2022

Hive Sect 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=
}}

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=