Difference between revisions of "Template:Npcwh"
Dama arishe (talk | contribs) m (Changed the examples to match. Added some formatting.) |
Dama arishe (talk | contribs) (→Syntax) |
||
Line 1,078: | Line 1,078: | ||
To use this template, simply use the following syntax: | To use this template, simply use the following syntax: | ||
− | + | {| class="wikitable" style="font-size:90%;" | |
− | + | |- | |
− | + | ! style="background:#222222;width:300px" | Code | |
− | + | ! style="background:#222222;" | Explanation | |
+ | |- | ||
+ | | <nowiki>{{npcwh|start}}</nowiki> | ||
+ | | This begins the table and adds headers. | ||
+ | |- | ||
+ | | <nowiki>{{npcwh|wave|w=Wave|n=1}}</nowiki> | ||
+ | | This specifies a Wave header. Whatever value you pass to <tt>w=</tt> goes into the header as the title. Whatever value you pass to <tt>n=</tt> goes into the header as the number. You can make Wave headers, Escalation headers, and Capital Escalation with this. | ||
+ | You must pass something as <tt>w=</tt>, however <tt>n=</tt> is optional. If you specify neither, you'll simply be inserting an empty row. | ||
+ | |- | ||
+ | | <nowiki>{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}}</nowiki> | ||
+ | | Here we specify the NPC's name, number, and trigger status. | ||
+ | The NPC name and number (<tt>n=</tt>) are required, but the trigger (<tt>t=</tt>) is not. | ||
+ | |} | ||
+ | * ''' - | ||
** The NPC name and number (<tt>n=</tt>) are required, but the trigger (<tt>t=</tt>) is not. | ** The NPC name and number (<tt>n=</tt>) are required, but the trigger (<tt>t=</tt>) is not. | ||
* ''<nowiki>{{npcwh|Sleepless Upholder|n=3x}}</nowiki>'' - Here we specify the NPC name and number but omit the trigger (<tt>t=</tt>) entirely. | * ''<nowiki>{{npcwh|Sleepless Upholder|n=3x}}</nowiki>'' - Here we specify the NPC name and number but omit the trigger (<tt>t=</tt>) entirely. | ||
Line 1,090: | Line 1,103: | ||
* <nowiki>{{npcwh|suph|n=3x}}</nowiki> | * <nowiki>{{npcwh|suph|n=3x}}</nowiki> | ||
* <nowiki>{{npcwh|skee|n=4x}}</nowiki> | * <nowiki>{{npcwh|skee|n=4x}}</nowiki> | ||
− | The short name takes the first letter of the first word (eg. "Sleepless" becomes "s") and adds the first three letters of the second word (eg. "Warden" becomes "war"). | + | The short name takes the first letter of the first word (eg. "Sleepless" becomes "s") and adds the first three letters of the second word (eg. "Warden" becomes "war"). |
==Example Usage== | ==Example Usage== |
Revision as of 17:55, 26 June 2014
This is a simple (?) template to add Wormhole NPCs to any page anywhere. This might be helpful for a Wormhole Site Running Page, for instance, or for a page explaining exactly what sleepers are and how to deal with them.
Syntax
To use this template, simply use the following syntax:
Code | Explanation |
---|---|
{{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 with this.
You must pass something as w=, however n= is optional. If you specify neither, you'll simply be inserting an empty row. |
{{npcwh|Sleepless Warden|n=2x|t={{trigger}}}} | Here we specify the NPC's name, number, and trigger status.
The NPC name and number (n=) are required, but the trigger (t=) is not. |
- -
- The NPC name and number (n=) are required, but the trigger (t=) is not.
- {{npcwh|Sleepless Upholder|n=3x}} - Here we specify the NPC name and number but omit the trigger (t=) entirely.
- {{npcwh|end}} - This tells the table to stop.
You can use short names for convenience:
- {{npcwh|swar|n=2x|t={{trigger}}}}
- {{npcwh|suph|n=3x}}
- {{npcwh|skee|n=4x}}
The short name takes the first letter of the first word (eg. "Sleepless" becomes "s") and adds the first three letters of the second word (eg. "Warden" becomes "war").
Example Usage
Sleeper Ship Name | Effect(s) | Sig | Speed | Attack | Orbit | DPS/Volley | DPS/Volley | EHP | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Wave 1 | ||||||||||||||
400 |
1,305 m/s |
255 km |
55 km 145 m/s |
134,933 |
||||||||||
3x Sleepless Upholder |
400 |
800 m/s |
225 km |
65 km 100 m/s |
56,400 |
|||||||||
4x Emergent Keeper |
35 |
2,880 m/s |
15 km |
5 km 320 m/s |
4,400 |
|||||||||
16x Awakened Keeper |
150 |
2,115 m/s |
105 km |
30 km 235 m/s |
19,250 |
|||||||||
2x Argos |
50 |
0 m/s |
250 km |
0 km 0 m/s |
15,167 |
|||||||||
Capital Escalation 1 | ||||||||||||||
10x Sleepless Warden |
400 |
1,305 m/s |
255 km |
55 km 145 m/s |
134,933 |