Template:ImageMeta: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 15: | Line 15: | ||
<!-- A compact display box (optional) --> | <!-- A compact display box (optional) --> | ||
<div class="imagemeta" style="border:1px solid #ddd; padding:.6em; background:#fafafa; margin:.8em 0;"> | <div class="imagemeta" style="border:1px solid #ddd; padding:.6em; background:#fafafa; margin:.8em 0;"> | ||
<!-- Float the image to the right --> | |||
{{#if:{{{HasImage|}}}| | |||
<div style="float:right; margin:0 0 .5em .8em;"> | |||
[[{{{HasFile}}}|thumb|200px|{{{HasFile|}}}]] | |||
</div> | |||
}} | |||
{{#if:{{{HasCaption|}}}|'''Caption:''' {{{HasCaption}}}<br/>}} | {{#if:{{{HasCaption|}}}|'''Caption:''' {{{HasCaption}}}<br/>}} | ||
{{#if:{{{ImageID|}}}|'''ID:''' {{{ImageID}}}<br/>}} | {{#if:{{{ImageID|}}}|'''ID:''' {{{ImageID}}}<br/>}} | ||
Revision as of 15:34, 13 November 2025
Use this on File: pages to store image metadata.
Example:
{{ImageMeta
|ImageID=IMG-000123
|HasFile=File:Grain_market_Lviv_1760.jpg
|HasCaption=Grain market in Lviv, c. 1760.
|DepictsPerson=Person:Jacob ben ...
|DepictsPlace=Community:Lviv
|HasLicense=CC BY-SA 4.0
|Rights=© 2025 XYZ Museum
|SourceURL=https://example.org/...
}}