|
|
(60 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}}};" | | {{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|teal}}}}} |
| {{!}}- | | {{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}} |
| ! style="background:{{{nameBG|transparent}}}; color:{{{color2|white}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
| | {{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#fff}}}|linebg={{{lineBG|#1a1a1a}}}}} |
| {{!}}- | | |
| {{#if:{{{image|}}}| | | {{Infobox|section|title={{{section1-title|Overview}}}|color={{{color2|#fff}}}|bg={{{sectionBG|teal}}}|entries= |
| ! 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>}}
| | {{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="font-size:90%; color:{{{color2|white}}}; text-align:center; background:{{{sectionBG|teal}}}" {{!}} {{{section1-title|Overview}}}}}
| | ==Usage instructions== |
| {{!}}-}}
| |
| {{#if:{{{Nobility|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{Nobility-title|Nobility}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{Nobility|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{Servitors|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{Servitors-title|Servitors}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{Servitors|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{Lair|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{Lair-title|Lair}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{Lair|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{war|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{war-title|At war with}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{war|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{ally|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{ally-title|Allied with}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{ally|}}}
| |
| {{!}}-}}
| |
| {{#if:{{{Encountered|}}}|
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| '''{{{Encountered-title|Encountered}}}''':
| |
| {{!}} class="infoboxcell" style="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;" {{!}}
| |
| {{{Encountered|}}}
| |
| {{!}}-}}
| |
| | colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; font-size:10px; line-height:10px;" |
| |
| |}<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. |
|
| |
|
| <pre> | | <pre> |
| {{Fallen House infobox | | {{Fallen House infobox |
| | |name= |
| |image= | | |image= |
| |name= | | |nobility= |
| |Nobility= | | |servitors= |
| |Servitors= | | |lair= |
| |Lair= | | |affiliation= |
| |war= | | |war= |
| |ally= | | |ally= |
| |Encountered= | | |encountered= |
| }} | | }} |
| </pre> | | </pre> |
|
| |
|
| ==Custom parameters== | | ==Custom parameters== |
| The following allows you to alter the title of the sub-sections: | | The following parameters allow you to customize the infobox colors and section titles: |
| | |
| <pre> | | <pre> |
| |BG= | | |BG= |
| | |nameBG= |
| |imageBG= | | |imageBG= |
| |nameBG=
| |
| |sectionBG= | | |sectionBG= |
| |fieldBG= | | |fieldBG= |
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> |