Template:Figure: Difference between revisions
From OpenTreeID Help
Imported from the SquidWeb wiki |
OpenTreeID version: ot- styles and OpenTreeID examples |
||
| Line 1: | Line 1: | ||
<div class=" | <div class="ot-figure" style="max-width:{{{width|455}}}px;">[[File:{{{file}}}|{{{width|455}}}px|link={{{link|File:{{{file}}}}}}|alt={{{alt|{{{caption|}}}}}}]]<div class="ot-figure__caption">{{{caption|}}}</div></div><noinclude> | ||
Screenshot card: bordered image with | Screenshot card: bordered image with a caption strip. Put several inside [[Template:FigureRow]] to show them side by side. | ||
<pre>{{Figure|file= | <pre>{{Figure|file=OTID-Trees-01-list.png|width=455|caption=The Trees list with its filters}}</pre> | ||
Screenshot file names follow <code>OTID-<Module>-<nn>-<what>.png</code>, for example <code>OTID-Certificates-03-design-dialog.png</code>. | |||
{| class="wikitable" | {| class="wikitable" | ||
! Parameter !! Meaning | ! Parameter !! Meaning | ||
Latest revision as of 12:24, 23 October 2026
[[File:{{{file}}}|455px|link=File:{{{file}}}|alt=]]
Screenshot card: bordered image with a caption strip. Put several inside Template:FigureRow to show them side by side.
{{Figure|file=OTID-Trees-01-list.png|width=455|caption=The Trees list with its filters}}
Screenshot file names follow OTID-<Module>-<nn>-<what>.png, for example OTID-Certificates-03-design-dialog.png.
| Parameter | Meaning |
|---|---|
file |
File name without the File: prefix.
|
caption |
Caption strip under the image. Required — pass a short description. |
width |
Width in px. Default 455. |
link |
Page the image links to. Default: the file page. |
alt |
Alt text. Default: the caption. |