Jump to content

Template:Loot: Difference between revisions

From Project Arise Wiki
[checked revision][checked revision]
Content deleted Content added
Templates for items, creatures and loot
 
Templates for the drop import
 
Line 1: Line 1:
|-
|-
| [[{{{1}}}]] || {{{2|}}} || {{{3|}}} || {{{4|}}}<noinclude>
| {{#if:{{{link|}}}|{{{1}}}|[[{{{1}}}]]}} || {{{2|}}} || {{{3|}}} || {{{4|}}}<noinclude>
One row of a [[Template:Loot table]]: <code><nowiki>{{Loot|item|chance|amount|notes}}</nowiki></code>
One row of a [[Template:Loot table]]: <code><nowiki>{{Loot|item|chance|amount|notes}}</nowiki></code>. <code>link=no</code> shows the item name without a link.
<templatedata>
<templatedata>
{ "description": "One drop in a Loot table.", "params": {
{ "description": "One drop in a Loot table.", "params": {
Line 7: Line 7:
"2": { "label": "Chance", "example": "often, rare, 3 of 40 kills", "type": "string", "suggested": true },
"2": { "label": "Chance", "example": "often, rare, 3 of 40 kills", "type": "string", "suggested": true },
"3": { "label": "Amount", "example": "1-2", "type": "string", "suggested": true },
"3": { "label": "Amount", "example": "1-2", "type": "string", "suggested": true },
"4": { "label": "Notes", "type": "string" } }, "format": "inline" }
"4": { "label": "Notes", "type": "string" },
"link": { "label": "No link", "description": "Anything here: show the item name as plain text.", "type": "string" } }, "format": "inline" }
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 18:10, 16 November 2026

|- | [[{{{1}}}]] || || || One row of a Template:Loot table: {{Loot|item|chance|amount|notes}}. link=no shows the item name without a link.

One drop in a Loot table.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Item1

Item page name.

Page namerequired
Chance2

no description

Example
often, rare, 3 of 40 kills
Stringsuggested
Amount3

no description

Example
1-2
Stringsuggested
Notes4

no description

Stringoptional
No linklink

Anything here: show the item name as plain text.

Stringoptional