Template:TeraRaidInfo/Drop: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (make it clear.)
m (move to doc)
Line 1: Line 1:
<includeonly>
|-
|-
| width=50% style="text-align:center; white-space:nowrap" | [[File:Bag {{#if:{{{TMtype|}}}|TM {{{TMtype|}}}|{{#ifeq:{{{item|}}}|Tera Shard|Normal}} {{{item}}}}} SV Sprite.png|20px]] {{#ifeq:{{{item|}}}|Tera Shard|Corresponding}} [[{{#switch:{{{item|}}}|TM Material=TM Material{{!}}{{{TMmat}}}|Mint Attack|Mint Defense|Mint Sp. Atk|Mint Sp. Def|Mint Speed={{{mint}}}|{{{item}}}}}]]&nbsp;×{{{amount|1}}}
| width=50% style="text-align:center; white-space:nowrap" | [[File:Bag {{#if:{{{TMtype|}}}|TM {{{TMtype|}}}|{{#ifeq:{{{item|}}}|Tera Shard|Normal}} {{{item}}}}} SV Sprite.png|20px]] {{#ifeq:{{{item|}}}|Tera Shard|Corresponding}} [[{{#switch:{{{item|}}}|TM Material=TM Material{{!}}{{{TMmat}}}|Mint Attack|Mint Defense|Mint Sp. Atk|Mint Sp. Def|Mint Speed={{{mint}}}|{{{item}}}}}]]&nbsp;×{{{amount|1}}}
| width=50% style="text-align:center; white-space:nowrap" | {{#switch:{{{fixed|}}}|Host|Guests={{{fixed}}}|First=First time only|Everyone=All participants|{{{droprate|1}}}%}}</includeonly><noinclude>
| width=50% style="text-align:center; white-space:nowrap" | {{#switch:{{{fixed|}}}|Host|Guests={{{fixed}}}|First=First time only|Everyone=All participants|{{{droprate|1}}}%}}<noinclude>{{documentation}}[[Category:Link templates]]</noinclude>
This template is to be used inside calls of [[Template:TeraRaidInfo]], to display item drops from [[Tera Raid Battle]]s.
 
==Template fields==
* '''item''' - The name of the item. This will be used to call the image file.
** If the name is "Tera Shard", displays a note that the shard matches the raid's type.
** If the item is a [[TM Material]], write "TM Material" here and write the item's name in the TMmat field below.
** If the item is a TM, write the TM move's type in the TMtype field below.
** If the item is a Mint (other than the [[Serious Mint]]), write "Mint <nowiki>[Stat]</nowiki>" here, specifying the stat raised (for example, "Mint Attack" or "Mint Sp. Def").
* '''amount''' - The amount of the item dropped. Defaults to 1.
* '''droprate''' - The chance that the item will drop (do not include the % sign). Defaults to 1.
** '''fixed''' (optional)  - If the drop is fixed, specify who the drop is given to: Host, Guests, Everyone, or First (for Event Raids only).
* '''TMmat''' (optional) - If the item is a TM Material, write its name here.
* '''TMtype''' (optional) - If the item is a TM, write its move's type here.
* '''mint''' (optional) - If the item is a Mint (other than the [[Serious Mint]]), write its name here.
 
==Examples==
 
===Fixed drops===
<pre>
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}}
|}
</pre>
 
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}}
|}
 
===Random drops===
<pre>
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|droprate=5}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|droprate=1}}
|}
</pre>
 
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|droprate=5}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|droprate=1}}
|}
 
===Tera Shard===
<pre>
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}}
|}
</pre>
 
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}}
|}
 
===TM Materials===
<pre>
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}}
|}
</pre>
 
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}}
|}
 
===Mints===
<pre>
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|fixed=Everyone}}
|}
</pre>
 
{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|fixed=Everyone}}
|}
 
[[Category:Link templates]]</noinclude>

Revision as of 22:42, 8 December 2023

|- | width=50% style="text-align:center; white-space:nowrap" | [[File:Bag {{{item}}} SV Sprite.png|20px]] [[{{{item}}}]] ×1 | width=50% style="text-align:center; white-space:nowrap" | 1%


Template documentation
Note: portions of the template sample may not be visible without values provided.
View or edit this documentation. (About template documentation)

This template is to be used inside calls of Template:TeraRaidInfo, to display item drops from Tera Raid Battles.

Template fields

  • item - The name of the item. This will be used to call the image file.
    • If the name is "Tera Shard", displays a note that the shard matches the raid's type.
    • If the item is a TM Material, write "TM Material" here and write the item's name in the TMmat field below.
    • If the item is a TM, write the TM move's type in the TMtype field below.
    • If the item is a Mint (other than the Serious Mint), write "Mint [Stat]" here, specifying the stat raised (for example, "Mint Attack" or "Mint Sp. Def").
  • amount - The amount of the item dropped. Defaults to 1.
  • droprate - The chance that the item will drop (do not include the % sign). Defaults to 1.
    • fixed (optional) - If the drop is fixed, specify who the drop is given to: Host, Guests, Everyone, or First (for Event Raids only).
  • TMmat (optional) - If the item is a TM Material, write its name here.
  • TMtype (optional) - If the item is a TM, write its move's type here.
  • mint (optional) - If the item is a Mint (other than the Serious Mint), write its name here.

Examples

Fixed drops

{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}}
|}
Drops
Bag Water Stone SV Sprite.png Water Stone ×1 Host
Bag King's Rock SV Sprite.png King's Rock ×1 Guests

Random drops

{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Water Stone|amount=1|droprate=5}}
{{TeraRaidInfo/Drop|item=King's Rock|amount=1|droprate=1}}
|}
Drops
Bag Water Stone SV Sprite.png Water Stone ×1 5%
Bag King's Rock SV Sprite.png King's Rock ×1 1%

Tera Shard

{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}}
|}
Drops
Bag Normal Tera Shard SV Sprite.png Corresponding Tera Shard ×5 10%
Bag Normal Tera Shard SV Sprite.png Corresponding Tera Shard ×5 All participants

TM Materials

{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}}
|}
Drops
Bag TM Material SV Sprite.png Slowpoke Claw ×5 10%
Bag TM Material SV Sprite.png Slowpoke Claw ×5 All participants

Mints

{| class="roundtable" style="background:#{{scarlet color light}};"
! colspan=2 | Drops
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Attack|mint=Brave Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Defense|mint=Bold Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Atk|mint=Modest Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Sp. Def|mint=Calm Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Mint Speed|mint=Timid Mint|amount=5|fixed=Everyone}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|droprate=10}}
{{TeraRaidInfo/Drop|item=Serious Mint|amount=5|fixed=Everyone}}
|}
Drops
Bag Mint Attack SV Sprite.png Brave Mint ×5 10%
Bag Mint Attack SV Sprite.png Brave Mint ×5 All participants
Bag Mint Defense SV Sprite.png Bold Mint ×5 10%
Bag Mint Defense SV Sprite.png Bold Mint ×5 All participants
Bag Mint Sp. Atk SV Sprite.png Modest Mint ×5 10%
Bag Mint Sp. Atk SV Sprite.png Modest Mint ×5 All participants
Bag Mint Sp. Def SV Sprite.png Calm Mint ×5 10%
Bag Mint Sp. Def SV Sprite.png Calm Mint ×5 All participants
Bag Mint Speed SV Sprite.png Timid Mint ×5 10%
Bag Mint Speed SV Sprite.png Timid Mint ×5 All participants
Bag Serious Mint SV Sprite.png Serious Mint ×5 10%
Bag Serious Mint SV Sprite.png Serious Mint ×5 All participants