Template:DropRow: Difference between revisions
From Ephinea PSO Wiki
m (...) |
m (no links on images) |
||
Line 1: | Line 1: | ||
|- {{#if:{{{divider|}}}|style="border-bottom: solid 3px #aaa;"}} | |- {{#if:{{{divider|}}}|style="border-bottom: solid 3px #aaa;"}} | ||
{{#switch:{{{id}}} | {{#switch:{{{id}}} | ||
| Viridia = {{!}}style="background-color: #00a060;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia]] | | Viridia = {{!}}style="background-color: #00a060;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia{{!}}link=]] | ||
| Greenill = {{!}}style="background-color: #70f040;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill]] | | Greenill = {{!}}style="background-color: #70f040;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill{{!}}link=]] | ||
| Skyly = {{!}}style="background-color: #60f0f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}Skyly]] | | Skyly = {{!}}style="background-color: #60f0f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}Skyly{{!}}link=]] | ||
| Bluefull = {{!}}style="background-color: #4080f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}Bluefull]] | | Bluefull = {{!}}style="background-color: #4080f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}Bluefull{{!}}link=]] | ||
| Purplenum = {{!}}style="background-color: #c000f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}Purplenum]] | | Purplenum = {{!}}style="background-color: #c000f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}Purplenum{{!}}link=]] | ||
| Pinkal = {{!}}style="background-color: #f080c0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}Pinkal]] | | Pinkal = {{!}}style="background-color: #f080c0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}Pinkal{{!}}link=]] | ||
| Redria = {{!}}style="background-color: #f01010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}Redria]] | | Redria = {{!}}style="background-color: #f01010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}Redria{{!}}link=]] | ||
| Oran = {{!}}style="background-color: #f08010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}Oran]] | | Oran = {{!}}style="background-color: #f08010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}Oran{{!}}link=]] | ||
| 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{{!}}link=]] | ||
| 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{{!}}link=]] | ||
| All = {{!}}rowspan="{{{idspan|1}}}"{{!}}All | | All = {{!}}rowspan="{{{idspan|1}}}"{{!}}All | ||
}} | }} |
Revision as of 03:56, 19 September 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.