Wikitext of this form:
{| {{Infobox aircraft begin .. }} ... |}
is used on several pages (ex: [[en:B757]]).
This essentially generates table attrs. and also table content and is currently not parsed properly by Parsoid. The tokenizer adds the template to the table's attribute array, and it gets stuck there for good through the entire parse which means the entire tpl content is "lost".
There are a couple different ways of handling this:
(1) Fix AttributeExpander so that it hoists tokens seen after a NlTk out of the attribute, and after the token. Inelegant, but might do the trick.
(2) Fix this template (and any other template using this technique) so that it is self-contained rather than generate pieces of the table. At the very least, move "{|" inside the "Infobox aircraft begin" template. Since it is not feasible to edit all pages that transclude the template, we might have to provide support for the extra "{|" table tag found outside the template.
Just recording all this information here for now, along with a test case below:
{|{{Infobox aircraft begin |name= Boeing 757 |image= File:Icelandair Boeing 757-256 Wedelstaedt.jpg<!-- Flight images are preferred for aircraft. Do not change image without a talk page discussion first, thanks. --> |caption= [[Icelandair]] Boeing 757-200 on final approach |alt=A mostly white Boeing 757 with blue and yellow trim preparing for landing against a blue sky. Landing gear and flaps are extended in final approach configuration. }}{{Infobox aircraft type |type= [[Narrow-body aircraft|Narrow-body]] [[jet airliner]] |national origin= United States |manufacturer= [[Boeing Commercial Airplanes]] |designer= |first flight= February 19, 1982 |introduction= January 1, 1983 with [[Eastern Air Lines]] |retired= |status= In service |primary user= [[Delta Air Lines]] <!--Limit one (1) primary user. Top 4 users listed in 'primary user' and 'more users' fields based on the number in their fleets. --> |more users= [[United Airlines]] <br>[[American Airlines]] <br>[[UPS Airlines]] <!-- Limit is three (3) in 'more users' field, four (4) total users with primary user. Please separate with <br/>.--> |produced= 1981–2004 |number built= 1,050<ref name="last757built">{{cite web|url=http://www.boeing.com/news/releases/2004/q4/nr_041028g.html |title=Boeing Marks Completion of its 757 Commercial Airplane Program |date=October 28, 2004 |publisher=Boeing |accessdate=January 26, 2011}}</ref> |unit cost= 757-200: US$65 million (2002) <br>757-300: US$80 million (2002) |variants with their own articles= [[Boeing C-32]] }} |}
Version: unspecified
Severity: normal
URL: http://parsoid-prod.wmflabs.org/testwiki/46811?oldid=218081