Template:TeraRaidInfo/Drop: Difference between revisions
From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(helper template) |
(parameter for fixed drops, tm materials) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly><div class="roundy" style="border: 2px solid #000000; text-align: center; margin: 3px; padding: 2px;">{{#switch:{{{item|}}}<!-- | ||
| | |||
Tera Shards | |||
-->|Tera Shard=[[File:Bag Normal Tera Shard SV Sprite.png|20px|link=Tera Shard]] [[Tera Shard]] (of raid's type) ×{{{amount|1}}}<br>({{#if:{{{fixed|}}}|{{{fixed|Everyone}}}|{{{droprate|1}}}%}})<!-- | |||
TM Materials | |||
-->|TM Material=[[File:Bag TM Material SV Sprite.png|20px|link=TM Material]] [[TM Material{{!}}{{{TMmat}}}]] ×{{{amount|1}}}<br>({{#if:{{{fixed|}}}|{{{fixed}}}|{{{droprate|1}}}%}})<!-- | |||
General items | |||
-->|[[File:Bag {{{item}}} SV Sprite.png|20px|link={{{item}}}]] [[{{{item}}}]] ×{{{amount|1}}}<br>({{#if:{{{fixed|}}}|{{{fixed|Everyone}}}|{{{droprate|1}}}%}})}}</div></includeonly><noinclude> | |||
This template is to be used inside calls of [[User:Boblers/TeraRaidInfo]], to display item drops from [[Tera Raid Battle]]s. | This template is to be used inside calls of [[User:Boblers/TeraRaidInfo]], to display item drops from [[Tera Raid Battle]]s. | ||
Line 6: | Line 17: | ||
* '''item''' - The name of the item. | * '''item''' - The name of the item. | ||
** If the name is "Tera Shard", displays a note that the shard matches the raid's type. | ** 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. | |||
* '''amount''' - The amount of the item dropped. Defaults to 1. | * '''amount''' - The amount of the item dropped. Defaults to 1. | ||
* '''droprate''' - The chance that the item will drop (do not include the % sign). | * '''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, or Everyone. | |||
* '''TMmat''' (optional) - If the drop is a TM Material, write its name here. | |||
==Examples== | ==Examples== | ||
=== | ===Fixed drops=== | ||
<pre> | |||
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | |||
! Drops | |||
|- style="background:#FFF;" | |||
| | |||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | |||
{{User:Boblers/TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}} | |||
{{User:Boblers/TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}} | |||
</div> | |||
|} | |||
</pre> | |||
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | |||
! Drops | |||
|- style="background:#FFF;" | |||
| | |||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | |||
{{User:Boblers/TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}} | |||
{{User:Boblers/TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}} | |||
</div> | |||
|} | |||
===Random drops=== | |||
<pre> | <pre> | ||
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | {| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | ||
Line 42: | Line 79: | ||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | ||
{{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}} | {{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}} | ||
{{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}} | |||
</div> | </div> | ||
|} | |} | ||
Line 52: | Line 90: | ||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | ||
{{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}} | {{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}} | ||
{{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}} | |||
</div> | |||
|} | |||
===TM Materials=== | |||
<pre> | |||
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | |||
! Drops | |||
|- style="background:#FFF;" | |||
| | |||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | |||
{{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}} | |||
{{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}} | |||
</div> | |||
|} | |||
</pre> | |||
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" | |||
! Drops | |||
|- style="background:#FFF;" | |||
| | |||
<div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> | |||
{{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}} | |||
{{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}} | |||
</div> | </div> | ||
|} | |} | ||
</noinclude> | </noinclude> |
Revision as of 14:53, 30 September 2023
This template is to be used inside calls of User:Boblers/TeraRaidInfo, to display item drops from Tera Raid Battles.
Template fields
- item - The name of the item.
- 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.
- 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, or Everyone.
- TMmat (optional) - If the drop is a TM Material, write its name here.
Examples
Fixed drops
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" ! Drops |- style="background:#FFF;" | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> {{User:Boblers/TeraRaidInfo/Drop|item=Water Stone|amount=1|fixed=Host}} {{User:Boblers/TeraRaidInfo/Drop|item=King's Rock|amount=1|fixed=Guests}} </div> |}
Drops |
---|
Random drops
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" ! Drops |- style="background:#FFF;" | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> {{User:Boblers/TeraRaidInfo/Drop|item=Water Stone|amount=1|droprate=5}} {{User:Boblers/TeraRaidInfo/Drop|item=King's Rock|amount=1|droprate=1}} </div> |}
Drops |
---|
Tera Shard
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" ! Drops |- style="background:#FFF;" | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> {{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|droprate=10}} {{User:Boblers/TeraRaidInfo/Drop|item=Tera Shard|amount=5|fixed=Everyone}} </div> |}
Drops |
---|
TM Materials
{| class="roundtable" width="100%" style="background:#{{scarlet color light}};" ! Drops |- style="background:#FFF;" | <div style="display:flex;flex-wrap:wrap;text-align:center;align-items:center;justify-content:center;"> {{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|droprate=10}} {{User:Boblers/TeraRaidInfo/Drop|item=TM Material|TMmat=Slowpoke Claw|amount=5|fixed=Everyone}} </div> |}
Drops |
---|