Template:DropRow: Difference between revisions

From Ephinea PSO Wiki
m (reverting...)
m (adding working all)
Line 11: Line 11:
   | Yellowboze = {{!}}style="background-color: #f0f010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}Yellowboze]]
   | Yellowboze = {{!}}style="background-color: #f0f010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}Yellowboze]]
   | Whitill = {{!}}style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill]]
   | Whitill = {{!}}style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill]]
  | All = {{!}}All
}}
}}
{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}
{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}

Revision as of 04:41, 15 July 2017

|-


|{{{1}}} |{{{2}}}

Usage

{{DropRow|id=|idspan=|diff=|diffspan=|enemy|drop rate}}

This template comes after uses of {{DropTableHead}}, and its last use in a page 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. The last two arguments, in order, are the enemy (or box) that drops the item and the rate the item drops at.