Difference between revisions of "Template:Org"

From Emperor's Hammer Encyclopaedia Imperia
(First pass inlining and clean up of ORG template)
m
Line 3: Line 3:
 
<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: {{#if: {{{BG2|}}} | {{{BG2}}} | {{{imageBG}}} }} }}} }};">{{{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 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">

Revision as of 05:12, 7 August 2021

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