More actions
No edit summary |
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)
- Description
- A template to use in order to build a flexible table of certain sleeper rats only, without having to get all of them.
- Syntax
- {{Whrats|<rowtype>|<number>|<option>|<logistics>}}
- Parameters
-
- rowtype
-
- Start
- table header for a sortable table with notes
- Start2
- table header, table not sortable and no notes
- Start3
- start of table with no table header
- <Sleeper rat's name>
- row with NPC information
- End, End2 and End 3
- closing the table. Combine with the "same" start parameter e.g. Start2 with End2.
- Usage
- Start<x>' - Open the table
- <Sleeper rat's name> (plus optional number of spawns and if it's a trigger or optional spawn
- Repeat <Sleeper rat's name> as required
- End<x> - Close table
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.
- Example
The following:
| {{whrats|Start}}
{{whrats|Sleepless Safeguard}} |
Would result in this:
| Spawns [1] | Icon | Name | Sig | Speed [2] | Orbit / Speed [3] | Turrets | Launchers | Effective HP |
|---|---|---|---|---|---|---|---|---|
| 15 km |
246 dps |
233 dps |
164,868 ehp | |||||
| 19 km |
202 dps |
210 dps |
147,714 ehp | |||||
| 65 km |
381 dps |
47 dps |
56,400 ehp | |||||
Sleepless Warden |
55 km |
58 dps |
270 dps |
134,933 ehp | ||||
| ||||||||
And with the alternative:
| {{whrats|Start2}}
{{whrats|Awakened Sentinel}} |
Would result in this: