Actions

Template

Difference between revisions of "Specstile"

From Bravo Fleet Infobase

Line 7: Line 7:
 
   |  #999999}};"
 
   |  #999999}};"
 
|- align="center"
 
|- align="center"
|<div style="position:relative; height: 200px; width: 200px;">
+
|<div style="position:relative; height: 100px; width: 100px;"> /* Size of background panel */
 
<div style="position: absolute; top: 67px; left: 50px; width: 100px; overflow: hidden; line-height: 12px; z-index: 3; text-align: right;"><table cellspacing="5" cellpadding="0" align="right" style="-moz-border-radius-topleft:8px;background:{{#switch:{{{empire|}}}
 
<div style="position: absolute; top: 67px; left: 50px; width: 100px; overflow: hidden; line-height: 12px; z-index: 3; text-align: right;"><table cellspacing="5" cellpadding="0" align="right" style="-moz-border-radius-topleft:8px;background:{{#switch:{{{empire|}}}
 
   |Federation      = &#032; #5173b6
 
   |Federation      = &#032; #5173b6
Line 14: Line 14:
 
   |Romulan      = &#032; #225B15
 
   |Romulan      = &#032; #225B15
 
   |Dominion      = &#032; #54155B
 
   |Dominion      = &#032; #54155B
   |&#032; #999999}};"><tr><td>&nbsp;[[{{{articlename}}}|<font color="white" size="1">'''{{{name}}}'''</font>]]</td></tr></table></div>
+
   |&#032; #999999}};"><tr><td>&nbsp;[[{{{articlename}}}|<font color="white" size="1">'''{{{name}}}'''</font>]]</td></tr></table></div> /*Size and alignment of name plate */
 
<div style="position: absolute; top: 5px; left: -40px; height: 94px; width: 148px; overflow: hidden">
 
<div style="position: absolute; top: 5px; left: -40px; height: 94px; width: 148px; overflow: hidden">
 
<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>

Revision as of 21:01, 8 October 2019


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