|
|
| Line 1,075: |
Line 1,075: |
| | End | end = </table> | | | End | end = </table> |
| }}<noinclude> | | }}<noinclude> |
| 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.
| | {{documentation}} |
| | |
| ==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|Wave 1}}</nowiki>
| |
| | Inserts a wave header. Whatever you pass as the second parameter ends up in the title.
| |
| |-
| |
| | <nowiki>{{npcwh|Sleepless Warden|2x|{{trigger}}}}</nowiki>
| |
| | Here we specify the NPC's name, number, and trigger status. Passing <nowiki>{{trigger}}</nowiki> inserts a red "x" after the name.
| |
| |-
| |
| |<nowiki>{{npcwh|end}}</nowiki>
| |
| |This tells the table to stop.
| |
| |}
| |
| | |
| ==Shortened Syntax==
| |
| You can use short names for convenience:
| |
| * <nowiki>{{npcwh|swar|2x|{{trigger}}}}</nowiki>
| |
| * <nowiki>{{npcwh|suph|3x}}</nowiki>
| |
| * <nowiki>{{npcwh|skee|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").
| |
| | |
| ==No Headers==
| |
| | |
| Alternatively you can start a table with no headers:
| |
| * <nowiki>{{npcwh|start2}}</nowiki>
| |
| | |
| ==Example Usage==
| |
| ==Headers==
| |
| {{npcwh|start}}
| |
| {{npcwh|wave|Wave|1}}
| |
| {{npcwh|swar|2x|t={{trigger}}}}
| |
| {{npcwh|suph|3x}}
| |
| {{npcwh|ekee|4x}}
| |
| {{npcwh|akee|16x}}
| |
| {{npcwh|argo|2x}}
| |
| {{npcwh|wave|Capital Escalation|1}}
| |
| {{npcwh|swar|10x}}
| |
| {{npcwh|end}}
| |
| | |
| ==No Headers==
| |
| {{npcwh|start2}}
| |
| {{npcwh|suph}}
| |
| {{npcwh|end}}
| |
| | |
| </noinclude> | | </noinclude> |