More actions
Dama arishe (talk | contribs) m Changed the examples to match. Added some formatting. |
Dama arishe (talk | contribs) |
||
| 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== | ||