Template:LegendaryEffect/doc
Appearance
This is the documentation subpage for Template:LegendaryEffect. It holds usage notes, parameters and examples, and is transcluded onto the template page itself. Edit the documentation here; edit the template's code on the template page.
One row of the catalogue table on Legendary Effects. It is used on that page and nowhere else.
Each row carries an HTML anchor made from the effect name, which is how an item page links straight to it: [[Legendary Effects#Stormcall|Stormcall]]. Renaming an effect breaks every one of those links, so search for the old anchor before you change a name.
- Keep the rows in alphabetical order by name. The table is sortable, but the wikitext being ordered is what makes it reviewable.
triggeruses the game's own trigger wording — On cast, On critical strike, On heavy hit, On hit, On enemy kill, On helping an ally, On sustained hits. Several triggers go in one cell, comma-separated.descriptionis one sentence in the present tense, describing what the player sees. No numbers you cannot verify, and no chance percentages beyond what the game's own text states.itemsis a list of{{ItemLink}}
calls separated by <br>, each with the item's base rarity. Only gear that can actually roll the effect belongs there.
idis the internal ability id. Keep it when you know it — it is what lets the catalogue be checked against the game.
One legendary effect row in the catalogue.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Effect name | name | no description | String | required |
| Internal ability id | id | e.g. legendary_mini_minigun — keeps rows matchable to game data | String | suggested |
| Trigger | trigger | On cast / On critical strike / On heavy hit / On enemy kill / On hit / On helping an ally / On sustained hits | String | required |
| What it does | description | no description | Content | required |
| Items that can roll it | items | ItemLink list separated by <br> | Content | optional |