Difference between revisions of "Template:Org"
From Emperor's Hammer Encyclopaedia Imperia
KalveRyder (talk | contribs) (fixing image > bgcolor > css class fallback logic) |
m (Added Template Category tag) |
||
(2 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-image: {{{imageBG}}}; |}} {{#if: {{{BG1|}}} | background-color: {{{BG1}}}; |}}">{{{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 class="sidebar-heading-subheading" style="text-align:center; color:#ffffff; {{#if: {{{BG1|}}} | {{{ | + | <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> | + | </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"> | ||
Line 107: | Line 107: | ||
</nowiki> | </nowiki> | ||
</pre> | </pre> | ||
+ | |||
+ | [[Category:Templates]] | ||
+ | </noinclude> |
Latest revision as of 09:42, 25 July 2022
| |||||||||||||
[Source] |
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= }}