Actions

Template

Difference between revisions of "Specstile"

From Bravo Fleet Infobase

 
(52 intermediate revisions by 4 users not shown)
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: 200px;"> <!-- 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: 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|}}}
 
   |Federation      = &#032; #5173b6
 
   |Federation      = &#032; #5173b6
 
   |Klingon      = &#032; #931c13
 
   |Klingon      = &#032; #931c13
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 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: 5px; left: -40px; height: 94px; width: 148px; overflow: hidden">
+
<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: 5px; left: 5px; z-index: 2; background: 50% 50% no-repeat; width: 150px; height: 75px;">[[Image:{{{image}}}|200px|{{{articlename}}}]]</div>
+
<div style="position: absolute; top: 5px; left: 5px; z-index: 2;">[[Image:{{{image}}}|200px|{{{articlename}}}]]</div>
 
</div></div>
 
</div></div>
 
|}</includeonly>
 
|}</includeonly>
Line 46: Line 46:
 
|}
 
|}
 
[[Category:Infobox Templates|SpecTile]]
 
[[Category:Infobox Templates|SpecTile]]
 +
</noinclude>
 +
 +
<noinclude>
 +
'''Preview:'''
 +
{| cellspacing="2" align="center"
 +
|-
 +
|{{Specstile|empire=Federation|image=Prometheusclass.png|articlename=Prometheus Class|name=Prometheus-class}}
 +
|{{Specstile|empire=Federation|image=Reliant1.jpg|articlename=[https://www.bravofleet.com/class/reliant/]|name=Reliant-class}}
 +
|{{Specstile|empire=Federation|image=Novarefit.jpg|articlename=[https://www.bravofleet.com/class/rhode-island/]|name=Rhode Island-class}}
 +
|{{Specstile|empire=Federation|image=Saber.jpg|articlename=[https://www.bravofleet.com/class/saber/]|name=Saber-class}}
 +
|{{Specstile|empire=Federation|image=Sovereign.jpg|articlename=[https://www.bravofleet.com/class/sovereign/]|name=Sovereign-class}}
 +
|{{Specstile|empire=Federation|image=Steamrunner.jpg|articlename=[https://www.bravofleet.com/class/steamrunner/]|name=Steamrunner-class}}
 +
|-
 +
|}
 
</noinclude>
 
</noinclude>

Latest revision as of 00:25, 4 May 2020


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


Preview:


 [[[6]|Reliant-class]]
[[[7]|     ]]
[1]


 [[[8]|Rhode Island-class]]
[[[9]|     ]]
[2]


 [[[10]|Saber-class]]
[[[11]|     ]]
[3]


 [[[12]|Sovereign-class]]
[[[13]|     ]]
[4]


 [[[14]|Steamrunner-class]]
[[[15]|     ]]
[5]