Difference between revisions of "Template:Npcwh"
From EVE University Wiki
Dama arishe (talk | contribs) m (Missed a few things.) |
Dama arishe (talk | contribs) m (Making parameters optional.) |
||
Line 52: | Line 52: | ||
| Orthrus | o | orth = <tr><td nowrap style="vertical-align:text-top; text-align:center;">{{npcimg|s}}</td><td nowrap style="vertical-align:text-top; text-align:left;">{{{n}}} Orthrus {{{t}}}</td><td nowrap style="vertical-align:text-top; text-align:center;"></td><td nowrap style="vertical-align:text-top; text-align:center;">50</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">10,000</td><td nowrap style="vertical-align:text-top; text-align:center;">11,000</td><td nowrap style="vertical-align:text-top; text-align:center;">40 / 40 / 40 / 40</td><td nowrap style="vertical-align:text-top; text-align:center;">5500</td><td nowrap style="vertical-align:text-top; text-align:center;">47 / 47</td><td nowrap style="vertical-align:text-top; text-align:center;">0 / 0</td></tr> | | Orthrus | o | orth = <tr><td nowrap style="vertical-align:text-top; text-align:center;">{{npcimg|s}}</td><td nowrap style="vertical-align:text-top; text-align:left;">{{{n}}} Orthrus {{{t}}}</td><td nowrap style="vertical-align:text-top; text-align:center;"></td><td nowrap style="vertical-align:text-top; text-align:center;">50</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">10,000</td><td nowrap style="vertical-align:text-top; text-align:center;">11,000</td><td nowrap style="vertical-align:text-top; text-align:center;">40 / 40 / 40 / 40</td><td nowrap style="vertical-align:text-top; text-align:center;">5500</td><td nowrap style="vertical-align:text-top; text-align:center;">47 / 47</td><td nowrap style="vertical-align:text-top; text-align:center;">0 / 0</td></tr> | ||
| Sirius | s | siri = <tr><td nowrap style="vertical-align:text-top; text-align:center;">{{npcimg|s}}</td><td nowrap style="vertical-align:text-top; text-align:left;">{{{n}}} Sirius {{{t}}}</td><td nowrap style="vertical-align:text-top; text-align:center;"></td><td nowrap style="vertical-align:text-top; text-align:center;">50</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">10,000</td><td nowrap style="vertical-align:text-top; text-align:center;">5,000</td><td nowrap style="vertical-align:text-top; text-align:center;">40 / 40 / 40 / 40</td><td nowrap style="vertical-align:text-top; text-align:center;">2500</td><td nowrap style="vertical-align:text-top; text-align:center;">26 / 26</td><td nowrap style="vertical-align:text-top; text-align:center;">0 / 0</td></tr> | | Sirius | s | siri = <tr><td nowrap style="vertical-align:text-top; text-align:center;">{{npcimg|s}}</td><td nowrap style="vertical-align:text-top; text-align:left;">{{{n}}} Sirius {{{t}}}</td><td nowrap style="vertical-align:text-top; text-align:center;"></td><td nowrap style="vertical-align:text-top; text-align:center;">50</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">0</td><td nowrap style="vertical-align:text-top; text-align:center;">250,000</td><td nowrap style="vertical-align:text-top; text-align:center;">10,000</td><td nowrap style="vertical-align:text-top; text-align:center;">5,000</td><td nowrap style="vertical-align:text-top; text-align:center;">40 / 40 / 40 / 40</td><td nowrap style="vertical-align:text-top; text-align:center;">2500</td><td nowrap style="vertical-align:text-top; text-align:center;">26 / 26</td><td nowrap style="vertical-align:text-top; text-align:center;">0 / 0</td></tr> | ||
− | | Wave = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">{{{w}}} {{{n}}}</span></td></tr> | + | | Wave = <tr><td colspan="15" style="text-align:center;" nowrap><span style="font-size:1.25em;line-height:1.5em;font-weight:bold;">{{#if: {{{w|}}} | {{{w}}} }} {{{n}}}</span></td></tr> |
| End = </table> | | End = </table> | ||
}} | }} |
Revision as of 13:44, 25 June 2014
This is a very simple conditional template test.
To use this template, simply use the following syntax:
- {{npcwh|Start}} - This begins the table and adds headers.
- {{npcwh|Wave|w=Wave|n=1}} - This specifies a Wave header. Whatever value you pass to w= goes into the header as the title. Whatever value you pass to n= goes into the header as the number. You can make Wave headers, Escalation headers, and Capital Escalation headers by calling {{npcwh|Wave}} * <nowiki>{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}} - Here we specify the name of the Sleeper, the number of sleepers, and that it will trigger a new wave.
- {{npcwh|Sleepless Upholder|n=3x|t=}} - Here we again specify the name of the Sleeper, the number, and we leave the trigger blank.
- {{npcwh|Emergent Keeper|n=4x|t=}} - Same as above.
- {{npcwh|End}} - This tells the table to stop.
You can also shorten the names like so:
- {{npcwh|swar|n=2x|t={{trigger}}}}
- {{npcwh|suph|n=3x|t=}}
- {{npcwh|skee|n=4x|t=}}
This takes the first letter of the first word (Sleepless/Awakened/Emergent) and adds the first three letters of the second word (Warden/Upholder/Keeper in the cases above).
Example Usage
Sleeper Ship Name | Effect(s) | Sig | Res | Speed | Attack | Orbit | Optimal | Falloff | Armor HP | Armor Resists | Hull HP | Turret DPS (EM/Therm) |
Missile DPS (Exp/Kin) |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Wave 1 | ||||||||||||||
Template:Npcimg | 2x Sleepless Warden | 400 | 140 | 1,305 | 255,000 | 55,000 | 170,000 | 85,000 | 35,200 | 70 / 70 / 70 / 70 | 17600 | 29 / 29 | 170 / 170 | |
Template:Npcimg | 3x Sleepless Upholder | 400 | 140 | 800 | 225,000 | 65,000 | 150,000 | 75,000 | 16,800 | 65 / 65 / 65 / 65 | 8400 | 191 / 191 | 30 / 30 | |
Template:Npcimg | 4x Emergent Keeper | 35 | 1,050 | 2,880 | 15,000 | 5,000 | 10,000 | 5,000 | 1,760 | 50 / 50 / 50 / 50 | 880 | 4 / 4 | 8 / 8 | |
Template:Npcimg | 16x Awakened Keeper | 150 | 360 | 2,115 | 105,000 | 30,000 | 70,000 | 35,000 | 7,700 | 50 / 50 / 50 / 50 | 3850 | 18 / 18 | 9 / 9 | |
Template:Npcimg | 2x Argos | 50 | 0 | 0 | 250,000 | 0 | 250,000 | 50,000 | 7,000 | 40 / 40 / 40 / 40 | 3500 | 37 / 37 | 0 / 0 | |
Capital Escalation 1 | ||||||||||||||
Template:Npcimg | 10x Sleepless Warden | 400 | 140 | 1,305 | 255,000 | 55,000 | 170,000 | 85,000 | 35,200 | 70 / 70 / 70 / 70 | 17600 | 29 / 29 | 170 / 170 |