Difference between revisions of "Template:Metadata"

From OpenMedia
Jump to: navigation, search
m (fix layout problem ''' vs. <b>)
m (singular of properties Creator, Contributor, Country Name, Country Code)
Line 72: Line 72:
 
     -->|§<!--
 
     -->|§<!--
 
     -->|§<!-- output --><!--
 
     -->|§<!-- output --><!--
       + hidden property [[Creators::...| ]]
+
       + hidden property [[Creator::...| ]]
 
       -->{{#ifeq: {{#sub: §|0|1}} |[<!--
 
       -->{{#ifeq: {{#sub: §|0|1}} |[<!--
 
       -->|<!-- wikilink::true --><!--
 
       -->|<!-- wikilink::true --><!--
Line 80: Line 80:
 
         -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
 
         -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
 
             [[User:Name|Name]]
 
             [[User:Name|Name]]
           -->|[[Creators::<!--  
+
           -->|[[Creator::<!--  
 
               -->{{#sub: §<!--
 
               -->{{#sub: §<!--
 
                 -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
 
                 -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
 
                 -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
 
                 -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
               -->}}| ]]<!-- property Creators::end --><!--
+
               -->}}| ]]<!-- property Creator::end --><!--
 
             [[User:Name]]
 
             [[User:Name]]
           -->|[[Creators::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
           -->|[[Creator::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creator::end --><!--
 
         -->}}<!--
 
         -->}}<!--
 
             "user:" → false
 
             "user:" → false
         -->|[[Creators::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
         -->|[[Creator::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creator::end --><!--
 
         -->}}<!-- end:check "User:"--><!--
 
         -->}}<!-- end:check "User:"--><!--
 
       -->|<!-- wikilink::false --><!--
 
       -->|<!-- wikilink::false --><!--
Line 97: Line 97:
 
           -->|{{#sub: §|5}}<!--
 
           -->|{{#sub: §|5}}<!--
 
             "user:" → false
 
             "user:" → false
           -->|[[Creators::§| ]]<!--
+
           -->|[[Creator::§| ]]<!--
 
         -->}}<!--
 
         -->}}<!--
 
       -->}}<!-- ifeq::end check wikilink  --><!--
 
       -->}}<!-- ifeq::end check wikilink  --><!--
Line 103: Line 103:
 
     -->|&#32;•&#32;<!-- separate anew
 
     -->|&#32;•&#32;<!-- separate anew
 
   -->}}<!-- arraymap: end --></td></tr>
 
   -->}}<!-- arraymap: end --></td></tr>
}}<!-- Collection:Creators::true end --><!--
+
}}<!-- Collection:Creator::true end --><!--
  
 
   all other types: Creators should be given
 
   all other types: Creators should be given
 
-->| #default =<tr class="note"><td><b>Creators:</b> {{#if: {{{Creators|}}}<!--
 
-->| #default =<tr class="note"><td><b>Creators:</b> {{#if: {{{Creators|}}}<!--
   -->|<!-- Creators::true --><!--
+
   -->|<!-- Creator::true --><!--
 
   -->{{#arraymap:  {{{Creators}}}<!--
 
   -->{{#arraymap:  {{{Creators}}}<!--
 
     -->|;<!--
 
     -->|;<!--
 
     -->|§<!--
 
     -->|§<!--
 
     -->|§<!-- output --><!--
 
     -->|§<!-- output --><!--
       + hidden property [[Creators::...| ]]
+
       + hidden property [[Creator::...| ]]
 
       -->{{#ifeq: {{#sub: §|0|1}} |[<!--
 
       -->{{#ifeq: {{#sub: §|0|1}} |[<!--
 
       -->|<!-- wikilink::true --><!--
 
       -->|<!-- wikilink::true --><!--
Line 120: Line 120:
 
         -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
 
         -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
 
             [[User:Name|Name]]
 
             [[User:Name|Name]]
           -->|[[Creators::<!--  
+
           -->|[[Creator::<!--  
 
               -->{{#sub: §<!--
 
               -->{{#sub: §<!--
 
                 -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
 
                 -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
 
                 -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
 
                 -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
               -->}}| ]]<!-- property Creators::end --><!--
+
               -->}}| ]]<!-- property Creator::end --><!--
 
             [[User:Name]]
 
             [[User:Name]]
           -->|[[Creators::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
           -->|[[Creator::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creator::end --><!--
 
         -->}}<!--
 
         -->}}<!--
 
             "user:" → false
 
             "user:" → false
         -->|[[Creators::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
         -->|[[Creator::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creator::end --><!--
 
         -->}}<!-- end:check "User:"--><!--
 
         -->}}<!-- end:check "User:"--><!--
 
       -->|<!-- wikilink::false --><!--
 
       -->|<!-- wikilink::false --><!--
Line 137: Line 137:
 
           -->|{{#sub: §|5}}<!--
 
           -->|{{#sub: §|5}}<!--
 
             "user:" → false
 
             "user:" → false
           -->|[[Creators::§| ]]<!--
+
           -->|[[Creator::§| ]]<!--
 
         -->}}<!--
 
         -->}}<!--
 
       -->}}<!-- ifeq::end check wikilink  --><!--
 
       -->}}<!-- ifeq::end check wikilink  --><!--
Line 143: Line 143:
 
     -->|&#32;•&#32;<!-- separate anew
 
     -->|&#32;•&#32;<!-- separate anew
 
   -->}}<!-- arraymap: end --><!--
 
   -->}}<!-- arraymap: end --><!--
-->|<!-- Creators::false --><span style="color:#646D7E">(Please consider adding this information)<!--
+
-->|<!-- Creator::false --><span style="color:#646D7E">(Please consider adding this information)<!--
 
     + Category
 
     + Category
 
   -->[[Category:Missing - creator unknown]]</span>
 
   -->[[Category:Missing - creator unknown]]</span>
Line 152: Line 152:
 
-->{{
 
-->{{
 
#if: {{{Contributors<includeonly>|</includeonly>}}}
 
#if: {{{Contributors<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Contributors:</b>{{#arraymap:{{{Contributors|}}}|;|x|[[Contributors::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Contributors:</b>{{#arraymap:{{{Contributors|}}}|;|§|[[Contributor::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Statement<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Statement<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Attribution:</b> {{#arraymap:{{{Attribution Statement}}}|;|x|[[Attribution Statement::x]]|&#32;•&#32;}}<!-- {{BulletSep|1={{{Attribution Statement}}} }} --></td></tr>
+
|<tr class="note"><td><b>Attribution:</b> {{#arraymap:{{{Attribution Statement}}}|;|§|[[Attribution Statement::§]]|&#32;•&#32;}}<!-- {{BulletSep|1={{{Attribution Statement}}} }} --></td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Logo URL<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Logo URL<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Attribution Logo URL:</b> {{#arraymap:{{{Attribution Logo URL|}}}|;|x|[[Attribution Logo URL::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Attribution Logo URL:</b> {{#arraymap:{{{Attribution Logo URL|}}}|;|§|[[Attribution Logo URL::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Link URL<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Link URL<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Attribution Link URL:</b> {{#arraymap:{{{Attribution Link URL|}}}|;|x|[[Attribution Link URL::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Attribution Link URL:</b> {{#arraymap:{{{Attribution Link URL|}}}|;|§|[[Attribution Link URL::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Copyright Owner<includeonly>|</includeonly>}}}
 
#if: {{{Copyright Owner<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Copyright Owner:</b> {{#arraymap:{{{Copyright Owner|}}}|;|x|[[Copyright Owner::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Copyright Owner:</b> {{#arraymap:{{{Copyright Owner|}}}|;|§|[[Copyright Owner::§]]|&#32;•&#32;}}</td></tr>
 
}}{{#switch: {{{Type}}}<!-- Copyright, License, Country Code, World Region required, except for Type=Collection:-->
 
}}{{#switch: {{{Type}}}<!-- Copyright, License, Country Code, World Region required, except for Type=Collection:-->
 
| Collection=<!-- Display only if present: -->{{
 
| Collection=<!-- Display only if present: -->{{
Line 185: Line 185:
 
   }}{{
 
   }}{{
 
   #if: {{{Country Names<includeonly>|</includeonly>}}}
 
   #if: {{{Country Names<includeonly>|</includeonly>}}}
   |<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|x|[[Country Names::x]]|&#32;•&#32;}}</td></tr>
+
   |<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§]]|&#32;•&#32;}}</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{Country Codes<includeonly>|</includeonly>}}}
 
   #if: {{{Country Codes<includeonly>|</includeonly>}}}
   |<tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b> {{#arraymap:{{{Country Codes|}}}|;|x|[[Country Codes::x]]|&#32;•&#32;}}</td></tr><!--
+
   |<tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b> {{#arraymap:{{{Country Codes|}}}|;|§|[[Country Code::§]]|&#32;•&#32;}}</td></tr><!--
 
-->}}
 
-->}}
 
| #default =<!-- Display a notice if certain fields are missing:  
 
| #default =<!-- Display a notice if certain fields are missing:  
Line 212: Line 212:
 
       -->[[World Region::{{{World Region|}}}| ]]</td></tr>
 
       -->[[World Region::{{{World Region|}}}| ]]</td></tr>
 
   {{#if: {{{Country Names<includeonly>|</includeonly>}}}<!--  
 
   {{#if: {{{Country Names<includeonly>|</includeonly>}}}<!--  
   -->|<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|x|[[Country Names::x]]|&#32;•&#32;}}</td></tr>
+
   -->|<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§]]|&#32;•&#32;}}</td></tr>
 
   }}<!--
 
   }}<!--
 
   --><tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b><!--  
 
   --><tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b><!--  
Line 220: Line 220:
 
         -->|{{{Country Codes|}}}<!--
 
         -->|{{{Country Codes|}}}<!--
 
         -->|2=<span style="color:#646D7E">(Desirable information missing!)</span><!--  
 
         -->|2=<span style="color:#646D7E">(Desirable information missing!)</span><!--  
         -->{{#arraymap:{{{Country Names|}}}|;|x|[[Country Names::x| ]]|}}<!-- arraymap  
+
         -->{{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§| ]]|}}<!-- arraymap  
 
       -->}}<!--  
 
       -->}}<!--  
 
     -->}}<!-- BulletSep--></td></tr>
 
     -->}}<!-- BulletSep--></td></tr>
Line 248: Line 248:
 
   -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
   -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
     -->|;<!--  
 
     -->|;<!--  
     -->|x<!--  
+
     -->|§<!--  
     -->|[[Subject Category::x]][[Category:x]]|&#32;•&#32;<!--  
+
     -->|[[Subject Category::§]][[Category:§]]|&#32;•&#32;<!--  
 
   -->}}</includeonly>
 
   -->}}</includeonly>
 
}}
 
}}
Line 257: Line 257:
 
       -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
       -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
         -->|;<!--  
 
         -->|;<!--  
         -->|x<!--  
+
         -->|§<!--  
         -->|[[Subject Category::x]][[Category:x]]|&#32;•&#32;<!--  
+
         -->|[[Subject Category::§]][[Category:§]]|&#32;•&#32;<!--  
 
       -->}}</includeonly><!--  
 
       -->}}</includeonly><!--  
 
     -->| <span style="color:#646D7E">(Desirable information missing!)</span><!--  
 
     -->| <span style="color:#646D7E">(Desirable information missing!)</span><!--  
Line 268: Line 268:
 
       -->{{#arraymap:{{#replace: {{{General Keywords|}}}|,|;}}<!--  
 
       -->{{#arraymap:{{#replace: {{{General Keywords|}}}|,|;}}<!--  
 
         -->|;<!--  
 
         -->|;<!--  
         -->|x<!--  
+
         -->|§<!--  
         -->|[[General Keywords::x]][[Category:x]]|&#32;•&#32;<!--  
+
         -->|[[General Keywords::§]][[Category:§]]|&#32;•&#32;<!--  
 
       -->}}</includeonly></td></tr>
 
       -->}}</includeonly></td></tr>
 
}}{{
 
}}{{
Line 291: Line 291:
 
}}{{
 
}}{{
 
#if: {{{Identified By<includeonly>|</includeonly>}}}
 
#if: {{{Identified By<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Identified By:</b> {{#arraymap:{{{Identified By|}}}|;|x|[[Identified By::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Identified By:</b> {{#arraymap:{{{Identified By|}}}|;|§|[[Identified By::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Common Names<includeonly>|</includeonly>}}}
 
#if: {{{Common Names<includeonly>|</includeonly>}}}
|<tr class="note"><td><b>Common Names:</b> {{#arraymap:{{{Common Names|}}}|;|x|[[Common Name::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><td><b>Common Names:</b> {{#arraymap:{{{Common Names|}}}|;|§|[[Common Name::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Associated Specimen ID<includeonly>|</includeonly>}}}
 
#if: {{{Associated Specimen ID<includeonly>|</includeonly>}}}
Line 462: Line 462:
 
}}{{
 
}}{{
 
#if: {{{Host Application<includeonly>|</includeonly>}}}
 
#if: {{{Host Application<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;"><span title="Host application required by the resource">[[Resource Host Application|Host App.]]</span></th><td>{{#arraymap:{{{Host Application|}}}|;|x|[[Host Application::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;"><span title="Host application required by the resource">[[Resource Host Application|Host App.]]</span></th><td>{{#arraymap:{{{Host Application|}}}|;|§|[[Host Application::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Target System<includeonly>|</includeonly>}}}
 
#if: {{{Target System<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Target System|Target System]]</th><td>{{#arraymap:{{{Target System|}}}|;|x|[[Target System::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Target System|Target System]]</th><td>{{#arraymap:{{{Target System|}}}|;|§|[[Target System::§]]|&#32;•&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{ID Tool Structure<includeonly>|</includeonly>}}}
 
#if: {{{ID Tool Structure<includeonly>|</includeonly>}}}
Line 489: Line 489:
 
| multi-entry; dichotomous; browsing
 
| multi-entry; dichotomous; browsing
 
| multi-entry; polytomous; browsing ={{BulletSep|1={{{ID Tool Structure}}} }}
 
| multi-entry; polytomous; browsing ={{BulletSep|1={{{ID Tool Structure}}} }}
| #default=<span style="color:red">'{{{ID Tool Structure}}}' is no recognized value for the structure of identification tools. Please specify something like ‘n/a’, ‘dichotomous’ or ‘multi-access’. For more values see [[Template:Metadata|documentation]].</span>{{#arraymap:{{{ID Tool Structure|}}}|;|x|[[ID Tool Structure::x| ]]|}}
+
| #default=<span style="color:red">'{{{ID Tool Structure}}}' is no recognized value for the structure of identification tools. Please specify something like ‘n/a’, ‘dichotomous’ or ‘multi-access’. For more values see [[Template:Metadata|documentation]].</span>{{#arraymap:{{{ID Tool Structure|}}}|;|§|[[ID Tool Structure::§| ]]|}}
 
}}</td></tr>
 
}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Exchange Formats<includeonly>|</includeonly>}}}
 
#if: {{{Exchange Formats<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Exchange Formats]]</th><td>{{#arraymap:{{{Exchange Formats|}}}|;|x|[[Exchange Formats::x]]|&#32;•&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Exchange Formats]]</th><td>{{#arraymap:{{{Exchange Formats|}}}|;|§|[[Exchange Formats::§]]|&#32;•&#32;}}</td></tr>
 
}}
 
}}
 
</table>
 
</table>

Revision as of 20:50, 15 January 2014

Documentation of this template
{{{Title}}}
Description:
Caption:
Content Modification:
Creation Technique:

Creators: (Please consider adding this information)
Contributors:
Attribution: {{{Attribution Statement}}}
Attribution Logo URL:
Attribution Link URL:
Copyright Owner:
Copyright Statement: Copyrighted Material; the copyright remains with the author (not this web publication)
License Statement: Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)
License URL:
World Region: (Desirable information missing!)
Country Names:
Country Codes:(Desirable information missing!)
State or Province:
County or Subprovince:
City or Place Name:
Locality:
Subject Category:
General Keywords:
Setting: {{{Setting}}}
Taxonomic Coverage:
Taxonomic Coverage: {{{Lowest Common Taxon}}}
Scientific Names:
Scientific Names (w. Auth.):
Scientific Name Synonyms:
Identified By:
Common Names:
Associated Specimen ID:
Associated Observation ID:
Association Info:
Published Source:
Peer Reviewer Name:
Peer Reviewer Comments:
TypeType=‹empty›” is no recognized value. Valid values are for instance: “StillImage”, “Movie” or “IdentificationTool”. Details see documentation.
Subtype
Rating
Language undetermined (und)
Original Creation Date
Accession Date
Digitization Date
Modified
Resource ID
Metadata Creator
Metadata Manager
Metadata Copyright Owner
Metadata Modified{{{Metadata Modified}}}
Geocoordinates
Elevation
Depth
Compass Heading
Taxon Count{{{Taxon Count}}}
Subject Part
Subject Sex
Subject Life Stage
Subject Orientation
Derived From
Other Versions
Format
Offline Use{{{Offline Use}}}
Interactivity{{{Interactivity}}}
Host App.
Target System
ID Tool Structure{{{ID Tool Structure}}}
Exchange Formats
— Collection: [[{{{Collection Page}}}]] — Provided by: [[{{{Provider Page}}}]]


[edit]

Documentation

The metadata template[1] allows you to store metadata on external resources, especially identification tools or media resources, directly in a Wiki page. The template supports a number of metadata fields, some of which will only rarely be used. The set of metadata fields was decided upon in collaboration between Key to Nature, NBII, GBIF-MRTG, and Morphbank (see Resource Metadata Exchange Agreement on Key to Nature).

Resource collections are considered just another type of resources and can be described using the same template (using Type=Collection instead of Type=StillImage, IdentificationTool, etc.).

The importance of the metadata template is that it contains structured information that can be read by software agents. While it is possible to do some searches directly in the Wiki, software agents reading the information into a database can do more complex external queries. It is possible to design the system such that metadata editing is done directly in external databases, but we believe that the current solution has some advantages. For high value resources such as collections or identification tools, contributors are free to structure a special wiki page describing their resource in text and images, the structured metadata record being just a small part of that information. In other cases, where metadata are typically batch converted and submitted from another database, the Wiki-submission offers a simple low-tech and accessible method for batch submission, including some support for syntax checking on behalf of the submitter.

You can use this form to edit metadata:

 


See How to add resource metadata on the Wiki for further information.

  1. A template is a Wiki page that, using a syntax of "{{pagename | parameter1=value1 | parameter2=value2 }}", can be called with parameters and thus reused many times.



Test records

Documentation of this template
Search media by metadata
English

Ascochyta allii-cepae

Description:
English: This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text.

Creators: Mr. Smith
Copyright Statement: (c) xyz xxx
License Statement: Creative commons cc-by-sa 3.0
World Region: (Desirable information missing!)
Country Codes: (Desirable information missing!)
Subject Category: Fungi
Scientific Names: Ascochyta allii-cepae
Scientific Names with Author: Ascochyta allii-cepae Punith., Gladders & McKeown.
Type:StillImage
Language:no linguistic content (zxx)
Resource ID:768479362
Taxon Count:1
Interactivity:hyperlinked
ID Tool Structure:Dichotomous

This record was specified as below (raw edit view):

{{Metadata
| Type=StillImage
| Title=Ascochyta allii-cepae 
| Creators = Mr. Smith
| Description = {{Metadata/Description|language code=en|content=This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text. This can be long text, describing the item in free-form text.}}
| Metadata Language=en 
| Language=zxx
| Resource ID=768479362 
| Copyright Statement= (c) xyz xxx 
| License Statement=Creative commons cc-by-sa 3.0
| Scientific Names=Ascochyta allii-cepae;
| Scientific Names with Author=Ascochyta allii-cepae Punith., Gladders & McKeown.;
| Taxon Count= 20 
| Taxon Count= 1
| Interactivity = hyperlinked | ID Tool Structure = Dichotomous 
| Best Quality URI=http://160.45.63.11/Storage/Fungi/Coelos/AscochytaPunith/edt/AscP88-006.png
| Best Quality Availability=online (login)
| Medium Quality URI=http://160.45.63.11/Storage/Fungi/Coelos/AscochytaPunith/low/AscP88-006.png
| Medium Quality Availability=online (free)
}}

Note that blanks before or after the "=", and new lines between metadata fields do not matter. Also, the sequence of parameters does not matter. If parameters are repeated, only the last occurrence of the parameter will define the value (compare Taxon Count in the example above).

As shown below this template tries to give apropriate information if something is missing:

Documentation of this template
Search media by metadata
Example for erroneous resource type and missing URI
Creators: (Please consider adding this information)
Copyright Statement: Copyrighted Material; the copyright remains with the author (not this web publication)
License Statement: Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)
World Region: (Desirable information missing!)
Country Codes: (Desirable information missing!)
Subject Category: (Desirable information missing!)
Type:Type=Image” is no recognized value. Did you mean “StillImage”?
Language:undetermined (und)
Interactivity:'interactive' is no recognized value for interactivity; please use ‘n/a’, ‘static’, ‘hyperlinked’ or ‘dynamic’.
ID Tool Structure:'dichtomous' is no recognized value for the structure of identification tools. Please specify something like ‘n/a’, ‘dichotomous’ or ‘multi-access’. For more values see documentation.

A minimum example can look like:

{{Metadata
| Type  = StillImage
| Title = Bombus barbutellus color pattern (female)
| Scientific Names    = Bombus barbutellus;
| Metadata Language   = en 
| Language = zxx
| Copyright Statement = © Paul Williams, NHM
| Creators  = Paul Williams - NHM
| Subject Category    = Insecta
| General Keywords    = Schematic drawings; Bumblebees;
}}


Additional temporary or technical documentation

This metadata infobox is full width, non-floating. It has two columns of fields (i.e. 3-4 table column) in the middle, plus some fields column spanning as a Header (Title, Logo, Descriptions) and Footer (URIs). Not all fields are labeled; those that are not are labeled with a tooltip (pop-up if mouse hovers).

Used semantic properties

Additional properties are:

Further semantic properties are named after the template parameters, but note that most of them are mapped in the property name space to well defined ontology vocabulary concepts using the import mechanism by Semantic Media Wiki.

Dependencies

Template:WikiSyntaxToHTMLEntities 
replace simple Wiki syntax to HTML
Template:Metadata/Description 
for template parameter “description” a language specific description
Template:Metadata/Caption 
for template parameter “caption” a language specific caption
Template:Metadata/List to property 
for “Creators”, “Contributors” or “Copyright Owner” (remove Wiki syntax like [[User:…]])
Form:Metadata 
form for metadata
Template:Edit or create metadata 
form for creating metadata
Form:Search media by metadata 
form for searching metadata
Template:Search media by metadata 
template for searching metadata




Additional temporary or technical documentation

This metadata infobox is full width, non-floating. It has two columns of fields (i.e. 3-4 table column) in the middle, plus some fields column spanning as a Header (Title, Logo, Descriptions) and Footer (URIs). Not all fields are labeled; those that are not are labeled with a tooltip (pop-up if mouse hovers).