Modèl:InfoboxImatge

Un article de Wikipèdia, l'enciclopèdia liura.

Modèl per invocar lo modul LUA del meteis nom. Facha sonque per simplificar lo còdi a las cridas.

Sintaxi[Modificar lo còdi]

{{#invoke:InfoboxImatge|InfoboxImage|image={{{imatge|}}}|size={{{talha|}}}|maxsize={{{talhamax|}}}|sizedefault={{{talhadefècte|}}}|alt={{{auçada|}}}|title={{{títol|}}}|border={{{bordadura|}}}|center={{{centre|}}}|upright={{{dreita|}}}|suppressplaceholder={{{supressionespaci|}}}|link={{{ligam|}}}}}

La foncion dels paramètres es (en anglé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