Editing Template:DropRow
From Ephinea PSO Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
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 = {{!}}title="Viridia" style="background-color: # | | Viridia = {{!}}title="Viridia" style="background-color: #00a060;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}link=]] | ||
| Greenill = {{!}}title="Greenill" style="background-color: # | | Greenill = {{!}}title="Greenill" style="background-color: #70f040;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}link=]] | ||
| Skyly = {{!}}title="Skyly" style="background-color: # | | Skyly = {{!}}title="Skyly" style="background-color: #60f0f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}link=]] | ||
| Bluefull = {{!}}title="Bluefull" style="background-color: # | | Bluefull = {{!}}title="Bluefull" style="background-color: #4080f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}link=]] | ||
| Purplenum = {{!}}title="Purplenum" style="background-color: # | | Purplenum = {{!}}title="Purplenum" style="background-color: #c000f0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}link=]] | ||
| Pinkal = {{!}}title="Pinkal" style="background-color: # | | Pinkal = {{!}}title="Pinkal" style="background-color: #f080c0;" rowspan="{{{idspan|1}}}"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}link=]] | ||
| Redria = {{!}}title="Redria" style="background-color: # | | Redria = {{!}}title="Redria" style="background-color: #f01010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}link=]] | ||
| Oran = {{!}}title="Oran" style="background-color: # | | Oran = {{!}}title="Oran" style="background-color: #f08010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}link=]] | ||
| Yellowboze = {{!}}title="Yellowboze" style="background-color: # | | Yellowboze = {{!}}title="Yellowboze" style="background-color: #f0f010;" rowspan="{{{idspan|1}}}"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}link=]] | ||
| Whitill = {{!}}title="Whitill" style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px | | Whitill = {{!}}title="Whitill" style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}link=]] | ||
| All = {{!}}title="All" rowspan="{{{idspan|1}}}"{{!}}All | | All = {{!}}title="All" rowspan="{{{idspan|1}}}"{{!}}All | ||
}} | }} | ||
{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}} | {{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}} | ||
|{{{1}}} | |||
|{{{2}}} | |{{{2}}} | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{DropRow|id=|idspan=|diff=|diffspan | <pre>{{DropRow|id=|idspan=|diff=|diffspan=|enemy|drop rate}}</pre> | ||
This template | This template comes after uses of <code><nowiki>{{DropTableHead}}</nowiki></code>, and its last use in a page ''must'' be followed by <code>|}</code> to end the drop table. The <code>id</code> 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 <code>idspan</code> 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 <code>idspan</code> - its value is 1 if you leave it blank. <code>diff</code> and <code>diffspan</code> work identically to <code>id</code> and <code>idspan</code>. The last two arguments, in order, are the enemy (or box) that drops the item and the rate the item drops at. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |