Difference between revisions of "User:Evon R'al/Sandbox template"

From EVE University Wiki
Jump to: navigation, search
m (Undo revision 200078 by Evon R'al (talk) Introduced an error but can't find.)
Tag: Undo
m (Coding and testing.)
Line 304: Line 304:
 
<div style='float: left; clear: both; width: 100%'>
 
<div style='float: left; clear: both; width: 100%'>
 
   <div class='ship-info'>
 
   <div class='ship-info'>
     <div class='title'><span style='font-size: 16px'>&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: 16px'>&equiv;</span> {{#if: {{{class}}} |{{{class}}} |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:100%;'>
 
     <table style='width:100%;'>
 
       <tr>
 
       <tr>
 
         <td style='padding: 5px; width: 256px;' valign='top'>
 
         <td style='padding: 5px; width: 256px;' valign='top'>
 
           <div style='border: 1px solid #323931; position: relative;' class='ship-img'>{{#if: {{{tech|}}}
 
           <div style='border: 1px solid #323931; position: relative;' class='ship-img'>{{#if: {{{tech|}}}
             | <div class="techcorner">[[Image:CornerT{{{tech|2}}}h.png|link=]]</div>
+
             | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
 
             |
 
             |
 
           }}{{#ifexist: File:{{{shipimg}}}
 
           }}{{#ifexist: File:{{{shipimg}}}
 
                 | [[Image:{{{shipimg|no-image.png}}}|center|256x256px|{{#if: {{{shipname}}}
 
                 | [[Image:{{{shipimg|no-image.png}}}|center|256x256px|{{#if: {{{shipname}}}
                   | {{{shipname|Unknown Ship}}}
+
                   | {{{shipname}}}
 
                   | Unknown Ship
 
                   | Unknown Ship
 
                 }}]]
 
                 }}]]

Revision as of 14:50, 18 January 2023

Template documentation (for the above template, sometimes hidden or invisible)
Visit User:Evon R'al/Sandbox template/doc to edit this text! (How does this work?) (Refresh this text - why?)