مواد ڏانھن هلو

سانچو:In the news/image/دستاویز

کليل ڄاڻ چيڪلي، وڪيپيڊيا مان

This template displays the image in Template:In the news, which is in turn displayed on the main page.

{{In the news/image
 |image  = 
 |size   = 
 |title  = 
 |link   = 
 |border = 
 |alt    = 
}}

Parameters

[سنواريو]
  • image - the image filename, without the "File:" prefix. If the image doesn't exist, an error will be produced. If this is blank, the template will not output anything.
  • size - the image size. The default is 100x100px.
  • title - a title for the image. Displayed as mousover text. This is required if the image is specified.
  • link - a file to link the image to, without the "File:" prefix. If the image doesn't exist, an error will be produced. This should be used to link to the original image page if the displayed image is cropped from another image.
  • border - set to "yes" to give the image a border.
  • alt - the alt text. Defaults to the value of |title=.
{{In the news/image
 |image  = Phil Hughes cropped.jpg
 |size   = 100x100px
 |title  = Phillip Hughes
 |link   = Phil Hughes.jpg
 |border = no
 |alt    = Phillip Hughes
}}
Phillip Hughes