Template:KeitaBossNPCLineup: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1: Line 1:
<noinclude>
<noinclude>
<b>BossNPCLineup Template</b> is the main template that adds the <b>Boss name</b> and <b>lineup</b>. <br>
<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:BossPokemon|BossPokemon Template]] and with the [[Template:NPCMove|NPCMove template]] being an optional addon for adding moves. <br>
 
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:BossPokemon|BossPokemon Template]].</li>
<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:NPCMove|NPCMove template]] and [[:Template:BossPokemon|BossPokemon Template]]. <br>
 
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>{{BossNPCLineup| Boss=Professor Oak| Theme=Ice |Lineup=
<nowiki>{{KeitaBossNPCLineup| Boss=Professor Oak| Theme=Ice |Lineup=
{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{KeitaBossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }}
{{KeitaNPCMove | Bolt Strike}}{{KeitaNPCMove | Stone Edge}}{{ KeitaNPCMove | Outrage}}{{KeitaNPCMove | Outrage}} }}


{{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
{{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
}}</nowiki>
}}</nowiki>
</pre>
</pre>
=== Result ===
=== Result ===
{{BossNPCLineup| Boss=Professor Oak| Theme=Ice| Lineup=
{{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}} }}


{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset=
{{KeitaBossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }}
{{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }}
 
{{BossPokemon | 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}}
<table class="collapsible" style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 100%;">
 
<tr><th colspan="12"><div style="margin: auto auto; width: 50%; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px;">{{{Boss}}}'s Lineup
<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-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center]]</div>}}
    <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>
</th></tr>
<tr>
{{{Lineup|}}}
</tr>
<tr>
<td colspan="2" style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}};">
<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>
</tr>
</table>
</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

Professor Oak's Lineup
max-width=100%
max-width=100%
               max-width=150px
                 Christmas Zekrom
Nature Ability Item
Adamant Teravolt Leftovers
                         Show Moves
Move Type Category Base Power Accuracy
Bolt Strike Electric Physical 130 85
Stone Edge Rock Physical 100 80
Outrage Dragon Physical 120 100
Outrage Dragon Physical 120 100



Nature Ability Item
Timid Bad Dreams Leftovers
                         Show Moves
Move Type Category Base Power Accuracy
  • 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.