Template:DropRow: Difference between revisions
From Ephinea PSO Wiki
mNo edit summary |
m (forgot to remove my test template lol!!!!!) |
||
| (One intermediate revision by the same user not shown) | |||
| Line 13: | Line 13: | ||
| All = {{!}}title="All" style="margin: auto;" rowspan="{{{idspan|1}}}"{{!}}All | | All = {{!}}title="All" style="margin: auto;" rowspan="{{{idspan|1}}}"{{!}}All | ||
}} | }} | ||
{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}} | {{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}{{#if:{{{areaspan|}}}|{{!}}rowspan="{{{areaspan}}}"}}{{#if:{{{area|}}}|{{!}}{{{area}}}}} | ||
{{#if:{{{areaspan|}}}|{{!}}rowspan="{{{areaspan}}}"}}{{#if:{{{area|}}}|{{!}}{{{area}}}}} | |||
|style="text-align:left;"|{{#if:{{{nolink|}}}|{{{1}}}|[[{{{1}}}]] <sub style="color:#FF6666;">{{#switch:{{{1}}} | |style="text-align:left;"|{{#if:{{{nolink|}}}|{{{1}}}|[[{{{1}}}]] <sub style="color:#FF6666;">{{#switch:{{{1}}} | ||
| Al Rappy | | Al Rappy | ||
Latest revision as of 20:05, 20 August 2025
|-
|style="text-align:left;"|[[{{{1}}}]]
|{{{2}}}
Usage
{{DropRow|id=|idspan=|diff=|diffspan=|nolink=|enemy|drop rate}}
This template is used immediately after {{DropTableHead}}, {{BoxDropTableHead}}, or {{AreaDropTableHead}}, and its last use in a drop table must be followed by |} to end the drop table.
- The
idargument 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
idspanargument 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.
- If the ID only applies to the current row and none below it, don't bother specifying
diffanddiffspanwork identically toidandidspan, but for difficulty instead of ID.- If any value for
nolinkis 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.