User:Vinothnaga/sandbox

=Mediawiki Formatting=

Mediawiki Text Formatting
Mediawiki provides the range of text formatting markups like HTML. It is simple and easy to type compared to HTML. The following table provides the list of markups and the logical HTML equvalents

{| class="wikitable" !Type!!HTML equivalent!!Mediawiki markup!!Output 2 quotes for italic and 3 quotes for bold ''before HTML5 the tag was used''
 * Italic||some text|| some text ||some text
 * Bold||some text|| some text ||some text
 * Bold and Italic||some text|| some text ||some text
 * Bold||some text|| some text ||some text
 * Bold and Italic||some text|| some text ||some text
 * Bold and Italic||some text|| some text ||some text
 * Strike|| some text
 * Strike|| some text
 * some text || some text
 * Escape wiki markup
 * Little tricky here
 * It is not bold
 * It is not bold
 * Preformatted text blocks
 * . There is a legacy namespace   which still supported for backward compatibility.  There is also   which can be used for the much advanced purpose.
 * Preformatted text blocks
 * . There is a legacy namespace   which still supported for backward compatibility.  There is also   which can be used for the much advanced purpose.

The list of supported media types present in mediawiki.

The syntax for displaying the image is ''

here options are zero or more separated by pipe (|)

''Note:The image aspect ratio will remain constant irrespective of the resize option. Only media type which are scalable can get different aspect ratio. The default image size is depends are the media type as well as the internal image dimensions.''
 * Format option used to control how the image is rendered with rest of page.
 * border, frame, frameless, thumb(or thumbnail) are part of Format option
 * Resize option is scale the image in different size
 * {width}px - resize the image to fix within the given width, height is not changed
 * x{height}px - resize the image to fix within the given height, width is not changed
 * {width}x{height}px - resize the image both horizontally as well as vertically
 * upright - resize the image to fix in to the dimension specified by the user. Applicable for the images having height larger than width
 * Horizontal alignment options: left, right, center and none
 * Controls the horizontal alignment of image with in text
 * Vertical alignment option: one of baseline, sub, super, top, text-top, middle, bottom, text-bottom
 * vertical alignment of a non-floating inline image with the text before or after the image, and in the same block (the default vertical alignment is middle)
 * Link provides link on the image
 * link={target}