Template:BossNPCLineup: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m Added "Theme" to Parameters and arguments |
||
(3 intermediate revisions by 2 users not shown) | |||
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> | |||
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> | |||
==Parameters and arguments== | ==Parameters and arguments== | ||
<ul> | <ul> | ||
<li>'''Boss:''' Input the boss's name.</li> | <li>'''Boss:''' Input the boss's name (e.g Professor Oak)</li> | ||
<li>'''Lineup:''' Marshal the boss's Pokemon lineup in order of deployment using [[:Template:BossPokemon]].</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> | |||
</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) | |||
===Example=== | |||
This example also features the [[Template:NPCMove|NPCMove template]] and [[:Template:BossPokemon|BossPokemon 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> | |||
<pre style="color: red"> | |||
<nowiki>{{BossNPCLineup| Boss=Professor Oak| Theme=Ice |Lineup= | |||
{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= | |||
{{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }} | |||
{{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} | |||
}}</nowiki> | |||
</pre> | |||
=== Result === | |||
{{BossNPCLineup| Boss=Professor Oak| Theme=Ice| Lineup= | |||
{{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= | |||
{{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 | <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 | <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 | ||
{{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center]]</div>}} | {{#ifexist:File:{{{Boss}}}.png|<div style="margin-top: 5px; margin-bottom: 5px;">[[File:{{{Boss}}}.png|center]]</div>}} |
Latest revision as of 13:07, 30 January 2022
BossNPCLineup Template is the main template that adds the Boss name and lineup.
It's used in correspondence with BossPokemon Template and with the NPCMove 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 BossPokemon 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 NPCMove template and BossPokemon Template.
The first Pokemon in the lineup has a complete set of moves and a special form, while the second Pokemon doesn't.
{{BossNPCLineup| Boss=Professor Oak| Theme=Ice |Lineup= {{BossPokemon | Name=Zekrom | Form=Christmas | Nature=Adamant | Ability=Teravolt | Item=Leftovers | Moveset= {{NPCMove | Bolt Strike}}{{NPCMove | Stone Edge}}{{ NPCMove | Outrage}}{{NPCMove | Outrage}} }} {{BossPokemon | Name=Darkrai | Form= | Nature=Timid | Ability=Bad Dreams | Item=Leftovers }} }}
Result
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|