Jump to content
Main menu
Main menu
move to sidebar
hide
Discord
PRO Wiki Discord
PRO Wiki
Main page
Rules
Recent changes
Random page
Help
Pokémon Revolution Online
About
Downloads
Events
FAQs
The Staff Team
Current Pokétime
Official PRO Resources
Website
Forums
PRO Discord
Twitter
Reddit
Instagram
YouTube
Search
Search
Appearance
Log in
Personal tools
Log in
View source for Template:MTKeita
Template
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
←
Template:MTKeita
You do not have permission to edit this page.
You can view and copy the source of this page.
<includeonly> Perfect! I can see your {{MT}} template structure. The issue is that it's using the old styling while the new table container expects modern inline styles. Since you want to keep it compatible with other parts of the wiki, I'll update it to work with both old and new contexts. Let me modernize the {{MT}} template while keeping it backward compatible: Updated MT Template - Modern & Backward Compatible Code Here's your updated {{MT}} template that's modernized but backward compatible: Key improvements made: Added modern inline styles - Each <td> now has proper padding, borders, and text alignment Responsive hover effects - Rows will highlight on hover Backward compatibility - Uses {{#var:border|#cccccc}} so it works with old tables too Enhanced broken move styling - Added red color for broken moves Better typography - Added font-weight for better readability Maintained all original functionality - STAB detection, move links, categories, etc. What changed: Added padding: 10px 8px to all cells for better spacing Added border: 1px solid {{#var:border|#cccccc}} to work with both old and new contexts Added hover effects with onmouseover/onmouseout Enhanced broken move styling with red color Added font-weight: 600 to type and category labels Added text-align properties for consistent alignment Backward compatibility: If {{#var:border}} isn't set (old contexts), it defaults to #cccccc All original MediaWiki template functionality is preserved Works with existing array functions and variables Replace your current {{MT}} template with this updated version, and your move table should now display properly with modern styling while still working in other parts of your wiki! {{#vardefine:iteration|{{#arraysearch:name|{{ucfirst:{{{Move}}}}}}}}} <tr style="background-color: #FFFFFF; transition: background-color 0.2s ease;" onmouseover="this.style.backgroundColor='#f1f5f9'" onmouseout="this.style.backgroundColor='#FFFFFF'"> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: left; font-weight: 500;"><span style="{{#ifeq: {{#arrayindex:category|{{#var:iteration}}}} | Status | | {{#ifeq:{{#arrayindex:typeless|{{#var:iteration}}}} | N | {{#ifeq:{{#var:primaryType}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold; | {{#ifeq: {{#var:secondaryType}} | {{#arrayindex:movetype|{{#var:iteration}}}} | font-weight: bold;}} }} }} }} {{#ifeq:{{#arrayindex:broken|{{#var:iteration}}}} | Y | font-style: italic; color: #dc2626;}}">[[{{#arrayindex:name|{{#var:iteration}}}}]]{{#if:{{{a|}}}|<nowiki>*</nowiki>{{#vardefine:asterisk|{{{a|}}}}}}} {{#if:{{{p|}}} | <span style="font-weight: normal;">({{{p|}}})</span>}}</span></td> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: center; background-color: #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:movetype|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:movetype|{{#var:iteration}}}}_(type)|<span style="color:#FFFFFF; font-weight: 600;">{{#arrayindex:movetype|{{#var:iteration}}}}</span>]]</td> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: center; background-color:#{{{{#arrayindex:category|{{#var:iteration}}}}_color}}; border: 2px solid #{{{{#arrayindex:category|{{#var:iteration}}}}_color_dark}};">[[{{#arrayindex:category|{{#var:iteration}}}} moves|<span style="color:#FFFFFF; font-weight: 600;">{{#arrayindex:category|{{#var:iteration}}}}</span>]]</td> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: center;">{{#if:{{#arrayindex:power|{{#var:iteration}}}} | {{#arrayindex:power|{{#var:iteration}}}} | — }}</td> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: center;">{{#arrayindex:accuracy|{{#var:iteration}}}}</td> <td style="padding: 10px 8px; border: 1px solid {{#var:border|#cccccc}}; text-align: center;">{{#arrayindex:pp|{{#var:iteration}}}}</td> </tr> </includeonly>
Return to
Template:MTKeita
.
Search
Search
View source for Template:MTKeita
Add topic