Məzmuna keç

Şablon:MyImage

AzXP Arxivi saytından
Admin (müzakirə | töhfələr) (Səhifə "<includeonly> <div style="text-align: center; margin: 1em 0;"> {{#if:{{{file|}}}| [[File:{{{file}}}|{{{size|200px}}}|alt={{{alt|Image}}}|link={{#if:{{{link|}}}|{{{link}}}|{{{file}}}}}]] }} {{#if:{{{caption|}}}| <div style="font-size: 90%; color: #555;">{{{caption}}}</div> }} </div> </includeonly> <noinclude> <!-- Documentation: Do not delete this section --> == Usage == Use this template to display an image with optional caption and custom size. *..." məzmunu ilə yaradıldı) tərəfindən edilmiş 14:11, 29 dekabr 2025 tarixli redaktə
(fərq) ← Əvvəlki versiya | Son versiya (fərq) | Sonrakı versiya → (fərq)


Usage

Use this template to display an image with optional caption and custom size.

  • `file` – name of the image file (required)
  • `caption` – caption text (optional)
  • `size` – width (e.g. 250px) (optional default 200px)
  • `link` – page or URL to link the image (optional)

Example:

{{MyImage
|file=Example.jpg
|caption=This is a caption
|size=300px
|link=PageName
}}

You can change the default styles here later if needed.