One-Punch Man Wiki
One-Punch Man Wiki

On border codes used[]

A lot of the borders used in the One Punch Man wiki uses the following:

{| width="100%" style="border:1px #aaa outset; {{border-radius|1ex}} overflow:hidden; text-align:center;" border="1" cellpadding="0" cellspacing="0"

which causes a problem when you switch between visual editor and source editor when using classic rich-text editor (these settings can be found in the prefences). When switching, the code disappears leaving only {{border-radius|1ex}}  which leaves the table looking unprofessional. 

If anyone editing comes across this please change it to:

{| style="border:1px #aaa outset; overflow:hidden; text-align:center;" border="1" cellpadding="0" cellspacing="0" width="100%" 

which if you notice is the same code without the {{border-radius|1ex}} section. This code will allow the border to keep shape when switching between editoring style.

I'm no expert but the {{border-radius|1ex}} probably causes the visual editor to think that the borders are complete and disregard the other bits of code.

So, once again I ask that anyone who comes across above code to fix it to the right one. Happy editing.

Bookkeeper83