Difference between revisions of "Template:Whrats"
From EVE University Wiki
(Moved documentation to Template:Whrats/doc) |
|||
Line 1: | Line 1: | ||
− | {{#switch: {{{1|}}} | + | <includeonly>{{#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">Spawns<small> <ref>Shows the number of spawns of this typ as well as if the target is a trigger (red x) or an optional spawn (yellow circle).</ref></small></th><th nowrap style="background:#222222;" data-sort-type="number">Icon</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<small> <ref>This is the preferred orbit they will try to keep and the orbital speed they will have once they reach their preferred orbit.</ref></small></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> | | 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">Spawns<small> <ref>Shows the number of spawns of this typ as well as if the target is a trigger (red x) or an optional spawn (yellow circle).</ref></small></th><th nowrap style="background:#222222;" data-sort-type="number">Icon</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<small> <ref>This is the preferred orbit they will try to keep and the orbital speed they will have once they reach their preferred orbit.</ref></small></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> | ||
| Start2 = <table class="wikitable" 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">Spawns</th><th nowrap style="background:#222222;" data-sort-type="number">Icon</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> | | Start2 = <table class="wikitable" 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">Spawns</th><th nowrap style="background:#222222;" data-sort-type="number">Icon</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> | ||
Line 302: | Line 302: | ||
| End = <tr class="sortbottom"><td colspan="9" style="background:#222222;"><div style="text-align:left;"><small><references/></small></div></td></tr></table> | | End = <tr class="sortbottom"><td colspan="9" style="background:#222222;"><div style="text-align:left;"><small><references/></small></div></td></tr></table> | ||
| End2 = </table> | | End2 = </table> | ||
− | }} | + | }}</includeonly><noinclude> |
− | + | {{documentation}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
</noinclude> | </noinclude> |
Revision as of 20:29, 22 April 2017
Template documentation (for the above template, sometimes hidden or invisible)
Syntax
- {{whrats|parameter|parameter2|parameter3}}
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> (plus optional number of spawns, parameter2, and if it's a trigger or optional spawn, parameter3)
- 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 and sorting abilities.
Example
The following:
{{whrats|Start}} {{whrats|Sleepless Safeguard}} {{whrats|Sleepless Sentinel|3}} {{whrats|Sleepless Upholder||t}} {{whrats|Sleepless Warden|2|o}} {{whrats|End}} |
Would result in this:
Spawns [1] | Icon | Name | Sig | Speed [2] | Orbit / Speed [3] | Turrets | Launchers | Effective HP |
---|---|---|---|---|---|---|---|---|
1 | 400 m | 1,320 m/s | 165 m/s | 15 km1,232 hp | 246 dps4,200 hp | 233 dps164,868 ehp | ||
3 | 400 m | 1,125 m/s | 125 m/s | 19 km1,008 hp | 202 dps3,780 hp | 210 dps147,714 ehp | ||
1 | 400 m | 800 m/s | 100 m/s | 65 km1,904 hp | 381 dps840 hp | 47 dps56,400 ehp | ||
2 | Sleepless Warden |
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|Argos}} {{whrats|Orthrus}} {{whrats|Sirius}} {{whrats|End2}} |
Would result in this: