Difference between revisions of "Template:Whrats"
From EVE University Wiki
Line 1: | Line 1: | ||
{{#switch: {{{1|}}} | {{#switch: {{{1|}}} | ||
− | | | + | | Start = <table class="wikitable sortable" style="font-size:90%; vertical-align:middle; text-align:right; padding:0px; border-collapse:collapse;"><tr><th nowrap style="background:#222222;" data-sort-type="number"></th><th nowrap style="background:#222222;" data-sort-type="text">Name</th><th nowrap style="background:#222222;" data-sort-type="number">Sig</th><th nowrap style="background:#222222;" data-sort-type="number">Speed<small> <ref>This is the speed of the ship while they try to get within orbit or as they try to chase after you. They will turn off any propulsion modules once they get close to their preferred orbit.</ref></small></th><th nowrap style="background:#222222;" data-sort-type="number">Orbit / Speed</th><th nowrap style="background:#222222;" data-sort-type="number">Turrets</th><th nowrap style="background:#222222;" data-sort-type="number">Launchers<small> <ref>This is the effective range of this ship, limited by effective weapon range and locking range. Some ships may lock before the range indicated here, but in those cases the range is their effective weapon range, before that their weapons will be ineffective.</ref></small></th><th nowrap style="background:#222222;" data-sort-type="number">Effective HP</th></tr> |
− | | | + | | Start2 = <table class="wikitable sortable" style="font-size:90%; vertical-align:middle; text-align:right; padding:0px; border-collapse:collapse;"><tr><th nowrap style="background:#222222;" data-sort-type="number"></th><th nowrap style="background:#222222;" data-sort-type="text">Name</th><th nowrap style="background:#222222;" data-sort-type="number">Sig</th><th nowrap style="background:#222222;" data-sort-type="number">Speed</th><th nowrap style="background:#222222;" data-sort-type="number">Orbit / Speed</th><th nowrap style="background:#222222;" data-sort-type="number">Turrets</th><th nowrap style="background:#222222;" data-sort-type="number">Launchers</th><th nowrap style="background:#222222;" data-sort-type="number">Effective HP</th></tr> |
| Sleepless Patroller = <tr><td nowrap style="vertical-align:text-top; text-align:center;"><span style="display:none;">5 </span>[[image:icon_target_battleship.png|16px|Large target]]</td> | | Sleepless Patroller = <tr><td nowrap style="vertical-align:text-top; text-align:center;"><span style="display:none;">5 </span>[[image:icon_target_battleship.png|16px|Large target]]</td> | ||
<td nowrap style="vertical-align:middle;"><span style="display:none;">Sleepless Patroller </span><div style="text-align:left;">Sleepless Patroller [[image:icon_remote_armor_repair_i.png|24px|Remote Armor Repair - Can repair 400 hp every 15 seconds]]</div></td> | <td nowrap style="vertical-align:middle;"><span style="display:none;">Sleepless Patroller </span><div style="text-align:left;">Sleepless Patroller [[image:icon_remote_armor_repair_i.png|24px|Remote Armor Repair - Can repair 400 hp every 15 seconds]]</div></td> | ||
Line 242: | Line 242: | ||
<td nowrap style="width:auto; vertical-align:middle; text-align:center;"><span style="display:none;">23 </span>23 dps [[image:icon_torpedoes.png|22px|Torpedo Damage]] 203 hp</td> | <td nowrap style="width:auto; vertical-align:middle; text-align:center;"><span style="display:none;">23 </span>23 dps [[image:icon_torpedoes.png|22px|Torpedo Damage]] 203 hp</td> | ||
<td nowrap style="width:auto; vertical-align:middle;"><span style="display:none;">2860 </span>2,860 ehp [[image:icon_hull.png|24px|Effective hit points]]</td></tr> | <td nowrap style="width:auto; vertical-align:middle;"><span style="display:none;">2860 </span>2,860 ehp [[image:icon_hull.png|24px|Effective hit points]]</td></tr> | ||
− | | | + | | End = <tr class="sortbottom"><td colspan="8" style="background:#222222;"><div style="text-align:left;"><small><references/></small></div></td></tr></table> |
− | | | + | | End2 = </table> |
}}<noinclude> | }}<noinclude> | ||
= Syntax = | = Syntax = |
Revision as of 14:43, 6 May 2013
Syntax
- {{whrats|parameter}}
A template to use in order to build a flexible table of certain sleeper rats only, without having to get all of them.
Opening and closing the table
- Start
- <Sleeper rat's name>
- End
The Start parameter is to open he table up, then close it with End. Then add whichever rats in question you want with additional calls, one for each rat you wish to have in the table.
Alternatively
You can also use Start2 and End2 for a simpler table without the references.
Example
The following:
{{whrats|Start}} {{whrats|Sleepless Safeguard}} {{whrats|Sleepless Sentinel}} {{whrats|Sleepless Upholder}} {{whrats|Sleepless Warden}} {{whrats|End}} |
Would result in this:
Name | Sig | Speed [1] | Orbit / Speed | Turrets | Launchers [2] | Effective HP | |
---|---|---|---|---|---|---|---|
400 m | 1,320 m/s | 165 m/s | 15 km1,232 hp | 246 dps4,200 hp | 233 dps164,868 ehp | ||
400 m | 1,125 m/s | 125 m/s | 19 km1,008 hp | 202 dps3,780 hp | 210 dps147,714 ehp | ||
400 m | 800 m/s | 100 m/s | 65 km1,904 hp | 381 dps840 hp | 47 dps56,400 ehp | ||
400 m | 1,305 m/s | 145 m/s | 55 km288 hp | 58 dps4,860 hp | 270 dps134,933 ehp | ||
|
And with the alternative:
{{whrats|Start2}} {{whrats|Awakened Sentinel}} {{whrats|Awakened Upholder}} {{whrats|Awakened Warden}} {{whrats|Awakened Watchman}} {{whrats|End2}} |
Would result in this: