Template:Image: Difference between revisions
Jump to navigation
Jump to search
WikiSync push v1.1 |
WikiSync push v1.1 |
||
| Line 19: | Line 19: | ||
|HasImageKind={{{HasImageKind|}}} | |HasImageKind={{{HasImageKind|}}} | ||
|HasDate={{{HasDate|}}} | |HasDate={{{HasDate|}}} | ||
}} | }} | ||
| Line 40: | Line 39: | ||
{{#if:{{{HasTimePeriod|}}}| | {{#if:{{{HasTimePeriod|}}}| | ||
{{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | {{#arraymap:{{{HasTimePeriod|}}}|;|@@|{{#set:HasTimePeriod=@@}}|}} | ||
}} | |||
<!-- List: Region --> | |||
{{#if:{{{HasRegion|}}}| | |||
{{#arraymap:{{{HasRegion|}}}|;|@@|{{#set:HasRegion=@@}}|}} | |||
}} | }} | ||
| Line 119: | Line 123: | ||
<tr> | <tr> | ||
<td style="color:#777; padding:0.12em 0.8em 0.12em 0; white-space:nowrap; vertical-align:top;">'''Region'''</td> | <td style="color:#777; padding:0.12em 0.8em 0.12em 0; white-space:nowrap; vertical-align:top;">'''Region'''</td> | ||
<td style="color:#222;">{{{HasRegion}}}</td> | <td style="color:#222;">{{#arraymap:{{{HasRegion|}}}|;|@@|@@|, }}</td> | ||
</tr> | </tr> | ||
}} | }} | ||
| Line 217: | Line 221: | ||
|HasOnlineSource=https://example.org/images/img-001 | |HasOnlineSource=https://example.org/images/img-001 | ||
|HasRights=Public domain | |HasRights=Public domain | ||
|HasRegion=Galicia | |HasRegion=Galicia; Bukovina | ||
|HasLicense=CC0 1.0 | |HasLicense=CC0 1.0 | ||
|HasNILID=NIL-45821 | |HasNILID=NIL-45821 | ||
| Line 235: | Line 239: | ||
* HasTimePeriod — list of text values (semicolon-separated) | * HasTimePeriod — list of text values (semicolon-separated) | ||
* HasOnlineSource — url | * HasOnlineSource — url | ||
* HasRegion — text | * HasRegion — list of text values, controlled vocabulary (semicolon-separated) | ||
* All others — text | * All others — text | ||
</noinclude> | </noinclude> | ||
Revision as of 11:27, 29 July 2026
Use this template on Image: pages to store image metadata.
Example:
{{Image
|HasFile=File:Perl Joseph portrait.jpg
|ImageID=IMG-001
|HasImageCaption=Portrait of Joseph Perl
|HasImageDescription=Black-and-white portrait photograph of Joseph Perl, Galician rabbi and author.
|HasImageKind=Portrait
|HasDate=1880-05-12
|HasSourceDescription=JGaliciaBukovina archive, digitized 2010
|HasOnlineSource=https://example.org/images/img-001
|HasRights=Public domain
|HasRegion=Galicia; Bukovina
|HasLicense=CC0 1.0
|HasNILID=NIL-45821
|DepictsPerson=Person:Q123456
|DepictsPlace=Community:Lviv
|BelongsToTopic=Religion, Rabbinate, Hasidism
|HasTimePeriod=19th century; Pre-WWI
}}
Properties with type notes:
- HasFile — page reference to File: namespace (e.g. File:image.jpg)
- HasDate — SMW Date type (ISO format YYYY-MM-DD or YYYY); requires Property:HasDate declared as type Date in the wiki
- DepictsPerson — list of page references to Person: namespace (semicolon-separated)
- DepictsPlace — list of page references to Community: namespace (semicolon-separated)
- BelongsToTopic — list of text values from controlled vocabulary (semicolon-separated)
- HasTimePeriod — list of text values (semicolon-separated)
- HasOnlineSource — url
- HasRegion — list of text values, controlled vocabulary (semicolon-separated)
- All others — text