Difference between revisions of "Template:ShipBoxSmall"

From EVE University Wiki
Jump to: navigation, search
m
m
Line 268: Line 268:
 
}
 
}
 
}}
 
}}
<div style='float:left;clear:both;width:100%'>
+
<div style='float:left;clear:both;width:50%'>
 
<div class='ship-info'>
 
<div class='ship-info'>
 
<div class='title'><span style='font-size:15px'>&equiv;</span> {{#if:{{{class}}}|{{{class|SHIP}}}|SHIP}}: INFORMATION<div style='display:{{#if:{{{roles}}}|block|none}};float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{#ifeq:{{{roles}}}|unspecified||{{{roles}}}}}</div></div>
 
<div class='title'><span style='font-size:15px'>&equiv;</span> {{#if:{{{class}}}|{{{class|SHIP}}}|SHIP}}: INFORMATION<div style='display:{{#if:{{{roles}}}|block|none}};float: right; font-weight: bold; font-family: trebuchet MS; text-transform: uppercase; font-size: 80%; line-height: 20px; color: #F1EFCA;'>{{#ifeq:{{{roles}}}|unspecified||{{{roles}}}}}</div></div>
<table style='width:150%;'>
+
<table style='width:50%;'>
 
<tr>
 
<tr>
 
<td style='padding: 5px; width: 220px;' valign='top'>
 
<td style='padding: 5px; width: 220px;' valign='top'>
 
<div style='border:1px solid #323931; position: relative;' class='ship-img'>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|220x220px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div>
 
<div style='border:1px solid #323931; position: relative;' class='ship-img'>{{#if:{{{tech|}}}|<div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>|}}{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg|no-image.png}}}|center|220x220px|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]|[[Image:no-image.png|center|256x256px|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</div>
<div style='position: absolute; margin-left: 220px; margin-top: -60px;'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Triglavian Collective=Logo_faction_triglavian_collective.png |Angel Cartel=Logo_faction_angel_cartel.png |Blood Raiders=Logo_faction_the_blood_raider_covenant.png |Guristas=Logo_faction_guristas_pirates.png |Mordu's Legion=Logo_faction_mordus_legion.png |Sansha's Nation=Logo_faction_sanshas_nation.png|Serpentis=Logo_faction_serpentis.png |Sisters of EVE=Logo_faction_sisters_of_eve.png |Society of Conscious Thought=Logo_faction_the_society.png |CONCORD=Logo_faction_concord_assembly.png |#default=Logo_faction_khanid_kingdom.png}}|center|60x60px|{{#if:{{{faction}}}|{{{faction|Unknown Faction}}}|Unknown Faction}}]]</div>
+
<div style='position: absolute; margin-left: 50px; margin-top: -60px;'>[[Image:{{#switch:{{{faction}}}|Amarr Empire=Logo_faction_amarr_empire.png |Caldari State=Logo_faction_caldari_state.png |Gallente Federation=Logo_faction_gallente_federation.png |Minmatar Republic=Logo_faction_minmatar_republic.png |Outer Ring Excavations=Logo_faction_outer_ring_excavations.png |Triglavian Collective=Logo_faction_triglavian_collective.png |Angel Cartel=Logo_faction_angel_cartel.png |Blood Raiders=Logo_faction_the_blood_raider_covenant.png |Guristas=Logo_faction_guristas_pirates.png |Mordu's Legion=Logo_faction_mordus_legion.png |Sansha's Nation=Logo_faction_sanshas_nation.png|Serpentis=Logo_faction_serpentis.png |Sisters of EVE=Logo_faction_sisters_of_eve.png |Society of Conscious Thought=Logo_faction_the_society.png |CONCORD=Logo_faction_concord_assembly.png |#default=Logo_faction_khanid_kingdom.png}}|center|60x60px|{{#if:{{{faction}}}|{{{faction|Unknown Faction}}}|Unknown Faction}}]]</div>
 
<div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'>
 
<div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'>
 
<div class='linkentry'>
 
<div class='linkentry'>
Line 291: Line 291:
 
<td style='padding: 5px 5px 5px 0pt; border-left: 1px solid #333333' valign='top'>
 
<td style='padding: 5px 5px 5px 0pt; border-left: 1px solid #333333' valign='top'>
 
<div class='titlename' style='position: absolute;display:{{#if:{{{shipname|}}}|block|block}};'>[[{{{shipname|}}}]]</div>
 
<div class='titlename' style='position: absolute;display:{{#if:{{{shipname|}}}|block|block}};'>[[{{{shipname|}}}]]</div>
<table class='collapsible attributes' style='width: 100%; margin-bottom: 5px;'>
+
<table class='collapsible attributes' style='width: 50%; margin-bottom: 5px;'>
 
<tr>
 
<tr>
 
<th><div style='float: left; width: 100px; font-family: trebuchet MS;margin-left: -3px;'>SHOW ATTRIBUTES</div></th>
 
<th><div style='float: left; width: 100px; font-family: trebuchet MS;margin-left: -3px;'>SHOW ATTRIBUTES</div></th>

Revision as of 23:12, 30 September 2021

Template documentation (for the above template, sometimes hidden or invisible)
This template currently doesn't have any documentation! Help out by writing some. There may also be documentation on Wikia Templates which can be copied.
Visit Template:ShipBoxSmall/doc to edit this text! (How does this work?) (Refresh this text - why?)