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 321: Line 321:
 
                 }}
 
                 }}
 
           </div>
 
           </div>
           <div style='position: absolute; margin-left: 200px; 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: 200px; margin-top: -60px;'>[[Image:{{#switch: {{{faction}}}
           <div style='display:{{#ifexist:File:{{{shipimg}}}|none|block}};text-align:center;' class='forum-link'>
+
                | 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 class='linkentry'>
 
             <div class='linkentry'>
 
               <div class='linkname' style='font-weight: bold;'>{{#if:{{{shipimg}}}|[[File:{{{shipimg}}}|Upload {{{shipimg}}} for this ship image.]]|<span style='font-weight: normal; font-size: 11px; line-height: 120%;'>Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]].</span>}}</div>
 
               <div class='linkname' style='font-weight: bold;'>{{#if:{{{shipimg}}}|[[File:{{{shipimg}}}|Upload {{{shipimg}}} for this ship image.]]|<span style='font-weight: normal; font-size: 11px; line-height: 120%;'>Please upload an image for this ship and edit the respective entry on the ship database, see "editing database entry" [[Template:Ship|here]].</span>}}</div>

Revision as of 13:05, 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?)