Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Npcwh: Difference between revisions

Template page
m Changed named parameters to unnamed.
Line 1,086: Line 1,086:
| This begins the table and adds headers.
| This begins the table and adds headers.
|-
|-
| <nowiki>{{npcwh|wave|w=Wave|n=1}}</nowiki>
| <nowiki>{{npcwh|wave|Wave 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.
| Inserts a wave header. Whatever you pass as the second parameter ends up in the title.
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>
| <nowiki>{{npcwh|Sleepless Warden|2x|{{trigger}}}}</nowiki>
| Here we specify the NPC's name, number, and trigger status.
| Here we specify the NPC's name, number, and trigger status. Passing <nowiki>{{trigger}}</nowiki> inserts a red "x" after the name.  
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|end}}</nowiki>
|<nowiki>{{npcwh|end}}</nowiki>