Difference between revisions of "Template:Department"

From Anura Sims Database
Jump to navigation Jump to search
m
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<div class="infobox">
 
<div class="infobox">
{| width="300" align="right" cellpadding="3" cellspacing="0"  
+
{| width="275" align="right" cellpadding="1" cellspacing="1"
 
|-  
 
|-  
| colspan="2" bgcolor={{{bgcolor_value|#222222; style="border-radius-top-right: 13px; border-radius-top-left: 13px; background: #222222; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller; text-align: center;"}}} {{!}} {{{image}}}
+
{{#if: {{{image|}}}|
 +
{{!}} colspan="2" bgcolor={{{bgcolor_value|#0b1322 style="font-size: 8pt; padding: 3px; text-align: center;"}}} {{!}} {{{image}}}}}
 
|-
 
|-
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#0035A2; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
+
| colspan="2" style="border-top: 1px solid #111111; text-align: center; color: #e5e5ed; font-size:larger; background-color:#000000; text-align:center; font-variant:small-caps;" | '''{{{name}}}'''
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Department Colors:
+
{{#if: {{{colors|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Department Colors:
{{{colors}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{colors}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Officers:
+
{{#if: {{{officers|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Officers:
{{{officers}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{officers}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Enlisted:
+
{{#if: {{{enlisted|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Enlisted:
{{{enlisted}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{enlisted}}}}}
 
|-
 
|-
{{!}} bgcolor={{{bgcolor_value|#222222; style="background: #222222; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Senior Officer:
+
{{#if: {{{leader|}}}|
{{!}} bgcolor={{{bgcolor_value|#2B2B2B style="background: #2B2B2B; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
+
{{!}} bgcolor={{{bgcolor_value|#0b1322; style="background: #0b1322; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; border-right: 1px solid #111111; color: #cccccc; font-size:smaller;"}}} {{!}} Senior Officer:
{{{leader}}}
+
{{!}} bgcolor={{{bgcolor_value|#070D17 style="background: #070D17; padding-left:6px; padding-right:6px; border-top: 1px solid #111111; font-size:smaller;"}}} {{!}}  
 +
{{{leader}}}}}
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
 
|- style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px;"
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #F67F00; font-size: 8pt; background-color:#0035A2; text-align:center; border-top: 1px solid #111111;" | [[Template:Department]]
+
|colspan="2" style="border-radius-bottom-right: 13px; border-radius-bottom-left: 13px; text-align: center; color: #1e3c52; font-size: 8pt; background-color:#000000; text-align:center; border-top: 1px solid #111111;" | [[Template:Department]]
 
|}</div>
 
|}</div>
<noinclude>
+
<includeonly>
 +
{{DEFAULTSORT:{{PAGENAME}}}}</includeonly><noinclude>
 
<noinclude>
 
<noinclude>
 
<br clear=all>
 
<br clear=all>
Line 36: Line 42:
 
|leader=
 
|leader=
 
}}</pre>
 
}}</pre>
[[Category:Templates]]
+
[[Category:Infobox Templates]]

Latest revision as of 14:46, 26 July 2020

{{{name}}}
Template:Department



{{Department
|image=
|name=
|officers=
|enlisted=
|colors=
|leader=
}}