Template:Drop/Article/doc: Difference between revisions
< Template:Drop | Article
(Created page with "<noinclude>{{Documentation subpage}}</noinclude> <templatedata> { "params": { "tickets": { "label": { "en-ca": "Tickets" }, "description": { "en-ca": "The number of tickets allocated for the item." }, "example": { "en-ca": "100000" }, "type": "number", "required": true }, "name": { "label": { "en-ca": "Item Name" }, "description": { "en-ca": "The name of the item. Not stored in Cargo. If omitted, the template w...") |
No edit summary |
||
Line 53: | Line 53: | ||
} | } | ||
</templatedata> | </templatedata> | ||
== Examples == | |||
=== No name provided === | |||
<pre>{{Drop/Article | |||
|table label=Clear Box | |||
|tickets=160 | |||
}}</pre> | |||
{{Drop/Article | |||
|table label=Clear Box | |||
|tickets=160 | |||
}} | |||
===Flamberge/U+, no link=== | |||
<pre>{{Drop/Article | |||
|table label=Clear Box | |||
|tickets=160 | |||
|name=Flamberge/U+ | |||
}}</pre> | |||
{{Drop/Article | |||
|source=Unsafe Passage (Ultimate) | |||
|item id=01017F03 | |||
|table label=Clear Box | |||
|tickets=160 | |||
|name=Flamberge/U+ | |||
}} | |||
===Flamberge/U+, link to Swords=== | |||
<pre>{{Drop/Article | |||
|table label=Clear Box | |||
|tickets=160 | |||
|name=Flamberge/U+ | |||
|link=Swords | |||
}}</pre> | |||
{{Drop/Article | |||
|source=Unsafe Passage (Ultimate) | |||
|item id=01017F03 | |||
|table label=Clear Box | |||
|tickets=160 | |||
|name=Flamberge/U+ | |||
|link=Swords | |||
}} | |||
== Notes == | == Notes == | ||
* Called by [[Template:Drop]]. | * Called by [[Template:Drop]]. | ||
* Calls [[Template:Drop Rate]] for rendering the drop rate. | |||
* If a name is provided, the template will render the relevant strings. Otherwise, it will render nothing. | * If a name is provided, the template will render the relevant strings. Otherwise, it will render nothing. | ||
* All links will default to the item name. | * All links will default to the item name. |
Revision as of 17:12, 6 July 2025
Template used for displaying drops on mission pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
tickets | tickets | no description | Number | required |
name | name | no description | String | required |
link | link | no description | Page name | suggested |
Examples
No name provided
{{Drop/Article |table label=Clear Box |tickets=160 }}
Flamberge/U+, no link
{{Drop/Article |table label=Clear Box |tickets=160 |name=Flamberge/U+ }}
Flamberge/U+
1/625
Flamberge/U+, link to Swords
{{Drop/Article |table label=Clear Box |tickets=160 |name=Flamberge/U+ |link=Swords }}
Flamberge/U+
1/625
Notes
- Called by Template:Drop.
- Calls Template:Drop Rate for rendering the drop rate.
- If a name is provided, the template will render the relevant strings. Otherwise, it will render nothing.
- All links will default to the item name.