Template:KeitaBossPokemon
KeitaBossPokemon Template is the template that adds the Pokemon lineup to the KeitaBossNPCLineup Template.
It's used in correspondence with KeitaBossNPCLineup Template and with the KeitaNPCMove template being an optional addon for adding moves.
Parameters and arguments
- Name: Input the Pokemon name (e.g Gyarados)
- Form: Input the Pokemon form/counterpart, if any (e.g Shiny Mega Gyarados or Christmas Zekrom)
- Nature: Input the Pokemon's Nature, if any (e.g Jolly)
- Ability: Input the Pokemon's Ability, if any (e.g Intimidate)
- Item: Input the Pokemon's Held Item, if any (e.g Leftovers)
- Moveset: If the Pokemon have any moves, use the KeitaNPCMove template
Example
This example also features the KeitaNPCMove template.
The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't.
{{KeitaBossNPCLineup| Boss=Professor Oak| Lineup= {{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= {{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }} {{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} }}
Result
<script>
document.addEventListener('DOMContentLoaded', function() {
const showButtons = document.querySelectorAll('.keita-show-moves-btn');
showButtons.forEach(button => {
button.addEventListener('click', function() {
const movesTable = this.nextElementSibling;
if (movesTable.style.display === 'none') {
movesTable.style.display = 'table';
this.textContent = 'HIDE MOVES';
} else {
movesTable.style.display = 'none';
this.textContent = 'SHOW MOVES';
}
});
});
});
</script>
<style>
/* Responsive styles for KeitaBossPokemon */
@media (max-width: 768px) {
.keita-pokemon-cell {
min-width: 280px !important;
padding: 8px !important;
}
.keita-pokemon-cell table th,
.keita-pokemon-cell table td {
padding: 3px !important;
font-size: 0.9em;
}
}
@media (max-width: 480px) {
.keita-pokemon-cell {
border-radius: 15px !important;
padding: 5px !important;
}
.keita-moves-table th,
.keita-moves-table td {
padding: 2px !important;
font-size: 0.8em;
}
.keita-show-moves-btn {
padding: 3px 10px !important;
font-size: 0.9em;
}
}
</style>
<script>
document.addEventListener('DOMContentLoaded', function() {
const showButtons = document.querySelectorAll('.keita-show-moves-btn');
showButtons.forEach(button => {
button.addEventListener('click', function() {
const movesTable = this.nextElementSibling;
if (movesTable.style.display === 'none') {
movesTable.style.display = 'table';
this.textContent = 'HIDE MOVES';
} else {
movesTable.style.display = 'none';
this.textContent = 'SHOW MOVES';
}
});
});
});
</script>
<style>
/* Responsive styles for KeitaBossPokemon */
@media (max-width: 768px) {
.keita-pokemon-cell {
min-width: 280px !important;
padding: 8px !important;
}
.keita-pokemon-cell table th,
.keita-pokemon-cell table td {
padding: 3px !important;
font-size: 0.9em;
}
}
@media (max-width: 480px) {
.keita-pokemon-cell {
border-radius: 15px !important;
padding: 5px !important;
}
.keita-moves-table th,
.keita-moves-table td {
padding: 2px !important;
font-size: 0.8em;
}
.keita-show-moves-btn {
padding: 3px 10px !important;
font-size: 0.9em;
}
}
</style>
|
|
||||||||||||||||||||||||||
|