Template:Fish: Difference between revisions
Jump to navigation
Jump to search
Line 62: | Line 62: | ||
</style> | </style> | ||
<script> | <script> | ||
$( document ).ready(function() { | |||
$('span.fishrarity').each(function(){ | $('span.fishrarity').each(function(){ | ||
var content = $(this).html(); | var content = $(this).html(); | ||
content = content.replace(/_/ig,' '); | content = content.replace(/_/ig,' '); | ||
$(this).html(content); | $(this).html(content); | ||
}); | |||
}); | }); | ||
</script> | </script> |
Revision as of 03:06, 16 July 2016
This template was created for the Emera Beach-Article so we'd have an easy way to include all the Pokémon we can fish from there.
Usage
Pretty simple include:
{{{Fish|First parameter|Second Parameter|Third parameter}}}
- First parameter: Rarity.
- Second parameter: Pokémon PokéDex number (Without the 0 or the 1 for normal/shiny as the template would put it automatically.
- Third Parameter: Pokémon's name.
Available Rarities
Here are the ones that you can use right now. they'd also work as the Pokémon background color change, so try to not misspell them!
- Common.
- Uncommon.
- Rare.
- Veryrare (Use it without a space in the middle is it would break the code~).
Example
For this example I'm gonna use Tentacool:
{{Fish|common|72|Tentacool}}
{{Fish|uncommon|72|Tentacool}}
{{Fish|rare|72|Tentacool}}
{{Fish|veryrare|72|Tentacool}}
This would turn into:
Tentacool common |
Tentacool uncommon |
Tentacool rare |
Tentacool very_rare |