Template:DropRow: Difference between revisions
From Ephinea PSO Wiki
No edit summary |
m (making this easier to read for myself to use) |
||
Line 40: | Line 40: | ||
==Usage== | ==Usage== | ||
<pre>{{DropRow|id=|idspan=|diff=|diffspan=|nolink=|enemy|drop rate}}</pre> | <pre>{{DropRow|id=|idspan=|diff=|diffspan=|nolink=|enemy|drop rate}}</pre> | ||
This template is used immediately after <code><nowiki>{{DropTableHead}}</nowiki></code>, <code><nowiki>{{BoxDropTableHead}}</nowiki></code>, or <code><nowiki>{{AreaDropTableHead}}</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>{{DropTableHead}}</nowiki></code>, <code><nowiki>{{BoxDropTableHead}}</nowiki></code>, or <code><nowiki>{{AreaDropTableHead}}</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> |
Latest revision as of 23:09, 28 February 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
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.
- If the ID only applies to the current row and none below it, don't bother specifying
diff
anddiffspan
work identically toid
andidspan
, but for difficulty instead of ID.- If any value for
nolink
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.