Template:Hive Sect infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "colspan=2" to "colspan="2"")
(Quickly adding this in.)
Tag: Mobile edit
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" style="width:260px; background:{{{BG|#666600}}}; color:{{{color1|inherit}}}"
{| 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|white}}}; text-align:center; font-size:120%" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|#666600}}}" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#660}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{purpose|}}}|
{{#if:{{{purpose|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
'''{{{purpose-title|Purpose}}}''':
{{{purpose-title|Purpose}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{purpose|}}}
{{{purpose}}}
{{!}}-}}
}}
|-
{{#if:{{{champion(s)|}}}|
{{#if:{{{champion(s)|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
'''{{{champion(s)-title|Champion(s)}}}''':
{{{champion(s)-title|Champion(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{champion(s)|}}}
{{{champion(s)}}}
{{!}}-}}
}}
|-
{{#if:{{{realm|}}}|
{{#if:{{{realm|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
'''{{{realm-title|Realm}}}''':
{{{realm-title|Realm}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{realm|}}}
{{{realm}}}
{{!}}-}}
}}
|-
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
'''{{{war-title|At war with}}}''':
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{war|}}}
{{{war}}}
{{!}}-}}
}}
|-
{{#if:{{{ally|}}}|
{{#if:{{{ally|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
'''{{{ally-title|Allied with}}}''':
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#666600}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#660}}}" {{!}}
{{{ally|}}}
{{{ally}}}
{{!}}-}}
}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px" | &nbsp;
|-
{{#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" | &nbsp;
|}<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=

Latest revision as of 11:50, October 24, 2023

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=
|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=