From 010ff86106393a0912728104a965854006281491 Mon Sep 17 00:00:00 2001
From: Mark Holmquist
+ + + + + +
+!! end + +!! test +Parsoid-specific image handling - simple image without link +!! options +parsoid +!! input +[[Image:Foobar.jpg|link=]] +!! result ++ + + + + +
+!! end + +!! test +Parsoid-specific image handling - simple image with specific link +!! options +parsoid +!! input +[[Image:Foobar.jpg|link=Main Page]] +!! result ++ + + + + +
+!! end + +!! test +Parsoid-specific image handling - simple image with size and middle alignment +!! options +parsoid +!! input +[[Image:Foobar.jpg|50px|middle]] +!! result ++ + + + + +
+!! end + +!! test +Parsoid-specific image handling - simple image with both sizes, a baseline alignment, and a caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|500x10px|baseline|caption]] +!! result ++ + + + + +
+!! end + +!! test +Parsoid-specific image handling - simple image with border and size spec +!! options +parsoid +!! input +[[Image:Foobar.jpg|50px|border|caption]] +!! result ++ + + + + +
+!! end + +!! test +Parsoid-specific image handling - thumbnail with halign, valign, and caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|thumb|left|baseline|caption content]] +!! result + +!! end + +!! test +Parsoid-specific image handling - thumbnail with specific size, halign, valign, and caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|thumb|50x50px|right|middle|caption]] +!! result + +!! end + +!! test +Parsoid-specific image handling - framed image with specific size and caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|500x50px|frame|caption]] +!! result + +!! end + +!! test +Parsoid-specific image handling - framed image with specific size, halign, valign, and caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|500x50px|frame|left|baseline|caption]] +!! result + +!! end + +!! test +Parsoid-specific image handling - frameless image with specific size, border, and caption +!! options +parsoid +!! input +[[Image:Foobar.jpg|frameless|500x50px|border|caption]] +!! result ++ + + + +
+!! end + +#!! test +#Parsoid-specific image handling - simple image with a formatted caption +#!! options +#parsoid +#!! input +#[[Image:Foobar.jpg|a | b |
c |
+# +# +# +# +#abc +# +#
+ ### ### Subpages @@ -14833,6 +15025,7 @@ parsoid !!end + TODO: more images more tables -- 2.20.1