Template:Fallen House infobox: Difference between revisions

m (Text replacement - "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} {{!}}- {{#if:{{{" to "{{#if:{{{caption|}}}|{{clear}}{{{caption}}}}} }} |- {{#if:{{{")
mNo edit summary
 
(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"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|teal}}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
|-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{#if:{{{image|}}}|
 
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|teal}}}|entries=
{{Infobox|entry|title={{{nobility-title|Nobility}}}|content={{{nobility|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{servitors-title|Servitors}}}|content={{{servitors|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{lair-title|Lair}}}|content={{{lair|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{affiliation-title|Affiliation}}}|content={{{affiliation|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{war-title|At war with}}}|content={{{war|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{ally-title|Allied with}}}|content={{{ally|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
{{Infobox|entry|title={{{encountered-title|Encountered}}}|content={{{encountered|}}}|bg={{{fieldBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}}
}}
}}
|-
 
{{#if:{{{hidea|}}}|{{!}}-|{{!}}-
{{Infobox|end}}<noinclude>{{clear}}
! class="infoboxsubheading" colspan="2" style="color:{{{color2|#fff}}}; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}}}
==Usage instructions==
{{!}}-}}
{{#if:{{{Nobility|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Nobility-title|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}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Servitors|}}}
{{!}}-}}
{{#if:{{{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:{{{war|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{war-title|At war with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{war|}}}
{{!}}-}}
{{#if:{{{ally|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{ally-title|Allied with}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{ally|}}}
{{!}}-}}
{{#if:{{{Encountered|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Encountered-title|Encountered}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}}
{{{Encountered|}}}
{{!}}-}}
| class="infoboxfooter" colspan="2" | &nbsp;
|}<noinclude>{{clear}}
==Usage==
Copy and paste the following into the article and fill in the fields.
Copy and paste the following into the article and fill in the fields.


Line 54: Line 21:
|image=
|image=
|name=
|name=
|Nobility=
|nobility=
|Servitors=
|servitors=
|Lair=
|lair=
|affiliation=
|war=
|war=
|ally=
|ally=
|Encountered=
|encountered=
}}
}}
</pre>
</pre>
Line 76: Line 44:
|color2=
|color2=
|section1-title=
|section1-title=
|section2-title=
</pre>
==Display parameters==
The following allows you to hide the section header
*hidea (hides Bio section header)
*hideb (hides Politic/Military section header)
<pre>
|hidea=
|hideb=
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 17:13, June 1, 2024

Fallen House infobox
 

Usage instructions

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=