Difference between revisions of "Template:Group"

From Emperor's Hammer Encyclopaedia Imperia
m (fixing red link)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; margin: 0 0 .5em 1em; width:250px; background:#ffffff; border-collapse:collapse; border:1px solid #999999; font-size:smaller; line-height:1.5;">
+
<table border="0" cellspacing="0" cellpadding="0" style="float:right; clear:right; width:250px;" 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%; background:#ffffff; border-collapse:collapse;">
+
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 0 0; width:100%;">
<tr style="text-align:center;"><td colspan="2" style="padding:0; background:#{{{BG1|999999}}};">{{{image|}}}</td></tr>
+
<tr style="text-align:center;"><td colspan="2" style="padding:0; ">{{{image|}}}</td></tr>
<tr style="text-align:center; color:#ffffff; background:#{{{BG1|999999}}}; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidei|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''General information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Founder(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
<tr style="text-align:center; color:#ffffff; font-size:larger;"><th colspan="2">{{{name}}}</th></tr> {{t|1=|1{{{hidei|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|112}}};">'''General information'''</th></tr>}} {{t|1=<tr><td class="sidebar-label">Founder(s)</td><td class="sidebar-value">
 
{{{founder|}}}
 
{{{founder|}}}
</td></tr>|1{{{founder|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Leader</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{founder|}}}=}} {{t|1=<tr><td class="sidebar-label">Leader</td><td class="sidebar-value">
 
{{{leader|}}}
 
{{{leader|}}}
</td></tr>|1{{{leader|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Vicarius</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{leader|}}}=}} {{t|1=<tr><td class="sidebar-label">Vicarius</td><td class="sidebar-value">
 
{{{vic|}}}
 
{{{vic|}}}
</td></tr>|1{{{vic|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Headquarters</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{vic|}}}=}} {{t|1=<tr><td class="sidebar-label">Headquarters</td><td class="sidebar-value">
 
{{{headquarters|}}}
 
{{{headquarters|}}}
</td></tr>|1{{{headquarters|}}}=}}  {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Locations</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{headquarters|}}}=}}  {{t|1=<tr><td class="sidebar-label">Locations</td><td class="sidebar-value">
 
{{{locations|}}}
 
{{{locations|}}}
</td></tr>|1{{{locations|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Historical information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Formed from</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{locations|}}}=}} {{t|1=|1{{{hideh|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|112}}};">'''Historical information'''</th></tr>}} {{t|1=<tr><td class="sidebar-label">Formed from</td><td class="sidebar-value">
 
{{{formed|}}}
 
{{{formed|}}}
</td></tr>|1{{{formed|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Founding</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{formed|}}}=}} {{t|1=<tr><td class="sidebar-label">Founding</td><td class="sidebar-value">
 
{{{founded|}}}
 
{{{founded|}}}
</td></tr>|1{{{founded|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Reorganization</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{founded|}}}=}} {{t|1=<tr><td class="sidebar-label">Reorganization</td><td class="sidebar-value">
 
{{{reorganized|}}}
 
{{{reorganized|}}}
</td></tr>|1{{{reorganized|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Fragmentation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{reorganized|}}}=}} {{t|1=<tr><td class="sidebar-label">Fragmentation</td><td class="sidebar-value">
 
{{{fragmented|}}}
 
{{{fragmented|}}}
</td></tr>|1{{{fragmented|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Dissolution</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{fragmented|}}}=}} {{t|1=<tr><td class="sidebar-label">Dissolution</td><td class="sidebar-value">
 
{{{dissolved|}}}
 
{{{dissolved|}}}
</td></tr>|1{{{dissolved|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Restoration</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{dissolved|}}}=}} {{t|1=<tr><td class="sidebar-label">Restoration</td><td class="sidebar-value">
 
{{{restored|}}}
 
{{{restored|}}}
</td></tr>|1{{{restored|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|CCCCCC}}};">'''Other information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Notable members</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{restored|}}}=}} {{t|1=|1{{{hideot|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:#{{{BG2|112}}};">'''Other information'''</th></tr>}} {{t|1=<tr><td class="sidebar-label">Notable members</td><td class="sidebar-value">
 
{{{members|}}}
 
{{{members|}}}
</td></tr>|1{{{members|}}}=}}  {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Affilliation</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{members|}}}=}}  {{t|1=<tr><td class="sidebar-label">Affilliation</td><td class="sidebar-value">
 
{{{affiliation|}}}
 
{{{affiliation|}}}
</td></tr>|1{{{affiliation|}}}=}}{{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">Era(s)</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
</td></tr>|1{{{affiliation|}}}=}}{{t|1=<tr><td class="sidebar-label">Era(s)</td><td class="sidebar-value">
 
{{{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%;">[[Template:Group|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>
 
</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%;">[[Template:Group|[Source]]]</td></tr></table><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>

Revision as of 09:15, 18 June 2021

Data fields

  • founder
  • leader
  • members
  • headquarters
  • locations
  • formed
  • founded
  • reorganized
  • fragmented
  • dissolved
  • restored
  • affiliation
  • era
  • BG1 (optional color modifier)
  • BG2 (optional color modifier)

Display parameters

  • hidei (General information)
  • hideh (Historical information)
  • hideo (Other information)

Usage instructions

Copy and paste the following code into the top of the article, filling the appropriate fields. Omitted or blank fields will not be shown on the article page.

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.

{{Group
|BG1=
|BG2=
|name=
|image=
|founder=
|leader=
|vic=
|members=
|headquarters=
|locations=
|formed=
|founded=
|reorganized=
|fragmented=
|dissolved=
|restored=
|affiliation=
|era=
}}

Source

{{subst:slh|#{{{BG1|9CABB0}}}|250px}} {{subst:sls|General information|#{{{BG2|CAD4D5}}}|hidei}} {{subst:sld|Founder(s)|founder}} {{subst:sld|Leader(s)|leader}} {{subst:sld|Notable members|members}} {{subst:sld|Headquarters|headquarters}} {{subst:sld|Locations|locations}} {{subst:sls|Historical information|#{{{BG2|CAD4D5}}}|hideh}} {{subst:sld|Formed from|formed}} {{subst:sld|Founding|founded}} {{subst:sld|Reorganization|reorganized}} {{subst:sld|Fragmentation|fragmented}} {{subst:sld|Dissolution|dissolved}} {{subst:sld|Restoration|restored}} {{subst:sls|Other information|#{{{BG2|CAD4D5}}}|hideot}} {{subst:sld|Affilliation|affiliation}} {{subst:sld|Era(s)|era}} {{subst:slf}}