ފަންވަތް:Image/doc: Difference between revisions

ވިކިޕީޑިއާ އިންވިކިޕީޑިއާ
Content deleted Content added
Created page with '{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> This template can be used as a wrapper to simplify the inclusion of an image in...'
 
m Bot: Migrating interwiki links, now provided by Wikidata on d:q5625141
 
ފޮޅުވަތް 27: ފޮޅުވަތް 27:
[[Category:Wikipedia metatemplates]]
[[Category:Wikipedia metatemplates]]


[[es:Plantilla:Imagen]]
[[id:Templat:Image]]
[[ja:Template:Image2]]
</includeonly>
</includeonly>

އެންމެ ފަހުން ގެނެވުނު ބަދަލު 19:40, 4 އޮގަސްޓު 2013

This template can be used as a wrapper to simplify the inclusion of an image in a template, where users may use several different forms of syntax.

It is primarily of use in templates and should not be used in articles directly.

Usage[އުނިއިތުރު ގެންނަވާ]

  • {{Image | Example.svg | 20px}} →
  • {{Image | File:Example.svg | 20px}} →
  • {{Image | :File:Example.svg | 20px}} →
  • {{Image | [[File:Example.svg|30px]] | 20px}} →

Note that additional parameters are (deliberately) ignored if full image syntax is passed in the first parameter. You can pass up to five parameters directly otherwise:

  • {{Image | Example.svg | 20px | thumb | none | Foo}} →
    Foo
You can also pass arbitrary parameters accepted by the Image syntax if you separate them with

{{!}}. You may need to number them explicitly if they contain an equals sign "=":

  • {{Image | Example.svg | 2= 20px{{!}}link=Main Page}} →

See also[އުނިއިތުރު ގެންނަވާ]

{{File title}}

{{Linked}}

{{px}}