More actions
mNo edit summary |
m Change background color to design-token. |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
This is a 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. | This is a 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== | == Syntax == | ||
To use this template, simply use the following syntax: | To use this template, simply use the following syntax: | ||
{| class="wikitable | {| class="wikitable" | ||
|- | |- style="background: var(--background-color-warning-subtle);" | ||
! style="min-width: 21em;" | Code | |||
! style=" | ! Explanation | ||
|- | |- | ||
| <nowiki>{{npcwh|start}}</nowiki> | | <nowiki>{{npcwh|start}}</nowiki> | ||
| Line 23: | Line 21: | ||
|} | |} | ||
==Shortened Syntax== | == Shortened Syntax == | ||
You can use short names for convenience: | You can use short names for convenience: | ||
* <nowiki>{{npcwh|swar|2x|{{trigger}}}}</nowiki> | * <nowiki>{{npcwh|swar|2x|{{trigger}}}}</nowiki> | ||
* <nowiki>{{npcwh|suph|3x}}</nowiki> | * <nowiki>{{npcwh|suph|3x}}</nowiki> | ||
* <nowiki>{{npcwh|skee|4x}}</nowiki> | * <nowiki>{{npcwh|skee|4x}}</nowiki> | ||
The short name takes the first letter of the first word ( | The short name takes the first letter of the first word (e.g. "Sleepless" becomes "s") and adds the first three letters of the second word (e.g. "Warden" becomes "war"). | ||
== No Headers == | |||
Alternatively you can start a table with no headers: | Alternatively you can start a table with no headers: | ||
* <nowiki>{{npcwh|start2}}</nowiki> | * <nowiki>{{npcwh|start2}}</nowiki> | ||
==Example Usage== | == Example Usage == | ||
==Headers== | == Headers == | ||
{{npcwh|start}} | {{npcwh|start}} | ||
{{npcwh|wave|Wave|1}} | {{npcwh|wave|Wave|1}} | ||
{{npcwh|swar|2x| | {{npcwh|swar|2x|{{trigger}}}} | ||
{{npcwh|suph|3x}} | {{npcwh|suph|3x}} | ||
{{npcwh|ekee|4x}} | {{npcwh|ekee|4x}} | ||
| Line 48: | Line 45: | ||
{{npcwh|end}} | {{npcwh|end}} | ||
==No Headers== | == No Headers == | ||
{{npcwh|start2}} | {{npcwh|start2}} | ||
{{npcwh|suph}} | {{npcwh|suph}} | ||
| Line 54: | Line 51: | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Formatting templates]] | ||
</includeonly> | </includeonly> | ||