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

From EVE University Wiki
Jump to: navigation, search
m (Coding and testing.)
m (Coding and testing.)
Line 212: Line 212:
 
     <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 
     <div style='border: 1px solid #323931; position: relative;'>{{#if: {{{tech|}}}
 
       | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
 
       | <div class="techcorner">[[Image:CornerT{{{tech}}}h.png|link=]]</div>
      |
 
 
       }}{{#ifexist: File:{{{shipimg}}}
 
       }}{{#ifexist: File:{{{shipimg}}}
         | [[Image:{{{shipimg}}}|center|link= |256x256px|{{#if: {{{shipname}}}
+
         | [[Image:{{{shipimg}}}|center|link= |256x256px|{{#if: {{{shipname|}}} | {{{shipname}}} }}]]
          | {{{shipname}}}
+
         | {{#if: {{{shipid|}}}
          | Unknown Ship
 
          }}]]
 
         |{{#if: {{{shipid}}}
 
 
<!--          | {{Imageserver|types|{{{shipid}}}|render|size=256}} Test code for using the Imageserver template-->
 
<!--          | {{Imageserver|types|{{{shipid}}}|render|size=256}} Test code for using the Imageserver template-->
 
           | https://images.evetech.net/types/{{{shipid}}}/render?size=256&.jpg
 
           | https://images.evetech.net/types/{{{shipid}}}/render?size=256&.jpg
           | [[Image:no-image.png|center|link= |256x256px|{{#if: {{{shipname}}}
+
           | [[Image:no-image.png|center|link= |256x256px|{{{shipname}}}<!--{{#if: {{{shipname|}}} | {{{shipname}}} }}-->]]
              | {{{shipname}}}
 
              | Unknown Ship
 
            }}]]
 
 
           }}
 
           }}
 
         }}
 
         }}

Revision as of 13:07, 29 December 2022


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?)