Template:Drop/Article/doc: Difference between revisions

From Phantasy Star Universe Clementine
(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

This is a documentation subpage for the Template:Drop/Article page.

Template used for displaying drops on mission pages.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ticketstickets

no description

Numberrequired
namename

no description

Stringrequired
linklink

no description

Page namesuggested

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.