Difference between revisions of "Template:InfoBoxFactions"

(Secret Service made conditional)
m
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class='infobox'
+
<includeonly>{| border="2px" cellpadding="0" class="infoBoxNew"
 
|-
 
|-
 
{{#if:{{{crest|}}}|
 
{{#if:{{{crest|}}}|
{{!}} colspan="2" {{!}} {{{crest}}}
+
{{!}} colspan="2" class="infoboxrow" style="border:2px solid #333;" {{!}} {{{crest}}}
 
}}
 
}}
|-
 
| colspan='2' class='infoboxname' | {{{factionname}}}
 
 
|-
 
|-
| colspan='2' class='infoboxheading' | '''Faction Profile'''
+
! colspan="2" style="background-color:#e52b50; color:#FFF; font-size:16px; padding:5px; text-align:center; border:2px solid #333;" | {{#if:{{{factionname|}}}|{{{factionname}}}|{{PAGENAME}} }}
|- class='infoboxrow'
+
|-
| Time period:       || {{{timeperiod|}}}
+
| colspan='2' class='infoboxheading' style="background-color:#b2beb5; font-size:14px; padding:5px; text-align:center; border:2px solid #333;" | '''Faction Profile'''
|- class='infoboxrow'
+
|- class="infoboxrow" style="border:2px solid #333;"
| Classification:     || {{{classification|}}}
+
{{#if:{{{timeperiod|}}}|
|- class='infoboxrow'
+
{{!}} Time period:
| Controlled systems: || {{{systems|}}}
+
{{!}} {{{timeperiod|}}}
|- class='infoboxrow'
+
}}
| Capital world:     || {{{capital|}}}
+
|- class="infoboxrow" style="border:2px solid #333;"
|- class='infoboxrow'
+
{{#if:{{{classification|}}}|
| Ruler title:       || {{{rulertitle|}}}
+
{{!}} Classification:
|- class='infoboxrow'
+
{{!}} {{{classification|}}}
| Military:           || {{{military|}}}
+
}}
|- class="infoboxrow"
+
|- class="infoboxrow" style="border:2px solid #333;"
 +
{{#if:{{{systems|}}}|
 +
{{!}} Controlled systems:
 +
{{!}} {{{systems|}}}
 +
}}
 +
|- class="infoboxrow" style="border:2px solid #333;"
 +
{{#if:{{{capital|}}}|
 +
{{!}} Capital world:
 +
{{!}} {{{capital|}}}
 +
}}
 +
|- class="infoboxrow" style="border:2px solid #333;"
 +
{{#if:{{{rulertitle|}}}|
 +
{{!}} Ruler title:
 +
{{!}} {{{rulertitle|}}}
 +
}}
 +
|- class="infoboxrow" style="border:2px solid #333;"
 +
{{#if:{{{military|}}}|
 +
{{!}} Military:
 +
{{!}} {{{military|}}}
 +
}}
 +
|- class="infoboxrow" style="border:2px solid #333;"
 
{{#if:{{{secretservice|}}}|
 
{{#if:{{{secretservice|}}}|
{{!}} Secret Service
+
{{!}} Secret Service:
{{!}} {{{secretservice}}}
+
{{!}} {{{secretservice|}}}
 
}}
 
}}
|}<noinclude>
+
|-
{{/doc}}
+
|}</includeonly><noinclude>{{documentation}}</noinclude>
<!-- Add cats and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 21:33, 4 April 2024