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
m Reformat source content, reduce indent.
m Move usage pointer to documentation. Rewrite {{Tooltip}} first parameter: if {{{shipname}}} not empty use it as the linked displayed text else report parameter missing.
Line 1: Line 1:
For usage guide please see [[Template:Ship|Ship Template]]
<includeonly><onlyinclude>{{#css:
<includeonly><onlyinclude>{{#css:


Line 72: Line 71:
}}
}}
{{Tooltip
{{Tooltip
|1=[[{{{shipname}}}|{{#if:{{{shipname}}}|{{{shipname|Unknown Ship}}}|Unknown Ship}}]]
|1={{#if:{{{shipname}}}
| [[{{{shipname}}}]]
| parameter shipname missing
}}
 
|2=<div class='uniwiki-ship-tooltip'>
|2=<div class='uniwiki-ship-tooltip'>
  <table cellspacing='0' cellpadding='0' style='width:100%;'>
  <table cellspacing='0' cellpadding='0' style='width:100%;'>