Difference between revisions of "Template:Org"

From Emperor's Hammer Encyclopaedia Imperia
(New page: <div id="Org_infobox" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}"> {| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style=...)
 
m (Added Template Category tag)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div id="Org_infobox" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
+
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:250px; font-size: smaller;" class="sidebar">
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
+
<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;">
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}}}" | {{{image|}}}
+
<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 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">
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
 
{{#if:{{{hideor|}}}|{{!}}-|{{!}}-
 
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Organizational information'''}}
 
{{#if:{{{leader|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Title of leader
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{governing|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Governing body
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{governing|}}}
 
{{{governing|}}}
{{!}}-
+
</td></tr>|1{{{governing|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Other positions</td><td class="infoboxcell">
|}}{{#if:{{{positions|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Other positions
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{positions|}}}
 
{{{positions|}}}
{{!}}-
+
</td></tr>|1{{{positions|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Organizations</td><td class="infoboxcell">
|}}{{#if:{{{organizations|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Organizations
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{organizations|}}}
 
{{{organizations|}}}
{{!}}-
+
</td></tr>|1{{{organizations|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Sects</td><td class="infoboxcell">
|}}{{#if:{{{sects|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Sects
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{sects|}}}
 
{{{sects|}}}
{{!}}-
+
</td></tr>|1{{{sects|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Headquarters</td><td class="infoboxcell">
|}}{{#if:{{{headquarters|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Headquarters
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{headquarters|}}}
 
{{{headquarters|}}}
{{!}}-
+
</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">
|}}{{#if:{{{language|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Official language(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{language|}}}
 
{{{language|}}}
{{!}}-
+
</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">
|}}{{#if:{{{affiliated|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Affiliated organizations/governments
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{hideb|}}}|{{!}}-|{{!}}-
 
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Beliefs'''}}
 
{{#if:{{{text|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Holy text(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{deities|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Deities
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{deities|}}}
 
{{{deities|}}}
{{!}}-
+
</td></tr>|1{{{deities|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Notable locations/temples</td><td class="infoboxcell">
|}}{{#if:{{{locations|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Notable locations/temples
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{locations|}}}
 
{{{locations|}}}
{{!}}-
+
</td></tr>|1{{{locations|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Relics/artifacts</td><td class="infoboxcell">
|}}{{#if:{{{artifacts|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Relics/artifacts
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{artifacts|}}}
 
{{{artifacts|}}}
{{!}}-
+
</td></tr>|1{{{artifacts|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Ceremonies</td><td class="infoboxcell">
|}}{{#if:{{{ceremonies|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Ceremonies
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{ceremonies|}}}
 
{{{ceremonies|}}}
{{!}}-
+
</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">
|}}{{#if:{{{holidays|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Holidays
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{hideh|}}}|{{!}}-|{{!}}-
 
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Historical information'''}}
 
{{#if:{{{founding|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date of founding
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{planet|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Planet of founding
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{planet|}}}
 
{{{planet|}}}
{{!}}-
+
</td></tr>|1{{{planet|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|transparent}}}"><td>Founder</td><td class="infoboxcell">
|}}{{#if:{{{founder|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Founder
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{founder|}}}
 
{{{founder|}}}
{{!}}-
+
</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">
|}}{{#if:{{{collapse|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date of collapse(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{hideot|}}}|{{!}}-|{{!}}-
 
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{BG2|}}}|{{{BG2}}}|CCCCCC}}" {{!}} '''Other information'''}}
 
{{#if:{{{members|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Notable members
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{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">
|}}{{#if:{{{era|}}}|
 
{{!}}-
 
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Era(s)
 
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
 
{{{era|}}}
 
{{{era|}}}
{{!}}-
+
</td></tr>|1{{{era|}}}=}} </table></div></td></tr><tr><td id="infoboxend" class="plainlinks" style="text-align:right; width:49%;"></td><td style="text-align:left; width:51%;">&nbsp;&nbsp;[[Template:Org|[Source]]]</td></tr></table><noinclude>__NOEDITSECTION__ __NOTOC__
|}}
+
{{clear}}
|}
+
===Field list===
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|background: #999999}}"><span class="hidable-button"></span>[[{{{srclink|Template:Org infobox}}}|[Source]]]</div>
+
*leader
{{#if:{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}|{{rb|#{{#if:{{{BG1|}}}|{{{BG1}}}|999999}}}}|{{rb|#999999}}}}</div>
+
*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.<br />'''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.'''
 +
<pre>
 +
<nowiki>
 +
{{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=
 +
}}
 +
</nowiki>
 +
</pre>
 +
 
 +
[[Category:Templates]]
 +
</noinclude>

Latest revision as of 09: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=
}}