Template:KeitaBossNPCLineup: Difference between revisions

From Pokemon Revolution Online Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Manual revert
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:


==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>
Line 15: Line 14:


===Example===
===Example===
This example also features the [[Template:KeitaNPCMove|KeitaNPCMove template]] and [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]]. <br>
This example also features the [[Template:KeitaNPCMove|KeitaNPCMove template]] and [[:Template:KeitaBossPokemon|KeitaBossPokemon Template]]. <br>


Line 38: Line 36:
</noinclude>
</noinclude>


<includeonly
<includeonly>{{PokemonArray}}{{MoveArray}}{{#if:{{{Theme|}}}|{{#vardefine:cell|#{{{{{Theme}}}_color_light}}}}{{#vardefine:background|#{{{{{Theme}}}_color}}}}{{#vardefine:border|#{{{{{Theme}}}_color_dark}}}}}}{{#vardefine:rows|0}}
  >{{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-header"
      style="margin: 0 auto; width: 100%; max-width: 300px; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 15px; text-align: center; padding-top: 5 px;"
    >
      <div class="boss-title">{{{Boss}}}'s Lineup</div>
      {{#ifexist:File:{{{Boss}}}.png|
      <div class="boss-image" style="margin: 0px auto; max-width: 100%">
        [[File:{{{Boss}}}.png|center|max-width=100%]]
      </div>
      }}
    </div>


    <div
<div class="keita-boss-container" style="max-width: 100%; margin: 0 auto;">
      class="pokemon-lineup"
  <table class="keita-boss-table collapsible" style="background-color: {{#var:background}}; border-radius: 25px; border: 3px solid {{#var:border}}; padding: 5px; width: 100%; margin-bottom: 20px;">
       style="
    <tr>
         display: flex;
       <th colspan="12">
        flex-wrap: wrap;
         <div style="margin: auto auto; width: 100%; max-width: 300px; color: {{#var:border}}; background-color: {{#var:cell}}; border: 3px solid {{#var:border}}; border-radius: 25px; padding: 10px;">
        justify-content: center;
          {{{Boss}}}'s Lineup
        margin-top: 15px;
          {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center|responsive|max-width=200px]]</div>}}
       "
        </div>
     >
       </th>
    </tr>
     <tr class="keita-lineup-row">
       {{{Lineup|}}}
       {{{Lineup|}}}
     </div>
     </tr>
 
     <tr>
     <div
       <td colspan="2" style="border-radius: 25px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;">
       class="move-legend"
        <ul style="margin: 0; padding-left: 20px;">
      style="margin-top: 15px; border-radius: 15px; border: 1px solid {{#var:border}}; background-color: {{#var:cell}}; padding: 10px;"
          <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>
         </ul>
        <li>
       </td>
          '''Emboldened''' moves avail from a STAB bonus when deployed by that
     </tr>
          Pokémon.
   </table>
        </li>
</div>
        <li>
          ''Italicized'' moves are functionally broken; see their individualized
          pages for more information.
         </li>
       </ul>
     </div>
   </div>
</includeonly>
</includeonly>

Latest revision as of 20:24, 31 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=200px
max-width=200px
               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.