Template:CommonDropRow: Difference between revisions
(Created page with "|- {{#if:{{{divider|}}}|style="border-bottom: solid 3px #aaa;"}} {{#switch:{{{id}}} | Viridia = {{!}}title="Viridia" style="background-color: #00a663;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia{{!}}link=]] | Greenill = {{!}}title="Greenill" style="background-color: #7bff42;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill{{!}}link=]] | Skyly = {{!}}title="Skyly" style="background-color: #63f7ff;" rowspan...") |
mNo edit summary |
||
Line 36: | Line 36: | ||
| Merissa AA | | Merissa AA | ||
| Kondrieu = (Rare)}}</sub>}} | | Kondrieu = (Rare)}}</sub>}} | ||
|{{CommonDropRate|{{PAGENAME}}|{{{1}}}|{{{diff}}}|{{{id}}}}} | |{{CommonDropRate|{{{1|{{PAGENAME}}}}}|{{{1}}}|{{{diff}}}|{{{id}}}}} | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== |
Revision as of 10:13, 25 November 2023
|-
|style="text-align:left;"|[[{{{1}}}]] |1/inf
Usage
{{CommonDropRow|id=|idspan=|diff=|diffspan=|area=|areaspan=|nolink=|enemy|drop rate}}
This template is used immediately after {{CommonDropTableHead}}
, and its last use in a drop table must be followed by |}
to end the drop table. The id
argument is the section ID for the row - don't specify this if you're making a row whose section ID is spanned by another row. The idspan
argument determines how many rows the ID you select will extend for - again, don't specify this if you're making a spanned row. If the ID only applies to the current row and none below it, don't bother specifying idspan
- its value is 1 if you leave it blank. diff
and diffspan
work identically to id
and idspan
, but for difficulty instead of ID. If any value for nolink
is specified, the row will display the enemy/area name in plain text, not as a link. The last two arguments, in order, are the enemy (or box) that drops the item and the rate the item drops at.