Template:KeitaBossNPCLineup: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
Created page with "<noinclude> <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 KeitaBossPokemon Template and with the KeitaNPCMove template being an optional addon for adding moves. <br> ==Parameters and arguments== <ul> <li>'''Boss:''' Input the boss's name (e.g Professor Oak)</li> <li>'''Theme:''' Input the Theme (:Category:Pokémon..."
 
No edit summary
Tag: Reverted
Line 38: Line 38:
</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;">
<div class="boss-lineup-container" style="margin: 15px 0;">
    <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-lineup-card" style="background-color: {{#var:background}}; border-radius: 15px; border: 2px solid {{#var:border}}; padding: 15px; width: 100%; box-shadow: 0 3px 10px rgba(0,0,0,0.2);">
         <div class="boss-title">{{{Boss}}}'s Lineup</div>
    <div class="boss-header" style="text-align: center;">
         {{#ifexist:File:{{{Boss}}}.png|<div class="boss-image" style="margin: 10px auto; max-width: 100%;">[[File:{{{Boss}}}.png|center|max-width=100%]]</div>}}
      <div class="boss-title" style="margin: 0 auto; max-width: 300px; color: {{#var:border}}; background-color: {{#var:cell}}; border: 2px solid {{#var:border}}; border-radius: 20px; padding: 8px; font-size: 1.2em; font-weight: bold;">
         {{{Boss}}}'s Lineup
         {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 10px; margin-bottom: 10px;">[[File:{{{Boss}}}.png|center|200px]]</div>}}
      </div>
     </div>
     </div>
 
   
     <div class="pokemon-lineup" style="display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 15px;">
     <div class="pokemon-lineup" style="display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 15px 0;">
        {{{Lineup|}}}
      {{{Lineup|}}}
     </div>
     </div>
 
   
     <div class="move-legend" style="margin-top: 15px; border-radius: 15px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;">
     <div class="lineup-footer" style="margin-top: 15px; border-radius: 10px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;">
        <ul>
      <ul style="margin: 5px 0 5px 20px; padding: 0;">
            <li>'''Emboldened''' moves avail from a STAB bonus when deployed by that Pokémon.</li>
        <li style="margin-bottom: 5px;"><strong>Emboldened</strong> 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>
        <li><em>Italicized</em> moves are functionally broken; see their individualized pages for more information.</li>
        </ul>
      </ul>
     </div>
     </div>
  </div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 21: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=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