This is going to give you a headache
{{Infobox ship begin}}
http://en.wikipedia.org/wiki/Template:Infobox_ship_begin
is used in 26840 pages. I provides styling for tables used to make infoboxes relating to ships. It is used like
{|{{Infobox ship begin}}
{{Infobox ship image
Ship image=[[File:Whydah-model.jpg|300px]] |
Ship caption=The ''Whydah Gally'' (1716–1717) |
}}
{{Infobox Ship Career
...
}}
- |
Commanded by: |
Cap't. [[Lawrence Prince]] |
...
} |
The template transcludes {{WPMILHIST Infobox style}} which provides CSS styling
class="infobox {{#if:{{{2|}}}|{{{2}}}}}" style="float: right; clear: right; width: 315px; border-spacing: 2px; text-align: left; font-size: 90%;"
So the table start tag and its styling are separate.
Unsurprisingly VE fails to edit pages with this template correctly. The following was reported at
http://en.wikipedia.org/w/index.php?title=Wikipedia:VisualEditor/Feedback&oldid=572065469
Open the article in the visual editor, e.g. by visiting https://en.wikipedia.org/wiki/Whydah_Gally?veaction=edit
Observe the article now leads with the out-of-place text
<nowiki>class="infobox " style="float: right; clear: right; width: 315px; border-spacing: 2px; text-align: left; font-size: 90%;"</nowiki>
try to click "save page" but note that it is not active
make a trivial change so that "save page" is active. Click it
Click "review your changes", not that it says that
<nowiki>{{Italic title}}{|{{Infobox ship begin}}</nowiki>
was replaced with
<nowiki>{{Italic title}}{{Infobox ship begin}}
{|{{Infobox ship begin}}</nowiki>
Version: unspecified
Severity: normal