Difference between revisions of "Template:Metadata"

From OpenMedia
Jump to: navigation, search
m (+parameter Other Versions)
m (: colon for right column labels too)
 
(28 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
   defaults, URI is not supported.
 
   defaults, URI is not supported.
  
 +
  Additional semantics
 +
--><includeonly><!--
 +
-->[[ac:furtherInformationURL::{{FULLURL: {{FULLPAGENAMEE}} }}| ]]<!--
 +
-->[[dwc:associatedMedia::{{FILEPATH: {{PAGENAMEE}} }}| ]]<!--
 +
--></includeonly><!--
  
--><table class="infobox" style="float:none; font-size:90%; width:99%; background:#F0F8FF" width="99%"><!--
+
--><table class="infobox" style="float:none; font-size:90%; width:99%; background:#F0F8FF;table-layout:fixed;" width="99%"><!--
 
=== HEADER: Start === -->
 
=== HEADER: Start === -->
 
<tr><th colspan="2" style="padding:4px;{{#switch:{{{Type}}}|Collection=background:#E5925B|Sound=background:#D76D9C
 
<tr><th colspan="2" style="padding:4px;{{#switch:{{{Type}}}|Collection=background:#E5925B|Sound=background:#D76D9C
Line 12: Line 17:
 
#if:{{{Logo|}}}
 
#if:{{{Logo|}}}
 
|<div style="float:left">{{{Logo<includeonly>|</includeonly>}}}</div>
 
|<div style="float:left">{{{Logo<includeonly>|</includeonly>}}}</div>
|[[File:Gtk-dialog-info.svg|left|x22px|link=http://www.species-id.net/openmedia/Template:Metadata|Documentation of this template]]
+
|<div style="float:left">[[File:Gtk-dialog-info.svg|x22px|link=http://www.species-id.net/openmedia/Template:Metadata|Documentation of this template]]</div> <div style="float:left;margin-left:1.5em;">[[File:Crystal Clear action find.png|x22px|link=http://species-id.net/openmedia/Special:RunQuery/Search_media_by_metadata|Search media by metadata]]</div>
 
}}{{
 
}}{{
 
#if:{{{Metadata Language|}}}
 
#if:{{{Metadata Language|}}}
Line 31: Line 36:
 
| {{#if: {{{Caption<includeonly>|</includeonly>}}}
 
| {{#if: {{{Caption<includeonly>|</includeonly>}}}
 
   |<!-- Descri.+ Caption: Use Labels for both
 
   |<!-- Descri.+ Caption: Use Labels for both
   --><tr class="note"><td colspan="2">''Description:'' <span title="Content of Description field">{{{Description|}}}<!--  
+
   --><tr class="note"><td colspan="2" ><table class="vertical-align-top"><tr><td>''Description:''</td><td><span title="Content of Description field"><!--
    +hidden property-->[[Description::{{WikiSyntaxToHTMLEntities|{{{Description|}}}}}| ]]</span></td></tr><!--
+
  -->{{#ifeq: {{#sub:{{{Description}}}|0|{{#len: <span class="has-language-specific-description"></span>}}}}|<span class="has-language-specific-description"></span><!--
   --><tr class="note"><td colspan="2">''Caption:'' <span title="Content of Caption field">{{{Caption|}}}<!--  
+
  then let template {{Metadata/Description}} operate
    +hidden property-->[[Caption::{{WikiSyntaxToHTMLEntities|{{{Caption|}}}}}| ]]</span></td></tr>
+
  -->|{{{Description|}}}<!--
   |<!-- Description only: No label --><tr class="note"><td colspan="2" title="Content of Description field">{{{Description|}}}<!--  
+
  else just text+hidden property
    +hidden property-->[[Description::{{WikiSyntaxToHTMLEntities|{{{Description|}}}}}| ]]</td></tr>
+
  -->|{{{Description|}}}<!-- +hidden property -->[[Description::{{WikiSyntaxToHTMLEntities|{{{Description|}}}}}| ]]<!--
 +
  -->}}<!-- ifeq {{{Description}}}
 +
    --></span></td></tr><!--
 +
   --><tr class="note"><td>''Caption:''</td><td><span title="Content of Caption field"><!--
 +
  -->{{#ifeq: {{#sub:{{{Caption}}}|0|{{#len: <span class="has-language-specific-caption"></span>}}}}|<span class="has-language-specific-caption"></span><!--
 +
  then let template {{Metadata/Caption}} operate
 +
  -->|{{{Caption|}}}<!--
 +
  else just text+hidden property
 +
  -->|{{{Caption|}}}<!-- +hidden property -->[[Caption::{{WikiSyntaxToHTMLEntities|{{{Caption|}}}}}| ]]<!--
 +
  -->}}<!-- ifeq {{{Caption}}}
 +
  --></span></td></tr></table></td></tr>
 +
   |<!-- Description only: No caption
 +
  --><tr class="note"><td colspan="2" ><table class="vertical-align-top"><tr><td>''Description:''</td><td title="Content of Description field"><!--
 +
  -->{{#ifeq: {{#sub:{{{Description}}}|0|{{#len: <span class="has-language-specific-description"></span>}}}}|<span class="has-language-specific-description"></span><!--
 +
  then let template {{Metadata/Description}} operate
 +
  -->|{{{Description|}}}<!--
 +
  else just text+hidden property
 +
  -->|{{{Description|}}}<!-- +hidden property -->[[Description::{{WikiSyntaxToHTMLEntities|{{{Description|}}}}}| ]]<!--
 +
  -->}}<!-- ifeq {{{Description}}}
 +
    --></td></tr></table></td></tr>
 
   }}
 
   }}
 
|<!-- no description, but perhaps caption:-->{{#if: {{{Caption<includeonly>|</includeonly>}}}
 
|<!-- no description, but perhaps caption:-->{{#if: {{{Caption<includeonly>|</includeonly>}}}
   |<!-- Caption only: No label
+
   |<!-- Caption only: No description
   --><tr class="note"><td colspan="2" title="Content of Caption field">{{{Caption|}}}<!--  
+
   --><tr class="note"><td colspan="2" ><table class="vertical-align-top"><tr><td>''Caption:''</td><td title="Content of Caption field"><!--
   +hidden property-->[[Caption::{{WikiSyntaxToHTMLEntities|{{{Caption|}}}}}| ]]</td></tr>
+
  -->{{#ifeq: {{#sub:{{{Caption}}}|0|{{#len: <span class="has-language-specific-caption"></span>}}}}|<span class="has-language-specific-caption"></span><!--
 +
   then let template {{Metadata/Caption}} operate
 +
  -->|{{{Caption|}}}<!--
 +
  else just text+hidden property
 +
  -->|{{{Caption|}}}<!-- +hidden property -->[[Caption::{{WikiSyntaxToHTMLEntities|{{{Caption|}}}}}| ]]<!--
 +
  -->}}<!-- ifeq {{{Caption}}}
 +
  --></td></tr></table></td></tr>
 
   }}
 
   }}
 
}}{{
 
}}{{
Line 62: Line 92:
  
 
-->
 
-->
<table style="background-color:transparent">
+
<table class="vertical-align-top" style="background-color:transparent;width:100%;table-layout:fixed;white-space:pre-wrap;word-wrap:break-word;">
 
<!-- NOTE: currently left column table has single column with field names and text directly concatenated. In the right column these are separated into columns, aligning the fields --><!--
 
<!-- NOTE: currently left column table has single column with field names and text directly concatenated. In the right column these are separated into columns, aligning the fields --><!--
 
* Creators required, except for Type=Collection {{{Creators}}} can be empty
 
* Creators required, except for Type=Collection {{{Creators}}} can be empty
 
-->{{#switch: {{{Type}}}<!--
 
-->{{#switch: {{{Type}}}<!--
 
   -->|Collection={{#if: {{{Creators|}}}<!--
 
   -->|Collection={{#if: {{{Creators|}}}<!--
   -->|<tr class="note"><td>'''Creators:'''<!--
+
   -->|<tr class="note"><td><b>Creators:</b> <!--
  -->{{#arraymap:  {{{Creators}}}<!--
+
  -->{{Metadata/List to property|list={{{Creators|}}}|property=Creator|sep=;&#32;}}<!-- --></td></tr>
    -->|;<!--
+
}}<!-- Collection:Creator::true end --><!--
    -->|§<!--
+
    -->|§<!-- output --><!--
+
      + hidden property [[Creators::...| ]]
+
      -->{{#ifeq: {{#sub: §|0|1}} |[<!--
+
      -->|<!-- wikilink::true --><!--
+
        check "User:"
+
        -->{{#ifeq: {{lc: {{#sub: §|2|5}}<!-- -->}} |user:<!--
+
            "user:" → true
+
        -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
+
            [[User:Name|Name]]
+
          -->|[[Creators::<!--
+
              -->{{#sub: §<!--
+
                -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
+
                -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
+
              -->}}| ]]<!-- property Creators::end --><!--
+
            [[User:Name]]
+
          -->|[[Creators::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
        -->}}<!--
+
            "user:" → false
+
        -->|[[Creators::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
        -->}}<!-- end:check "User:"--><!--
+
      -->|<!-- wikilink::false --><!--
+
        check "User:"
+
        -->{{#ifeq: {{lc: §}} |user:<!--
+
            "user:" → true
+
          -->|{{#sub: §|5}}<!--
+
            "user:" → false
+
          -->|[[Creators::§| ]]<!--
+
        -->}}<!--
+
      -->}}<!-- ifeq::end check wikilink  --><!--
+
    --><!--
+
    -->|&#32;&#32;<!-- separate anew
+
  -->}}<!-- arraymap: end --></td></tr>
+
}}<!-- Collection:Creators::true end --><!--
+
  
 
   all other types: Creators should be given
 
   all other types: Creators should be given
-->| #default =<tr class="note"><td>'''Creators:''' {{#if: {{{Creators|}}}<!--
+
-->| #default =<tr class="note"><td><b>Creators:</b> {{#if: {{{Creators|}}}<!--
  -->|<!-- Creators::true --><!--
+
  then-->|<!-- -->{{Metadata/List to property|list={{{Creators|}}}|property=Creator|sep=;&#32;}}<!--
  -->{{#arraymap: {{{Creators}}}<!--
+
  else-->|<!-- --><span style="color:#646D7E">(Please consider adding this information)<!--
    -->|;<!--
+
    -->|§<!--
+
    -->|§<!-- output --><!--
+
      + hidden property [[Creators::...| ]]
+
      -->{{#ifeq: {{#sub: §|0|1}} |[<!--
+
      -->|<!-- wikilink::true --><!--
+
        check "User:"
+
        -->{{#ifeq: {{lc: {{#sub: §|2|5}}<!-- -->}} |user:<!--
+
            "user:" → true
+
        -->|{{#ifexpr: {{#pos: §|{{!}}<!-- -->}}<!--
+
            [[User:Name|Name]]
+
          -->|[[Creators::<!--
+
              -->{{#sub: §<!--
+
                -->|<!-- start  -->{{#expr: {{#pos: §|{{!}}<!-- -->}} + 1 }}<!--
+
                -->|<!-- length -->{{#expr: {{#len: §}}  - 2 - {{#pos: §|{{!}}<!-- -->}} -1 <!-- -->}}<!--
+
              -->}}| ]]<!-- property Creators::end --><!--
+
            [[User:Name]]
+
          -->|[[Creators::{{#sub: §|{{#expr: 2 + 5}}|{{#expr: {{#len: §}} - 2 - 5 -2}}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
        -->}}<!--
+
            "user:" → false
+
        -->|[[Creators::{{#sub:§|2|{{#expr: {{#len: §}} - 2 - 2 }}<!-- -->}}| ]]<!-- property Creators::end --><!--
+
        -->}}<!-- end:check "User:"--><!--
+
      -->|<!-- wikilink::false --><!--
+
        check "User:"
+
        -->{{#ifeq: {{lc: §}} |user:<!--
+
            "user:" → true
+
          -->|{{#sub: §|5}}<!--
+
            "user:" → false
+
          -->|[[Creators::§| ]]<!--
+
        -->}}<!--
+
      -->}}<!-- ifeq::end check wikilink  --><!--
+
    --><!--
+
    -->|&#32;&#32;<!-- separate anew
+
  -->}}<!-- arraymap: end --><!--
+
-->|<!-- Creators::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 113:
 
-->{{
 
-->{{
 
#if: {{{Contributors<includeonly>|</includeonly>}}}
 
#if: {{{Contributors<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Contributors:'''{{#arraymap:{{{Contributors|}}}|;|x|[[Contributors::x]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>Contributors:</b> {{Metadata/List to property|list={{{Contributors|}}}|property=Contributor|sep=;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Statement<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Statement<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Attribution:''' {{#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;}}<!-- {{BulletSep|1={{{Attribution Statement}}} }} --></td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Logo URL<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Logo URL<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Attribution Logo URL:''' {{#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;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Attribution Link URL<includeonly>|</includeonly>}}}
 
#if: {{{Attribution Link URL<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Attribution Link URL:''' {{#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;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Copyright Owner<includeonly>|</includeonly>}}}
 
#if: {{{Copyright Owner<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Copyright Owner:''' {{#arraymap:{{{Copyright Owner|}}}|;|x|[[Copyright Owner::x]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>Copyright Owner:</b> {{Metadata/List to property|list={{{Copyright Owner|}}}|property=Copyright Owner|sep=;&#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: -->{{
 
   #if: {{{Copyright Statement<includeonly>|</includeonly>}}}
 
   #if: {{{Copyright Statement<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''Copyright Statement:'''[[Copyright Statement::{{{Copyright Statement|}}}]]</td></tr>
+
   |<tr class="note"><td><b>Copyright Statement:</b> [[Copyright Statement::{{{Copyright Statement|}}}]]</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{License Statement<includeonly>|</includeonly>}}}
 
   #if: {{{License Statement<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''License Statement:'''[[License Statement::{{{License Statement|Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)}}}]]</td></tr>
+
   |<tr class="note"><td><b>License Statement:</b> [[License Statement::{{{License Statement|Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)}}}]]</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{License URL<includeonly>|</includeonly>}}}
 
   #if: {{{License URL<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''License URL:''' [[License URL::{{{License URL|}}}]]</td></tr>
+
   |<tr class="note"><td><b>License URL:</b> [[License URL::{{{License URL|}}}]]</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{World Region<includeonly>|</includeonly>}}}
 
   #if: {{{World Region<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''World Region:''' [[World Region::{{{World Region|}}}]]</td></tr>
+
   |<tr class="note"><td><b>World Region:</b> [[World Region::{{{World Region|}}}]]</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{Common Geoarea Name<includeonly>|</includeonly>}}}
 
   #if: {{{Common Geoarea Name<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''Common Geoarea Name:''' (deprecated, please use World Region instead!) <!--
+
   |<tr class="note"><td><b>Common Geoarea Name:</b> (deprecated, please use World Region instead!) <!--
 
   === Common Geoarea Name is deprecated! At the moment still supported: ===
 
   === Common Geoarea Name is deprecated! At the moment still supported: ===
 
   --> {{{Common Geoarea Name|}}}</td></tr>
 
   --> {{{Common Geoarea Name|}}}</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{Country Names<includeonly>|</includeonly>}}}
 
   #if: {{{Country Names<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''Country Names:''' {{#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;}}</td></tr>
 
   }}{{
 
   }}{{
 
   #if: {{{Country Codes<includeonly>|</includeonly>}}}
 
   #if: {{{Country Codes<includeonly>|</includeonly>}}}
   |<tr class="note"><td>'''[[ISO Country Codes|Country Codes]]:''' {{#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;}}</td></tr><!--
 
-->}}
 
-->}}
 
| #default =<!-- Display a notice if certain fields are missing:  
 
| #default =<!-- Display a notice if certain fields are missing:  
   --><tr class="note"><td>'''Copyright Statement:''' <!--  
+
   --><tr class="note"><td><b>Copyright Statement:</b> <!--  
 
     -->[[Copyright Statement::{{First-of<!--
 
     -->[[Copyright Statement::{{First-of<!--
 
       -->|1={{{Copyright Statement|}}}<!--  
 
       -->|1={{{Copyright Statement|}}}<!--  
 
       -->|2=Copyrighted Material; the copyright remains with the author (not this web publication)}}<!--  
 
       -->|2=Copyrighted Material; the copyright remains with the author (not this web publication)}}<!--  
 
     -->]]</td></tr><!--
 
     -->]]</td></tr><!--
   --><tr class="note"><td>'''License Statement:''' <!--  
+
   --><tr class="note"><td><b>License Statement:</b> <!--  
 
     -->[[License Statement::{{First-of<!--  
 
     -->[[License Statement::{{First-of<!--  
 
       -->|1={{{License Statement|}}}<!--  
 
       -->|1={{{License Statement|}}}<!--  
Line 202: Line 163:
 
     -->]]</td></tr>
 
     -->]]</td></tr>
 
   {{#if: {{{License URL<includeonly>|</includeonly>}}}<!--
 
   {{#if: {{{License URL<includeonly>|</includeonly>}}}<!--
   -->|<tr class="note"><td>'''License URL:''' [[License URL::{{{License URL|}}}]]</td></tr>
+
   -->|<tr class="note"><td><b>License URL:</b> [[License URL::{{{License URL|}}}]]</td></tr>
 
   }}<!--
 
   }}<!--
   --><tr class="note"><td>'''World Region:''' <!--  
+
   --><tr class="note"><td><b>World Region:</b> <!--  
 
     -->{{First-of<!--
 
     -->{{First-of<!--
 
       -->|1={{{World Region|}}}<!--  
 
       -->|1={{{World Region|}}}<!--  
Line 212: Line 173:
 
       -->[[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>'''Country Names:''' {{#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;}}</td></tr>
 
   }}<!--
 
   }}<!--
   --><tr class="note"><td>'''[[ISO Country Codes|Country Codes]]:'''<!--  
+
   --><tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b> <!--  
 
     -->{{BulletSep<!--  
 
     -->{{BulletSep<!--  
 
       -->|1=<!--
 
       -->|1=<!--
Line 220: Line 181:
 
         -->|{{{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 229: Line 190:
 
-->{{
 
-->{{
 
#if: {{{State or Province<includeonly>|</includeonly>}}}
 
#if: {{{State or Province<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''State or Province:''' [[State or Province::{{{State or Province|}}}]]</td></tr>
+
|<tr class="note"><td><b>State or Province:</b> [[State or Province::{{{State or Province|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{County or Subprovince<includeonly>|</includeonly>}}}
 
#if: {{{County or Subprovince<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''County or Subprovince:''' [[County or Subprovince::{{{County or Subprovince|}}}]]</td></tr>
+
|<tr class="note"><td><b>County or Subprovince:</b> [[County or Subprovince::{{{County or Subprovince|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{City or Place Name<includeonly>|</includeonly>}}}
 
#if: {{{City or Place Name<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''City or Place Name:''' [[City or Place Name::{{{City or Place Name|}}}]]</td></tr>
+
|<tr class="note"><td><b>City or Place Name:</b> [[City or Place Name::{{{City or Place Name|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Locality<includeonly>|</includeonly>}}}
 
#if: {{{Locality<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Locality:''' [[Locality::{{{Locality|}}}]]</td></tr>
+
|<tr class="note"><td><b>Locality:</b> [[Locality::{{{Locality|}}}]]</td></tr>
 
}}
 
}}
 
<tr class="note">
 
<tr class="note">
   <td>'''[[Subject Category]]:'''<nowiki> </nowiki>
+
   <td><b>[[Subject Category]]:</b>&#32;{{#switch: {{{Type}}}
{{#switch: {{{Type}}}
+
 
| Collection=<!-- For Type=Collection, display only if present:  
 
| Collection=<!-- For Type=Collection, display only if present:  
 
-->{{#if: {{{Subject Category<includeonly>|</includeonly>}}}
 
-->{{#if: {{{Subject Category<includeonly>|</includeonly>}}}
Line 248: Line 208:
 
   -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
   -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
     -->|;<!--  
 
     -->|;<!--  
     -->|x<!--  
+
     -->|§<!--  
     -->|[[Subject Category::x]][[Category:x]]|&#32;&#32;<!--  
+
     -->|[[Subject Category::§]][[Category:§]]|;&#32;<!--  
 
   -->}}</includeonly>
 
   -->}}</includeonly>
 
}}
 
}}
Line 257: Line 217:
 
       -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
       -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!--  
 
         -->|;<!--  
 
         -->|;<!--  
         -->|x<!--  
+
         -->|§<!--  
         -->|[[Subject Category::x]][[Category:x]]|&#32;&#32;<!--  
+
         -->|[[Subject Category::§]][[Category:§]]|;&#32;<!--  
 
       -->}}</includeonly><!--  
 
       -->}}</includeonly><!--  
 
     -->| <span style="color:#646D7E">(Desirable information missing!)</span><!--  
 
     -->| <span style="color:#646D7E">(Desirable information missing!)</span><!--  
Line 265: Line 225:
 
</tr>
 
</tr>
 
{{#if: {{{General Keywords<includeonly>|</includeonly>}}}
 
{{#if: {{{General Keywords<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''General Keywords:''' <nowiki> </nowiki><includeonly><!--  
+
|<tr class="note"><td><b>General Keywords:</b> <nowiki> </nowiki><includeonly><!--  
       -->{{#arraymap:{{#replace: {{{General Keywords|}}}|,|;}}<!--
+
       -->{{Metadata/List to property|list={{#replace: {{{General Keywords|}}}|,|;}}|property=General Keywords|add category=yes|sep=;&#32;}}</includeonly></td></tr>
        -->|;<!--
+
        -->|x<!--
+
        -->|[[General Keywords::x]][[Category:x]]|&#32;&#32;<!--
+
      -->}}</includeonly></td></tr>
+
 
}}{{
 
}}{{
 
#if: {{{Setting<includeonly>|</includeonly>}}}
 
#if: {{{Setting<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Setting:''' {{{Setting}}}</td></tr>
+
|<tr class="note"><td><b>Setting:</b> {{{Setting|}}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Taxonomic Coverage<includeonly>|</includeonly>}}}
 
#if: {{{Taxonomic Coverage<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Taxonomic Coverage:''' [[Taxonomic Coverage::{{{Taxonomic Coverage|}}}]]</td></tr>
+
|<tr class="note"><td><b>Taxonomic Coverage:</b> [[Taxonomic Coverage::{{{Taxonomic Coverage|}}}]]</td></tr>
 
}}{{
 
}}{{
#if: <!-- deprecated:--> {{{Lowest Common Taxon<includeonly>|</includeonly>}}}
+
#if: <!-- deprecated --> {{{Lowest Common Taxon<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Taxonomic Coverage:''' <!-- deprecated:-->{{{Lowest Common Taxon}}}</td></tr>
+
|<tr class="note"><td><b>Taxonomic Coverage:</b> <!-- deprecated -->{{{Lowest Common Taxon}}}<br/>(<span style="color:red">Use <code>“Taxonomic Coverage={{{Lowest Common Taxon|…}}}”</code> instead of deprecated parameter <code>Lowest Common Taxon</code>.</span>)</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Scientific Names<includeonly>|</includeonly>}}}
 
#if: {{{Scientific Names<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Scientific Names:''' {{#arraymap:{{{Scientific Names|}}}|;|§|''§''[[Scientific Name::§| ]][[Category:§]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>Scientific Names:</b> {{Metadata/List to property|list={{{Scientific Names|}}}|property=Scientific Name|add category=yes|strip formatting=yes|sep=;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Scientific Names with Author<includeonly>|</includeonly>}}}
 
#if: {{{Scientific Names with Author<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Scientific Names (w. Auth.):''' {{#arraymap:{{{Scientific Names with Author|}}}|;|§|''§''[[Scientific Names with Author::§| ]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>{{#switch: {{NAMESPACE}}|Template=Scientific Names with Author|#default=Scientific Names (w. Auth.)}}:</b> {{Metadata/List to property|list={{{Scientific Names with Author|}}}|property=Scientific Name with Author|strip formatting=yes|sep=;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Scientific Name Synonyms<includeonly>|</includeonly>}}}
 
#if: {{{Scientific Name Synonyms<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Scientific Name Synonyms:''' {{#arraymap:{{{Scientific Name Synonyms|}}}|;|x|''x''[[Scientific Name Synonym::x| ]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>Scientific Name Synonyms:</b> {{Metadata/List to property|list={{{Scientific Name Synonyms|}}}|property=Scientific Name Synonym|strip formatting=yes|sep=;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Identified By<includeonly>|</includeonly>}}}
 
#if: {{{Identified By<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Identified By:''' {{#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;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Common Names<includeonly>|</includeonly>}}}
 
#if: {{{Common Names<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Common Names:''' {{#arraymap:{{{Common Names|}}}|;|x|[[Common Name::x]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><td><b>Common Names:</b> {{Metadata/List to property|list={{{Common Names|}}}|property=Common Name|sep=;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Associated Specimen ID<includeonly>|</includeonly>}}}
 
#if: {{{Associated Specimen ID<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Associated Specimen ID:''' [[Associated Specimen ID::{{{Associated Specimen ID|}}}]]</td></tr>
+
|<tr class="note"><td><b>Associated Specimen ID:</b> [[Associated Specimen ID::{{{Associated Specimen ID|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Associated Observation ID<includeonly>|</includeonly>}}}
 
#if: {{{Associated Observation ID<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Associated Observation ID:''' [[Associated Observation ID::{{{Associated Observation ID|}}}]]</td></tr>
+
|<tr class="note"><td><b>Associated Observation ID:</b> [[Associated Observation ID::{{{Associated Observation ID|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Association Info<includeonly>|</includeonly>}}}
 
#if: {{{Association Info<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Association Info:''' {{{Association Info|}}}[[Association Info::{{WikiSyntaxToHTMLEntities|{{{Association Info|}}}}}| ]]</td></tr>
+
|<tr class="note"><td><b>Association Info:</b> {{{Association Info|}}}[[Association Info::{{WikiSyntaxToHTMLEntities|{{{Association Info|}}}}}| ]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Published Source<includeonly>|</includeonly>}}}
 
#if: {{{Published Source<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Published Source:''' {{{Published Source|}}}[[Published Source::{{WikiSyntaxToHTMLEntities|{{{Published Source|}}}}}| ]]</td></tr>
+
|<tr class="note"><td><b>Published Source:</b> {{{Published Source|}}}[[Published Source::{{WikiSyntaxToHTMLEntities|{{{Published Source|}}}}}| ]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Reviewer Name<includeonly>|</includeonly>}}}
 
#if: {{{Reviewer Name<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Peer Reviewer Name:''' [[Peer Reviewer Name::{{{Peer Reviewer Name|}}}]]</td></tr>
+
|<tr class="note"><td><b>Peer Reviewer Name:</b> [[Peer Reviewer Name::{{{Peer Reviewer Name|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Reviewer Comments<includeonly>|</includeonly>}}}
 
#if: {{{Reviewer Comments<includeonly>|</includeonly>}}}
|<tr class="note"><td>'''Peer Reviewer Comments:''' [[Peer Reviewer Comments::{{{Peer Reviewer Comments|}}}]]</td></tr>
+
|<tr class="note"><td><b>Peer Reviewer Comments:</b> [[Peer Reviewer Comments::{{{Peer Reviewer Comments|}}}]]</td></tr>
 
}}
 
}}
 
</table><!--
 
</table><!--
Line 321: Line 277:
  
 
=== Right Column: Start===
 
=== Right Column: Start===
--><table style="background-color:transparent">
+
--><table class="vertical-align-top" style="background-color:transparent;width:100%;table-layout:fixed;white-space:pre-wrap;word-wrap:break-word;">
 
{{#switch: {{{Type}}}
 
{{#switch: {{{Type}}}
 
| Collection= <!-- Nothing output here; resource collections display prefix in the colored title line! -->
 
| Collection= <!-- Nothing output here; resource collections display prefix in the colored title line! -->
Line 340: Line 296:
 
| VernacularNameDataset
 
| VernacularNameDataset
 
| InteractiveResource=<!--do not move before switch, e.g. collection should not display at all!
 
| InteractiveResource=<!--do not move before switch, e.g. collection should not display at all!
--><tr class="note"><th style="text-align:right; padding-right:0.75em;"> [[Resource Type|Type]]</th><td>[[Type::{{{Type|}}}]]</td></tr>
+
--><tr class="note"><th style="text-align:right; padding-right:0.75em;"> [[Resource Type|Type]]:</th><td>[[Type::{{{Type|}}}]]</td></tr>
| #default =<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Type|Type]]</th><td><span style="color:red">“<tt>Type={{#if: {{{Type|}}}|{{{Type}}}|‹empty›}}</tt>” is no recognized value. <!--
+
| #default =<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Type|Type]]:</th><td><span style="color:red">“<tt>Type={{#if: {{{Type|}}}|{{{Type}}}|‹empty›}}</tt>” is no recognized value. <!--
 
* (Hints for common mistakes: is case sensitive)
 
* (Hints for common mistakes: is case sensitive)
 
   -->{{#switch: {{{Type}}}
 
   -->{{#switch: {{{Type}}}
Line 360: Line 316:
 
{{
 
{{
 
#if: {{{Subtype<includeonly>|</includeonly>}}}
 
#if: {{{Subtype<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Subtype|Subtype]]</th><td>[[Subtype::{{{Subtype|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Subtype|Subtype]]:</th><td>[[Subtype::{{{Subtype|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Rating<includeonly>|</includeonly>}}}
 
#if: {{{Rating<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Rating|Rating]]</th><td>[[Rating::{{{Rating|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Rating|Rating]]:</th><td>[[Rating::{{{Rating|}}}]]</td></tr>
 
}}
 
}}
<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[ISO Language Codes|Language]]</th><td>
+
<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[ISO Language Codes|Language]]:</th><td><!--
<span title="CONTENT’s language of the resource (not metadata), entered as ISO language code, e.g. “en”)">{{
+
--><span title="CONTENT’s language of the resource (not metadata), entered as ISO language code, e.g. “en”)">{{
 
#if: {{{Language|}}}
 
#if: {{{Language|}}}
 
|{{<!-- give subtly some hints -->
 
|{{<!-- give subtly some hints -->
Line 376: Line 332:
 
  -->| no linguistic content| zxx  
 
  -->| no linguistic content| zxx  
 
     |no linguistic content;| zxx; = no linguistic content (zxx)[[Language ISO::zxx| ]]<!--
 
     |no linguistic content;| zxx; = no linguistic content (zxx)[[Language ISO::zxx| ]]<!--
  -->|#default = {{#arraymap: {{#replace: {{{Language}}}|,|;}}|;|§|[[Language::{{#language: §}}]][[Language ISO::§| ]]<!-- -->|&#32;&#32;}}
+
  -->|#default = {{#arraymap: {{#replace: {{{Language}}}|,|;}}|;|§|[[Language::{{#language: §}}]][[Language ISO::§| ]]<!-- -->|;&#32;}}
 
   }}<!-- end switch --><!-- end CONTENT’s language -->
 
   }}<!-- end switch --><!-- end CONTENT’s language -->
 
| undetermined (und)[[Language ISO::und| ]]
 
| undetermined (und)[[Language ISO::und| ]]
Line 382: Line 338:
 
{{
 
{{
 
#if: {{{Original Creation Date<includeonly>|</includeonly>}}}
 
#if: {{{Original Creation Date<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Original Creation Date</th><td>[[Original Creation Date::{{{Original Creation Date|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Original Creation Date:</th><td>[[Original Creation Date::{{{Original Creation Date|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Accession Date<includeonly>|</includeonly>}}}
 
#if: {{{Accession Date<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Accession Date</th><td>[[Accession Date::{{{Accession Date|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Accession Date:</th><td>[[Accession Date::{{{Accession Date|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Digitization Date<includeonly>|</includeonly>}}}
 
#if: {{{Digitization Date<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Digitization Date</th><td>[[Digitization Date::{{{Digitization Date|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Digitization Date:</th><td>[[Digitization Date::{{{Digitization Date|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Modified<includeonly>|</includeonly>}}}
 
#if: {{{Modified<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Modified</th><td>[[Modified::{{{Modified|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Modified:</th><td>[[Modified::{{{Modified|}}}]]</td></tr>
}}
+
}}{{
<tr class="note"><th style="text-align:right; padding-right:0.75em;">Resource ID</th><td>[[Resource ID::{{{Resource ID|}}}]]</td></tr>
+
#if: {{{Resource ID<includeonly>|</includeonly>}}}
{{
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Resource ID:</th><td>[[Resource ID::{{{Resource ID|}}}]]</td></tr>
 +
}}{{
 
#if: {{{Metadata Creator<includeonly>|</includeonly>}}}
 
#if: {{{Metadata Creator<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Creator</th><td>[[Metadata Creator::{{{Metadata Creator|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Creator:</th><td>[[Metadata Creator::{{{Metadata Creator|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Metadata Manager<includeonly>|</includeonly>}}}
 
#if: {{{Metadata Manager<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Manager</th><td>[[Metadata Manager::{{{Metadata Manager|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Manager:</th><td>[[Metadata Manager::{{{Metadata Manager|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Metadata Copyright Owner<includeonly>|</includeonly>}}}
 
#if: {{{Metadata Copyright Owner<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Copyright Owner</th><td>[[Metadata Copyright Owner::{{{Metadata Copyright Owner|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Copyright Owner:</th><td>[[Metadata Copyright Owner::{{{Metadata Copyright Owner|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Metadata Modified<includeonly>|</includeonly>}}}
 
#if: {{{Metadata Modified<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Modified</th><td>{{{Metadata Modified}}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Metadata Modified:</th><td>{{{Metadata Modified|}}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Geocoordinates<includeonly>|</includeonly>}}}
 
#if: {{{Geocoordinates<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Geocoordinates</th><td>[[Geocoordinates::{{{Geocoordinates|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Geocoordinates:</th><td>[[Geocoordinates::{{{Geocoordinates|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Elevation<includeonly>|</includeonly>}}}
 
#if: {{{Elevation<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Elevation</th><td>[[Elevation::{{{Elevation|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Elevation:</th><td>[[Elevation::{{{Elevation|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Depth<includeonly>|</includeonly>}}}
 
#if: {{{Depth<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Depth</th><td>[[Depth::{{{Depth|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Depth:</th><td>[[Depth::{{{Depth|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Compass Heading<includeonly>|</includeonly>}}}
 
#if: {{{Compass Heading<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Compass Heading</th><td>[[Compass Heading::{{{Compass Heading|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Compass Heading:</th><td>[[Compass Heading::{{{Compass Heading|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Taxon Count<includeonly>|</includeonly>}}}
 
#if: {{{Taxon Count<includeonly>|</includeonly>}}}
|<tr class="note" title="Counted taxa in a group"><th style="text-align:right; padding-right:0.75em;">Taxon Count</th><td style="text-align:right; padding-right:0.75em;">{{{Taxon Count}}}</td></tr>
+
|<tr class="note" title="Counted taxa in a group"><th style="text-align:right; padding-right:0.75em;">Taxon Count:</th><td style="text-align:right; padding-right:0.75em;">{{{Taxon Count|}}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Subject Part<includeonly>|</includeonly>}}}
 
#if: {{{Subject Part<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Part</th><td>[[Subject Part::{{{Subject Part|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Part:</th><td>[[Subject Part::{{{Subject Part|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Subject Sex<includeonly>|</includeonly>}}}
 
#if: {{{Subject Sex<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Sex</th><td>{{#arraymap:{{{Subject Sex|}}}|;|§|[[Subject Sex::§]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Sex:</th><td>{{#arraymap:{{{Subject Sex|}}}|;|§|[[Subject Sex::§]]|;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Subject Life Stage<includeonly>|</includeonly>}}}
 
#if: {{{Subject Life Stage<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Life Stage</th><td>{{#arraymap: {{{Subject Life Stage|}}}|;|§|[[Subject Life Stage::§]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Life Stage:</th><td>{{#arraymap: {{{Subject Life Stage|}}}|;|§|[[Subject Life Stage::§]]|;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Subject Orientation<includeonly>|</includeonly>}}}
 
#if: {{{Subject Orientation<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Orientation</th><td>[[Subject Orientation::{{{Subject Orientation|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Orientation:</th><td>[[Subject Orientation::{{{Subject Orientation|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Derived From<includeonly>|</includeonly>}}}
 
#if: {{{Derived From<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Derived From</th><td>{{#arraymap: {{{Derived From|}}}|;|§|{{ShowIconFromFile |1=§ | position = after}} [[Derived From::{{extractFileName |1=§}}| ]]|&#32;&#32;}}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Derived From:</th><td>{{#arraymap: {{{Derived From|}}}|;|§|{{ShowIconFromFile |1=§ | position = after}} [[Derived From::{{FILEPATH:{{extractFileName |1=§}}}}| ]]|;&#32;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Other Versions<includeonly>|</includeonly>}}}
 
#if: {{{Other Versions<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Other Versions</th><td>{{#if: {{{Other Versions|}}}| {{See also files | files={{{Other Versions|}}} |show list only=yes}} }}</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Other Versions:</th><td>{{#if: {{{Other Versions|}}}| {{See also files | files={{{Other Versions|}}} |show list only=yes}} }}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Format<includeonly>|</includeonly>}}}
 
#if: {{{Format<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Format</th><td>[[Format::{{{Format|}}}]]</td></tr>
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">Format:</th><td>[[Format::{{{Format|}}}]]</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Offline Use<includeonly>|</includeonly>}}}
 
#if: {{{Offline Use<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Offline Use|Offline Use]]</th><td>{{
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Offline Use|Offline Use]]:</th><td>{{
 
#switch: {{lc:{{{Offline Use|n/a}}} }}
 
#switch: {{lc:{{{Offline Use|n/a}}} }}
 
| n/a
 
| n/a
 
| yes
 
| yes
| no = {{{Offline Use}}}
+
| no ={{{Offline Use|}}}
 
| #default=<span style="color:red">'{{{Offline Use}}}' is no recognized value; please use 'yes' or 'no'!</span>[[Offline Use::{{{Offline Use|}}}| ]]
 
| #default=<span style="color:red">'{{{Offline Use}}}' is no recognized value; please use 'yes' or 'no'!</span>[[Offline Use::{{{Offline Use|}}}| ]]
 
}}</td></tr>
 
}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{Interactivity<includeonly>|</includeonly>}}}
 
#if: {{{Interactivity<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Interactivity|Interactivity]]</th><td>{{#switch: {{lc:{{{Interactivity|n/a}}} }}
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Interactivity|Interactivity]]:</th><td>{{#switch: {{lc:{{{Interactivity|n/a}}} }}
 
| n/a
 
| n/a
 
| static
 
| static
 
| hyperlinked
 
| hyperlinked
| dynamic = {{{Interactivity}}}
+
| dynamic ={{{Interactivity|}}}
 
| #default=<span style="color:red">'{{{Interactivity}}}' is no recognized value for interactivity; please use  ‘n/a’, ‘static’, ‘hyperlinked’ or ‘dynamic’.</span>
 
| #default=<span style="color:red">'{{{Interactivity}}}' is no recognized value for interactivity; please use  ‘n/a’, ‘static’, ‘hyperlinked’ or ‘dynamic’.</span>
 
[[Interactivity::{{{Interactivity|}}}| ]]}}</td></tr>
 
[[Interactivity::{{{Interactivity|}}}| ]]}}</td></tr>
 
}}{{
 
}}{{
 
#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;}}</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;}}</td></tr>
 
}}{{
 
}}{{
 
#if: {{{ID Tool Structure<includeonly>|</includeonly>}}}
 
#if: {{{ID Tool Structure<includeonly>|</includeonly>}}}
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[ID Tool Structure]]</th><td>{{#switch: {{lc:{{{ID Tool Structure|n/a}}} }}
+
|<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[ID Tool Structure]]:</th><td>{{#switch: {{lc:{{{ID Tool Structure|n/a}}} }}
 
| n/a
 
| n/a
 
| dichotomous
 
| dichotomous
Line 488: Line 445:
 
| multi-entry; browsing
 
| multi-entry; browsing
 
| 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;}}</td></tr>
 
}}
 
}}
 
</table>
 
</table>
Line 504: Line 461:
 
{{<!-- test missing values -->
 
{{<!-- test missing values -->
 
#if: {{{Collection Page<includeonly>|</includeonly>}}}
 
#if: {{{Collection Page<includeonly>|</includeonly>}}}
|<nowiki> </nowiki> — Collection: '''[[{{{Collection Page}}}]]'''}}{{
+
|<nowiki> </nowiki> — Collection: <b>[[{{{Collection Page}}}]]</b>}}{{
 
#if: {{{Provider Page<includeonly>|</includeonly>}}}
 
#if: {{{Provider Page<includeonly>|</includeonly>}}}
|<nowiki> </nowiki> — Provided by: '''[[{{{Provider Page}}}]]'''}}</td></tr>
+
|<nowiki> </nowiki> — Provided by: <b>[[{{{Provider Page}}}]]</b>}}</td></tr>
 
</table>
 
</table>
  
<includeonly> [[Category:Metadata Sources]] {{#ifeq: {{{Type}}} | Collection | [[Category:Resource Metadata Collection]] }}[[PropertyPage::{{PAGENAME}}| ]]</includeonly><noinclude>
+
<includeonly> [[Category:Metadata Sources]] {{#ifeq: {{{Type}}} | Collection | [[Category:Resource Metadata Collection]] }}[[Page Name::{{PAGENAME}}| ]]</includeonly><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
 
----
 
 
 
== 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).
 
 
 
</noinclude>
 
</noinclude>

Latest revision as of 14:21, 4 August 2017

Documentation of this template
Search media by metadata
{{{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:
Taxonomic Coverage:
Taxonomic Coverage: {{{Lowest Common Taxon}}}
(Use “Taxonomic Coverage=…” instead of deprecated parameter Lowest Common Taxon.)
Scientific Names:
Scientific Names with Author:
Scientific Name Synonyms:
Identified By:
Common Names:
Associated Specimen ID:
Associated Observation ID:
Association Info:
Published Source:
Peer Reviewer Name:
Peer Reviewer Comments:
Type:Type=‹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:
Geocoordinates:
Elevation:
Depth:
Compass Heading:
Taxon Count:
Subject Part:
Subject Sex:
Subject Life Stage:
Subject Orientation:
Derived From:
Other Versions:
Format:
Offline Use:
Interactivity:
Host App.:
Target System:
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