Template:KeitaBossNPCLineup: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Manual revert |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<b> | <b>KeitaBossNPCLineup Template</b> is the main template that adds the <b>Boss name</b> and <b>lineup</b>. <br> | ||
It's used in correspondence with [[:Template: | |||
It's used in correspondence with [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]] and with the [[Template:KeitaNPCMove|KeitaNPCMove template]] being an optional addon for adding moves. <br> | |||
==Parameters and arguments== | ==Parameters and arguments== | ||
<ul> | <ul> | ||
<li>'''Boss:''' Input the boss's name (e.g Professor Oak)</li> | <li>'''Boss:''' Input the boss's name (e.g Professor Oak)</li> | ||
<li>'''Theme:''' Input the Theme ([[:Category:Pokémon_types|Type]]) you want, or leave empty to pick page's theme, if it has any (e.g Ice)</li> | <li>'''Theme:''' Input the Theme ([[:Category:Pokémon_types|Type]]) you want, or leave empty to pick page's theme, if it has any (e.g Ice)</li> | ||
<li>'''Lineup:''' Marshal the boss's Pokemon lineup in order of deployment using [[:Template: | <li>'''Lineup:''' Marshal the boss's Pokemon lineup in order of deployment using [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]].</li> | ||
</ul> | </ul> | ||
<b>Tip:</b> In order to get a image along with the Boss's name, a image with that boss name must exist (e.g Professor Oak) | <b>Tip:</b> In order to get a image along with the Boss's name, a image with that boss name must exist (e.g Professor Oak) | ||
===Example=== | ===Example=== | ||
This example also features the [[Template: | |||
This example also features the [[Template:KeitaNPCMove|KeitaNPCMove template]] and [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]]. <br> | |||
The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't. <br> | The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't. <br> | ||
<pre style="color: red"> | <pre style="color: red"> | ||
<nowiki>{{ | <nowiki>{{KeitaBossNPCLineup| Boss=Professor Oak| Theme=Ice |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 }} | ||
}}</nowiki> | }}</nowiki> | ||
</pre> | </pre> | ||
=== Result === | === Result === | ||
{{ | {{KeitaBossNPCLineup| Boss=Professor Oak| Theme=Ice| 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 }} | ||
}} | }} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{PokemonArray}}{{MoveArray}}{{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}{{#vardefine:rows|0}} | <includeonly>{{PokemonArray}}{{MoveArray}}{{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}{{#vardefine:rows|0}} | ||
< | |||
< | <div class="boss-lineup-container" style="background-color: {{#var:background}}; border-radius: 15px; border: 3px solid {{#var:border}}; padding: 10px; width: 100%; max-width: 100%; overflow-x: auto;"> | ||
{{#ifexist:File:{{{Boss}}}.png|<div style="margin | <div class="boss-header" style="margin: 0 auto; width: 100%; max-width: 500px; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 15px; text-align: center; padding: 10px;"> | ||
<div class="boss-title">{{{Boss}}}'s Lineup</div> | |||
{{#ifexist:File:{{{Boss}}}.png|<div class="boss-image" style="margin: 10px auto; max-width: 100%;">[[File:{{{Boss}}}.png|center|max-width=100%]]</div>}} | |||
</div> | |||
<div class="pokemon-lineup" style="display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 15px;"> | |||
{{{Lineup|}}} | |||
</div> | |||
<div class="move-legend" style="margin-top: 15px; border-radius: 15px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;"> | |||
<ul> | |||
<li>'''Emboldened''' moves avail from a STAB bonus when deployed by that Pokémon.</li> | |||
<li>''Italicized'' moves are functionally broken; see their individualized pages for more information.</li> | |||
</ul> | |||
</div> | |||
</div> | </div> | ||
</includeonly> | </includeonly> | ||
Revision as of 22:24, 8 March 2025
KeitaBossNPCLineup Template is the main template that adds the Boss name and lineup.
It's used in correspondence with KeitaBossPokemon Template and with the KeitaNPCMove template being an optional addon for adding moves.
Parameters and arguments
- Boss: Input the boss's name (e.g Professor Oak)
- Theme: Input the Theme (Type) you want, or leave empty to pick page's theme, if it has any (e.g Ice)
- Lineup: Marshal the boss's Pokemon lineup in order of deployment using KeitaBossPokemon Template.
Tip: In order to get a image along with the Boss's name, a image with that boss name must exist (e.g Professor Oak)
Example
This example also features the KeitaNPCMove template and KeitaBossPokemon 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| Theme=Ice |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
| ||||||
Show Moves
|
||||||
- Emboldened moves avail from a STAB bonus when deployed by that Pokémon.
- Italicized moves are functionally broken; see their individualized pages for more information.

