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 197: Line 197:
  
 
<!--* Breadcrumbs *-->
 
<!--* Breadcrumbs *-->
  <div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>{{#if: {{{shipname|}}}
+
  <div class='breadcrumbs'>[[:Category:Ship Database|Ship Database]]<span class='separator'>&#9656;</span>[[:Category:{{{grouping|Unique Ships}}}|{{{grouping|Unique Ships}}}]]<span class='separator'>&#9656;</span>[[{{{shipname|Unknown}}}]]<!--{{#if: {{{shipname|}}}
 
   | [[{{{shipname}}}]]
 
   | [[{{{shipname}}}]]
 
   | Unknown
 
   | Unknown
   }}
+
   }} Test code for using #if: -->
 
  </div>
 
  </div>
  
Line 220: Line 220:
 
       |
 
       |
 
       }}{{#ifexist: File:{{{shipimg}}}
 
       }}{{#ifexist: File:{{{shipimg}}}
         | [[Image:{{{shipimg|no-image.png}}}|center|link= |256x256px|{{#if:{{{shipname}}}
+
         | [[Image:{{{shipimg|no-image.png}}}|center|link= |256x256px|{{#if: {{{shipname}}}
 
           | {{{shipname|Unknown Ship}}}
 
           | {{{shipname|Unknown Ship}}}
 
           | Unknown Ship
 
           | Unknown Ship
 
           }}]]
 
           }}]]
         |{{#if: {{{shipid|}}}
+
         |{{#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|{{#if: {{{shipname}}}
 
               | {{{shipname}}}
 
               | {{{shipname}}}
 
               | Unknown Ship
 
               | Unknown Ship
Line 240: Line 240:
  
 
<!--** Ship image block "caption" left **-->
 
<!--** Ship image block "caption" left **-->
         <td rowspan='3' class='faction-img'>[[Image:{{#switch:{{{faction}}}
+
         <td rowspan='3' class='faction-img'>[[Image:{{#switch: {{{faction}}}
 
           | Amarr Empire= Logo_faction_amarr_empire.png
 
           | Amarr Empire= Logo_faction_amarr_empire.png
 
           | Caldari State= Logo_faction_caldari_state.png
 
           | Caldari State= Logo_faction_caldari_state.png

Revision as of 14:12, 29 November 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?)