Templat:InfoboxImage

Dari Wiki Javasatu
Loncat ke navigasi Loncat ke pencarian

Plantilla per a invocar el mòdul LUA del mateix nom. Feta tan sols per simplificar el codi a les crides.

Sintaxi[sunting sumber]

{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{size|}}}|maxsize={{{maxsize|}}}|sizedefault={{{sizedefault|}}}|alt={{{alt|}}}|title={{{title|}}}|border={{{border|}}}|center={{{center|}}}|upright={{{upright|}}}|suppressplaceholder={{{suppressplaceholder|}}}|link={{{link|}}}}}

La funció dels paràmetres és:

  • image - Can either be a bare filename (with or without the File:/Image: prefix) or a fully formatted image link
  • size - size to display the image
  • maxsize - maximum size for image
  • sizedefault - default size to display the image if size param is blank
  • alt - alt text for image
  • title - title text for image
  • border - set to yes if border
  • center - set to yes, if the image has to be centered
  • upright - upright image param
  • suppressplaceholder - if yes then checks to see if image is a placeholder and suppresses it
  • link - page to visit when clicking on image

categoria:Plantilles de format Categoria:Plantilles per a imatges