Template:Fallen House infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "colspan="([^"\n]+)" style="([^"\n]+)" class="([^"\n]+)"" to "class="$3" colspan="$1" style="$2"")
m (Text replacement - "({{{ *|\n *\| *)([A-Z][a-z][^\n\|\[\]{}]+ *)([=\|}])" to "$1$2$3")
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|teal}}}; color:{{{color1|#000}}}" cellspacing="0"
{| class="infobox" style="width:260px; background:{{{BG|teal}}}; color:{{{color1|#000}}}" cellspacing="0"
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{!}}-
|-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! class="infoboxmedia" colspan="2" style="background:{{{imageBG|#FFF}}}; border-bottom:1px solid {{{lineBG|teal}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
}}
}}
{{!}}-
|-
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{#if:{{{hidea|}}}||
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}
{{!}}-}}
}}
{{#if:{{{Nobility|}}}|
|-
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{#if:{{{nobility|}}}|
'''{{{Nobility-title|Nobility}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{nobility-title|Nobility}}}:
{{{Nobility|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}}-}}
{{{nobility}}}
{{#if:{{{Servitors|}}}|
}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
|-
'''{{{Servitors-title|Servitors}}}''':
{{#if:{{{servitors|}}}|
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Servitors|}}}
{{{servitors-title|Servitors}}}:
{{!}}-}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{#if:{{{Lair|}}}|
{{{servitors}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
}}
'''{{{Lair-title|Lair}}}''':
|-
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{#if:{{{lair|}}}|
{{{Lair|}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}}-}}
{{{lair-title|Lair}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{lair}}}
}}
|-
{{#if:{{{affiliation|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{affiliation-title|Affiliation}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{affiliation}}}
}}
|-
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{war-title|At war with}}}''':
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{war|}}}
{{{war}}}
{{!}}-}}
}}
|-
{{#if:{{{ally|}}}|
{{#if:{{{ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{ally-title|Allied with}}}''':
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{ally|}}}
{{{ally}}}
{{!}}-}}
}}
{{#if:{{{Encountered|}}}|
|-
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{#if:{{{encountered|}}}|
'''{{{Encountered-title|Encountered}}}''':
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#FFF}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{encountered-title|Encountered}}}:
{{{Encountered|}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{!}}-}}
{{{encountered}}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
Line 54: Line 68:
|image=
|image=
|name=
|name=
|Nobility=
|nobility=
|Servitors=
|servitors=
|Lair=
|lair=
|affiliation=
|war=
|war=
|ally=
|ally=
|Encountered=
|encountered=
}}
}}
</pre>
</pre>
Line 65: Line 80:
==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 16:36, May 25, 2024

Fallen House infobox
Overview
 

Usage

Copy and paste the following into the article and fill in the fields.

{{Fallen House infobox
|image=
|name=
|nobility=
|servitors=
|lair=
|affiliation=
|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=