17 214
contributi
(Added link on Pokémon names) |
(Making this table responsive) |
||
return box.boxTipoLua(
string.fu(type),
'-5 inline-block text-center
string.interp('padding: 0 0.5ex; margin-bottom: 0.2ex; height: ${
{
)
end
local typesCount = this.type1 == this.type2 and 1 or 2
return string.interp([=[| class="width-xs-10" | ${static}
| class="
| class="
| class="width-xs-33" | <div class="visible-xs text-small">Prima abilità</div>${abil1}${abilEv}
| class="width-xs-33" | <div class="visible-xs text-small">Seconda abilità</div>${abil2}
| class="width-xs-33" | <div class="visible-xs text-small">Abilità evento</div>${abild}]=],
{
static = ms.staticLua(string.tf(this.ndex or 0) ..
local makeHeader = function(type)
return string.interp([=[{| class="roundy text-center pull-center white-rows" style="border-spacing: 0; padding: 0.3ex; ${bg};"
|- class="hidden-xs"
! style="padding-top: 0.5ex; padding-bottom: 0.5ex;" | [[Elenco Pokémon secondo il Pokédex Nazionale|<span style="color:#000;">#</span>]]
! class="hidden-xs" | Pokémon
makeEntry = Entry.new,
header = makeHeader(type),
footer = [[|- style="background: transparent;"
| class="text-left font-small" colspan="6" style="background: transparent; padding: 0.3ex 0.3em;" |
* Le abilità in ''corsivo'' sono ottenibili solo in determinate circostanze.
|}]]
|
contributi