Template:Fallen House infobox: Difference between revisions

From Destinypedia, the Destiny wiki

mNo edit summary
m (Text replacement - "|{{!}}-|{{!}}-" to "||")
 
(45 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="width:260px; background:{{{BG|teal}}}; color:{{{color1|#000}}};"
{| 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}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! class="infoboxcell" style="background:{{{imageBG|#FFF}}}; text-align:center; border-bottom:1px solid {{{lineBG|teal}}};" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}
{{!}} 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="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}
{{!}}-}}
}}
|-
{{#if:{{{Nobility|}}}|
{{#if:{{{Nobility|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{Nobility-title|Nobility}}}''':
{{{Nobility-title|Nobility}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Nobility|}}}
{{{Nobility}}}
{{!}}-}}
}}
|-
{{#if:{{{Servitors|}}}|
{{#if:{{{Servitors|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{Servitors-title|Servitors}}}''':
{{{Servitors-title|Servitors}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Servitors|}}}
{{{Servitors}}}
{{!}}-}}
}}
|-
{{#if:{{{Lair|}}}|
{{#if:{{{Lair|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{Lair-title|Lair}}}''':
{{{Lair-title|Lair}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Lair|}}}
{{{Lair}}}
{{!}}-}}
}}
|-
{{#if:{{{war|}}}|
{{#if:{{{war|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{war-title|At war with}}}''':
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{war|}}}
{{{war}}}
{{!}}-}}
}}
|-
{{#if:{{{ally|}}}|
{{#if:{{{ally|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{ally-title|Allied with}}}''':
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{ally|}}}
{{{ally}}}
{{!}}-}}
}}
|-
{{#if:{{{Encountered|}}}|
{{#if:{{{Encountered|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
'''{{{Encountered-title|Encountered}}}''':
{{{Encountered-title|Encountered}}}:
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#FFF}}}; border-bottom:1px solid {{{lineBG|#1a1a1a}}}; border-top:1px solid {{{lineBG|#1a1a1a}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Encountered|}}}
{{{Encountered}}}
{{!}}-}}
}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" |&nbsp;
|-
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
Line 66: Line 72:
==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:19, October 18, 2022

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