Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:ShipBoxTooltip: Difference between revisions

Template page
No edit summary
added new section for nonexistant ship data
Line 1: Line 1:
{{#switch: {{{mode}}}
{{#css:
|nodata=no data available
|#default={{#css:
.tooltip-frame{
.tooltip-frame{
     position:relative; /*this is the key*/
     position:relative; /*this is the key*/
Line 83: Line 81:
z-index: 100;
z-index: 100;
}
}
}}<span class='tooltip-frame'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}<span style='margin-left: 3px; font-size: 60%; color: yellow;'>&#8595;</span>
}}{{#switch: {{{mode}}}
|nodata=<span class='tooltip-frame'><b><i>ship data not found!</i></b><span style='margin-left: 3px; font-size: 60%; color: yellow;'>&#8595;</span>
<span class='inner-snippet ship-info' style='width: 410px;'>
<span style='background-color: black; float: left; padding: 4px; width: 100%;'>
<span class='l2' style='width:100%'>
Wiki could not find any information related to {{{shipname}}}. You might have spelled the ship name incorrectly, or the ship entry does not exist. If you want to add new ship info for {{{shipname}}}, please read the "adding new entry to ship database" section on  [[Template:Ship|this page]].
</span>
</span>
</span>
</span>
|#default=<span class='tooltip-frame'>{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}<span style='margin-left: 3px; font-size: 60%; color: yellow;'>&#8595;</span>
<span class='inner-snippet ship-info' style='width: 410px;'>
<span class='inner-snippet ship-info' style='width: 410px;'>
<span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]|[[Image:no-image.png|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</span><span class='suppresslink'>&nbsp;</span></span>
<span class='left' style='background-color: black; padding: 4px 0pt 4px 4px; width: 73px;'><span class='att-img'>{{#ifexist: File:{{{shipimg}}}|[[Image:{{{shipimg}}}|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]|[[Image:no-image.png|73px|middle|{{#if:{{{shipname}}}|{{{shipname}}}|Unknown Ship}}]]}}</span><span class='suppresslink'>&nbsp;</span></span>

Revision as of 12:42, 7 September 2011

Unknown Ship {{{shipname}}}  Unknown Ship[[Template:Ship.{{{shipname}}}|goto article ›]] 0high slotshigh 0launcher slotslaunchers 0turret slotsturrets 0middle slotsmid 0low slotslow 0 m3drone capacitydrones 0 Mbit/secdrone bandwithb/w 0 m3cargo capacitycargo