Template:HuntingTableRow1 and Template:DropRow: Difference between pages

From Ephinea PSO Wiki
(Difference between pages)
(testing)
 
m (forgot to remove my test template lol!!!!!)
 
Line 1: Line 1:
|- {{#if:{{{divider|}}}|style="border-bottom: solid 3px #aaa;"}}
|- {{#if:{{{divider|}}}|style="border-bottom: solid 3px #aaa;"}}
{{#switch:{{{category}}}
{{#switch:{{{id}}}
| Government = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Government{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Government]]
  | Viridia = {{!}}title="Viridia" style="background-color: #00a663; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Viridia icon.png{{!}}x24px{{!}}Viridia{{!}}link=]]
| Side Story = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Side Story{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Side Story]]
  | Greenill = {{!}}title="Greenill" style="background-color: #7bff42; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Greenill icon.png{{!}}x24px{{!}}Greenill{{!}}link=]]
| Extermination = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Extermination{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Extermination]]
  | Skyly = {{!}}title="Skyly" style="background-color: #63f7ff; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Skyly icon.png{{!}}x24px{{!}}Skyly{{!}}link=]]
| Maximum Attack = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Maximum Attack{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Maximum Attack]]
  | Bluefull = {{!}}title="Bluefull" style="background-color: #428aff; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Bluefull icon.png{{!}}x24px{{!}}Bluefull{{!}}link=]]
| Retrieval = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Retrieval{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Retrieval]]
  | Purplenum = {{!}}title="Purplenum" style="background-color: #ce04ff; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Purplenum icon.png{{!}}x24px{{!}}Purplenum{{!}}link=]]
| Shop = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Shop{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Shop]]
  | Pinkal = {{!}}title="Pinkal" style="background-color: #ff8ac5; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Pinkal icon.png{{!}}x24px{{!}}Pinkal{{!}}link=]]
| Tower = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Tower{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Tower]]
  | Redria = {{!}}title="Redria" style="background-color: #ff1019; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Redria icon.png{{!}}x24px{{!}}Redria{{!}}link=]]
| VR = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#VR{{#switch:{{{ep}}}|2 = _2|4 = _3}}|VR]]
  | Oran = {{!}}title="Oran" style="background-color: #ff9219; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Oran icon.png{{!}}x24px{{!}}Oran{{!}}link=]]
| Solo Only = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Solo Only{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Solo Only]]
  | Yellowboze = {{!}}title="Yellowboze" style="background-color: #fffb19; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Yellowboze icon.png{{!}}x24px{{!}}Yellowboze{{!}}link=]]
| Event = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Event{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Event]]
  | Whitill = {{!}}title="Whitill" style="background-color: #ffffff; margin: auto;" rowspan="{{{idspan|1}}}"{{!}}[[File:Whitill icon.png{{!}}x24px{{!}}Whitill{{!}}link=]]
| Halloween = {{!}}rowspan="{{{catspan|1}}}" style="text-align:left"{{!}}{{PSO icon|Quest category}}[[Quests#Halloween{{#switch:{{{ep}}}|2 = _2|4 = _3}}|Halloween]]
  | All = {{!}}title="All" style="margin: auto;" rowspan="{{{idspan|1}}}"{{!}}All
}}
}}
|style="text-align:left"{{!}}{{Quest link|{{{quest}}}}}
{{#if:{{{diffspan|}}}|{{!}}rowspan="{{{diffspan}}}"}}{{#if:{{{diff|}}}|{{!}}{{{diff}}}}}{{#if:{{{areaspan|}}}|{{!}}rowspan="{{{areaspan}}}"}}{{#if:{{{area|}}}|{{!}}{{{area}}}}}
|{{#if:{{{detspan|}}}|{{!}}rowspan="{{{detspan}}}"}}{{{details}}}
|style="text-align:left;"|{{#if:{{{nolink|}}}|{{{1}}}|[[{{{1}}}]] <sub style="color:#FF6666;">{{#switch:{{{1}}}
|{{#if:{{{detspan|}}}|{{!}}rowspan="{{{detspan}}}"}}{{{count}}}
| Al Rappy
| Pal Rappy
| Hildeblue (E1)
| Hildetorr (E1)
| Nar Lily (E1)
| Mil Lily (E1)
| Pouilly Slime
| Love Rappy
| Egg Rappy
| Hallo Rappy
| St Rappy
| Hildeblue (E2)
| Hildetorr (E2)
| Nar Lily (E2)
| Mil Lily (E2)
| Del Rappy
| Pazuzu
| Dorphon Eclair
| Merissa AA
| Kondrieu = (Rare)}}</sub>}}
|{{{2}}}
<noinclude>
<noinclude>
==Usage and example==
==Usage==
<pre>{{HuntingTableRow|category=|catspan=|ep=|quest=|details=|detspan=|count=|countspan=|}}</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.
[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 20:05, 20 August 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.
  • diff and diffspan work identically to id and idspan, 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.