Editing Template:CommonDropRow
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}}} | |||
| Viridia = {{!}}title="Viridia" style="background-color: #00a663;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia{{!}}link=]] | | 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=]] | | Greenill = {{!}}title="Greenill" style="background-color: #7bff42;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill{{!}}link=]] | ||
Line 12: | Line 12: | ||
| Whitill = {{!}}title="Whitill" style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill{{!}}link=]] | | Whitill = {{!}}title="Whitill" style="background-color: #ffffff;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill{{!}}link=]] | ||
| All = {{!}}title="All" rowspan="{{{idspan|1}}}"{{!}}All | | All = {{!}}title="All" rowspan="{{{idspan|1}}}"{{!}}All | ||
}} | |||
{{#if:{{{diffskip|}}}||{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}}} | {{#if:{{{diffskip|}}}||{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}}} | ||
{{#if:{{{areaspan|}}}|{{!}}rowspan="{{{areaspan}}}"}}{{#if:{{{area|}}}|{{!}}{{{area}}}}} | {{#if:{{{areaskip|}}}||{{#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 | ||
Line 36: | Line 36: | ||
| Merissa AA | | Merissa AA | ||
| Kondrieu = (Rare)}}</sub>}} | | Kondrieu = (Rare)}}</sub>}} | ||
|{{CommonDropRate|{{ | |{{CommonDropRate|{{{1|{{PAGENAME}}}}}|{{{1}}}|{{{diff}}}|{{{id}}}}} | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
<pre>{{CommonDropRow|id=|idspan=|diff=|diffspan=|area=|areaspan=|nolink=|enemy| | <pre>{{CommonDropRow|id=|idspan=|diff=|diffspan=|area=|areaspan=|nolink=|enemy|drop rate}}</pre> | ||
This template is used immediately after <code><nowiki>{{CommonDropTableHead}}</nowiki></code>, and its last use in a drop table ''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>, but for difficulty instead of ID. If ''any'' value for <code>nolink</code> 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. | This template is used immediately after <code><nowiki>{{CommonDropTableHead}}</nowiki></code>, and its last use in a drop table ''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>, but for difficulty instead of ID. If ''any'' value for <code>nolink</code> 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. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |