Template:Fallen House infobox: Difference between revisions
m (Text replacement - "([^\n]) <pre>" to "$1 <pre>") |
m (Text replacement - "({{{ *|\n *\| *)([A-Z][a-z][^\n\|\[\]{}]+ *)([=\|}])" to "$1$2$3") |
||
(12 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|# | {{!}} 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:{{{ | |- | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{#if:{{{nobility|}}}| | ||
{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{{nobility-title|Nobility}}}: | ||
{{{ | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{nobility}}} | |||
{{#if:{{{ | }} | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | |- | ||
{{{ | {{#if:{{{servitors|}}}| | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{ | {{{servitors-title|Servitors}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | |||
{{#if:{{{ | {{{servitors}}} | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | }} | ||
{{{ | |- | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{#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:{{{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|# | {{!}} 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|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{war | {{{war}}} | ||
}} | |||
|- | |||
{{#if:{{{ally|}}}| | {{#if:{{{ally|}}}| | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{ally-title|Allied with}}}: | {{{ally-title|Allied with}}}: | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{!}} class="infoboxcell" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{{ally | {{{ally}}} | ||
}} | |||
{{#if:{{{ | |- | ||
{{!}} class="infoboxlabel" style="background:{{{fieldBG|# | {{#if:{{{encountered|}}}| | ||
{{{ | {{!}} class="infoboxlabel" style="background:{{{fieldBG|#fff}}}; border-color:{{{lineBG|#1a1a1a}}}" {{!}} | ||
{{!}} class="infoboxcell" style="background:{{{fieldBG|# | {{{encountered-title|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= | ||
| | |servitors= | ||
| | |lair= | ||
|affiliation= | |||
|war= | |war= | ||
|ally= | |ally= | ||
| | |encountered= | ||
}} | }} | ||
</pre> | </pre> |
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=