Template:Hive Sect infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "cellspacing="0" {{!}}- !" to "cellspacing="0" !")
(Quickly adding this in.)
Tag: Mobile edit
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#666600}}}; color:{{{color1|inherit}}}" cellspacing="0"
{| class="infobox" style="width:260px; background:{{{BG|#660}}}; color:{{{color1|inherit}}}" cellspacing="0"
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#666600}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#660}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{purpose|}}}|
{{#if:{{{purpose|}}}|
{{!}} class="infoboxlabel" 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="infoboxlabel" 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="infoboxlabel" 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="infoboxlabel" 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="infoboxlabel" 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}}}
{{!}}-}}
}}
|-
{{#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" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
Line 50: Line 62:
|war=
|war=
|ally=
|ally=
|encountered=
}}
}}
</pre>
</pre>
Line 55: 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=