Actions

Template

Difference between revisions of "Specstile"

From Bravo Fleet Infobase

(Created page with "<includeonly>{| style="background:#850002; border:1px solid #cccccc;-moz-border-radius:5px;" |- align="center" |<div style="position:relative; height: 94px; width: 148px;"> <d...")
 
(Undo revision 14209 by Emily (talk))
(Tag: Undo)
 
(90 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| style="background:#850002; border:1px solid #cccccc;-moz-border-radius:5px;"
+
<includeonly>{| style="border:1px solid;-moz-border-radius:5px;background:{{#switch:{{{empire|}}}
 +
  |Federation      = &#032; #5173b6
 +
  |Klingon      = &#032; #931c13
 +
  |Cardassian      = &#032; #9b7c13
 +
  |Romulan      = &#032; #225B15
 +
  |Dominion      = &#032; #54155B
 +
  |&#032; #999999}};"
 
|- align="center"
 
|- align="center"
|<div style="position:relative; height: 94px; width: 148px;">
+
|<div style="position: relative; height: 100px; width: 200px;"> <!-- Size of background panel -->
<div style="position: absolute; top: 79px; left: 0px; width: 148px; overflow: hidden; line-height: 12px; z-index: 3; text-align: right;"><table cellspacing="0" cellpadding="1" style="background:#cccccc;-moz-border-radius-topleft:8px;" align="right"><tr><td>&nbsp;[[{{{articlename}}}|<font color="black" size="1">'''{{{name}}}'''</font>]]</td></tr></table></div>
+
<div style="position: absolute; top: 80px; left: 95px; height: 20px; width: 100px; overflow: hidden; line-height: 12px; z-index: 3; text-align: right;text-transform: uppercase;"><table cellspacing="0" cellpadding="0" align="right" style="width:auto;-moz-border-radius-topleft:8px;background:{{#switch:{{{empire|}}}
<div style="position: absolute; top: 0px; left: 0px; height: 94px; width: 148px; overflow: hidden">
+
  |Federation      = &#032; #5173b6
 +
  |Klingon      = &#032; #931c13
 +
  |Cardassian      = &#032; #9b7c13
 +
  |Romulan      = &#032; #225B15
 +
  |Dominion      = &#032; #54155B
 +
  |&#032; #999999}};"><tr><td style="line-height: 1em;">&nbsp;[[{{{articlename}}}|<font color="white" size="1">'''{{{name}}}'''</font>]]</td></tr></table></div> <!-- Size and alignment of name plate -->
 +
<div style="position: absolute; top: 0px; left: 0px; height:95px; width: 195px; overflow: hidden"> <!-- Size and alignment of image -->
 
<div style="position: absolute; top: -18px; left: 0px; font-size: 130px; overflow: hidden; line-height: 215px; z-index: 3">[[{{{articlename}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
 
<div style="position: absolute; top: -18px; left: 0px; font-size: 130px; overflow: hidden; line-height: 215px; z-index: 3">[[{{{articlename}}}|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;]]</div>
<div style="position: absolute; top: 0px; left: 0px; z-index: 2">[[Image:{{{image}}}|148px|{{{articlename}}}]]</div>
+
<div style="position: absolute; top: 5px; left: 5px; z-index: 2;">[[Image:{{{image}}}|200px|{{{articlename}}}]]</div>
 
</div></div>
 
</div></div>
 
|}</includeonly>
 
|}</includeonly>
 
<noinclude>
 
<noinclude>
 
<pre>
 
<pre>
{{TVCharacters
+
{{Specstile
 +
| empire      =
 
  | articlename =  
 
  | articlename =  
 
  | name        =  
 
  | name        =  
Line 16: Line 29:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates]]</noinclude>
+
{| border=0 cellspacing=2 cellpadding=10 style="margin: 1em auto;text-align:center;"
 +
|-style="text-align: center; background: #fafafa; font-size:10pt; width: 100%;"
 +
! Empire field values
 +
|- style="text-align: center; background: #5173b6; font-size:10pt; width: 100%;"
 +
| style="color: #e5e5ed;background: #5173b6;" width="50%" | Federation
 +
|- style="text-align: center; background: #931c13; font-size:10pt; width: 100%;"
 +
| style="color: #e5e5ed;background: #931c13;" width="50%" | Klingon
 +
|- style="text-align: center; background: #9b7c13; font-size:10pt; width: 100%;"
 +
| style="color: #e5e5ed;background: #9b7c13;" width="50%" | Cardassian
 +
|- style="text-align: center; background: #225B15; font-size:10pt; width: 100%;"
 +
| style="color: #e5e5ed;background: #225B15;" width="50%" | Romulan
 +
|- style="text-align: center; background: #54155B; font-size:10pt; width: 100%;"
 +
| style="color: #e5e5ed;background: #54155B;" "width="50%" | Dominion
 +
|-style="text-align: center; background: #999999; font-size:10pt; width: 100%;"
 +
| colspan="2" | No color value = No Affiliation
 +
|}
 +
[[Category:Infobox Templates|SpecTile]]
 +
</noinclude>

Latest revision as of 21:39, 8 December 2019


{{Specstile
 | empire      =
 | articlename = 
 | name        = 
 | image       = 
}}
Empire field values
Federation
Klingon
Cardassian
Romulan
Dominion
No color value = No Affiliation