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: Reverted
Line 39: Line 39:


<includeonly>
<includeonly>
{{PokemonArray}}{{MoveArray}}
{{#if:{{{Theme|}}}|{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}
{{#if:{{{Theme|}}}|
<div class="boss-lineup" style="background-color: {{#var:background}}; border: 3px solid {{#var:border}};">
  {{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}
  <h1 style="text-align: center; color: #fff;">{{{Boss}}}'s Lineup</h1>
  {{#vardefine:background|#{{{{{Theme}}}_color}}}}
  {{#ifexist:File:{{{Boss}}}.png|<div style="text-align: center; margin-bottom: 10px;">[[File:{{{Boss}}}.png|center]]</div>}}
  {{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}
  <div class="pokemon-cards">
}}
    {{{Lineup|}}}
{{#vardefine:rows|0}}
  </div>
 
  <div class="notes">
<div class="boss-lineup-container" style="margin: 15px 0;">
    <ul>
  <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);">
      <li><strong>Emboldened</strong> moves avail from a STAB bonus when deployed by that Pokémon.</li>
    <div class="boss-header" style="text-align: center;">
      <li><em>Italicized</em> moves are functionally broken; see their individualized pages for more information.</li>
      <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;">
    </ul>
        {{{Boss}}}'s Lineup
        {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 10px; margin-bottom: 10px;">[[File:{{{Boss}}}.png|center|200px]]</div>}}
      </div>
    </div>
   
    <div class="pokemon-lineup" style="display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin: 15px 0;">
      {{{Lineup|}}}
    </div>
   
    <div class="lineup-footer" style="margin-top: 15px; border-radius: 10px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;">
      <ul style="margin: 5px 0 5px 20px; padding: 0;">
        <li style="margin-bottom: 5px;"><strong>Emboldened</strong> moves avail from a STAB bonus when deployed by that Pokémon.</li>
        <li><em>Italicized</em> moves are functionally broken; see their individualized pages for more information.</li>
      </ul>
    </div>
   </div>
   </div>
</div>
</div>
</includeonly>
</includeonly>

Revision as of 21:30, 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
[[]]
[[]]
[[]]
[[]]



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.