Difference between revisions of "Template:Org"

From Emperor's Hammer Encyclopaedia Imperia
m
m (Added Template Category tag)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:250px;" class="sidebar">
+
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:250px; font-size: smaller;" class="sidebar">
 
<tr><td colspan="2"><div id="infoboxinternal">
 
<tr><td colspan="2"><div id="infoboxinternal">
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; border-collapse:collapse;">
 
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%; border-collapse:collapse;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; {{#if: {{{imageBG|}}} | {{{background: {{#if: {{{BG2|}}} | {{{BG2}}} | {{{imageBG}}} }} }}} }};">{{{image|}}}</td></tr>
+
<tr style="text-align:center;"><td colspan="2" style="padding:0; {{#if: {{{imageBG|}}} | background-image: {{{imageBG}}}; |}} {{#if: {{{BG1|}}} | background-color: {{{BG1}}}; |}}">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; {{#if: {{{BG1|}}} | {{{background: BG1;}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideor|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | {{{class="sidebar-heading-subheading"}}} }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | {{{background: BG2;}}} | }}">'''Organizational information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Title of leader</td><td class="infoboxcell">
+
<tr class="sidebar-heading-subheading" style="text-align:center; color:#ffffff; {{#if: {{{BG1|}}} | background: {{{BG1}}} }}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hideor|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | class="sidebar-heading-subheading" }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | background: {{{BG2}}}; | }}">'''Organizational information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Title of leader</td><td class="infoboxcell">
 
{{{leader|}}}
 
{{{leader|}}}
 
</td></tr>|1{{{leader|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Governing body</td><td class="infoboxcell">
 
</td></tr>|1{{{leader|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Governing body</td><td class="infoboxcell">
Line 17: Line 17:
 
</td></tr>|1{{{headquarters|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Official language(s)</td><td class="infoboxcell">
 
</td></tr>|1{{{headquarters|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Official language(s)</td><td class="infoboxcell">
 
{{{language|}}}
 
{{{language|}}}
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Affiliated organizations/governments</td><td class="infoboxcell">
+
</td></tr>|1{{{language|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Affiliates</td><td class="infoboxcell">
 
{{{affiliated|}}}
 
{{{affiliated|}}}
</td></tr>|1{{{affiliated|}}}=}} {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | {{{class="sidebar-heading-subheading"}}} }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | {{{background: BG2;}}} | }};">'''Beliefs'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Holy text(s)</td><td class="infoboxcell">
+
</td></tr>|1{{{affiliated|}}}=}} {{t|1=|1{{{hideb|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | class="sidebar-heading-subheading" }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | background: {{{BG2}}}; | }};">'''Beliefs'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Holy text(s)</td><td class="infoboxcell">
 
{{{text|}}}
 
{{{text|}}}
 
</td></tr>|1{{{text|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Deities</td><td class="infoboxcell">
 
</td></tr>|1{{{text|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Deities</td><td class="infoboxcell">
Line 31: Line 31:
 
</td></tr>|1{{{ceremonies|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Holidays</td><td class="infoboxcell">
 
</td></tr>|1{{{ceremonies|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Holidays</td><td class="infoboxcell">
 
{{{holidays|}}}
 
{{{holidays|}}}
</td></tr>|1{{{holidays|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | {{{class="sidebar-heading-subheading"}}} }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | {{{background: BG2;}}} | }}">'''Historical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Date of founding</td><td class="infoboxcell">
+
</td></tr>|1{{{holidays|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | class="sidebar-heading-subheading" }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | background: {{{BG2}}}; | }}">'''Historical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Date of founding</td><td class="infoboxcell">
 
{{{founding|}}}
 
{{{founding|}}}
 
</td></tr>|1{{{founding|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Planet of founding</td><td class="infoboxcell">
 
</td></tr>|1{{{founding|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Planet of founding</td><td class="infoboxcell">
Line 39: Line 39:
 
</td></tr>|1{{{founder|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Date of collapse(s)</td><td class="infoboxcell">
 
</td></tr>|1{{{founder|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Date of collapse(s)</td><td class="infoboxcell">
 
{{{collapse|}}}
 
{{{collapse|}}}
</td></tr>|1{{{collapse|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | {{{class="sidebar-heading-subheading"}}} }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | {{{background: BG2;}}} | }}">'''Other information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Notable members</td><td class="infoboxcell">
+
</td></tr>|1{{{collapse|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" {{#if: {{{BG2|}}} | | class="sidebar-heading-subheading" }} style="text-align:left; font-weight:normal; {{#if: {{{BG2|}}} | background: {{{BG2}}}; | }}">'''Other information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Notable members</td><td class="infoboxcell">
 
{{{members|}}}
 
{{{members|}}}
 
</td></tr>|1{{{members|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Era(s)</td><td class="infoboxcell">
 
</td></tr>|1{{{members|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Era(s)</td><td class="infoboxcell">
Line 107: Line 107:
 
</nowiki>
 
</nowiki>
 
</pre>
 
</pre>
 +
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 10:42, 25 July 2022

Field list

  • leader
  • governing
  • positions
  • organizations
  • sects
  • headquarters
  • language
  • affiliated
  • text
  • deities
  • locations
  • artifacts
  • ceremonies
  • holidays
  • founding
  • planet
  • founder
  • collapse
  • members
  • era
  • BG1 (optional color modifier)
  • BG2 (optional color modifier)

Display parameters

  • hideor (Organizational information)
  • hideb (Beliefs)
  • hideh (Historical information)
  • hideot (Other information)

Usage instructions

Paste the following code at the beginning of the article, filing all relevant fields. If a field doesn't apply, just leave it blank.
Note: This template has customizable colors for both primary and secondary headings. However, the heading colors will default to shades of gray; choose your colors appropriately.


{{religion infobox
|BG1=
|BG2=
|image=
|name=
|leader=
|governing=
|positions=
|organizations=
|sects=
|headquarters=
|language=
|affiliated=
|text=
|deities=
|locations=
|artifacts=
|ceremonies=
|holidays=
|founding=
|planet=
|founder=
|collapse=
|members=
|era=
}}