Difference between revisions of "Template:Metadata"
GiselaWeber (Talk | contribs) |
m (: colon for right column labels too) |
||
(87 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <!-- THIS IS A VARIANT, to be used for directly described metadata, not requiring collection, Provider, Resource ID, etc., License Statement and Copyright have defaults, URI is not supported. | + | <!-- |
− | --><table class="infobox" style="float:none; font-size:90%; width:99%; background:#F0F8FF" width="99%"><!-- | + | THIS IS A VARIANT, to be used for directly described metadata, not requiring |
+ | collection, Provider, Resource ID, etc., License Statement and Copyright have | ||
+ | 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;table-layout:fixed;" width="99%"><!-- | ||
=== HEADER: Start === --> | === HEADER: Start === --> | ||
− | <tr>< | + | <tr><th colspan="2" style="padding:4px;{{#switch:{{{Type}}}|Collection=background:#E5925B|Sound=background:#D76D9C |
| #default =background:#5B92E5}}<!-- (End of switch) | | #default =background:#5B92E5}}<!-- (End of switch) | ||
-->;color:white;text-align:center;">{{ | -->;color:white;text-align:center;">{{ | ||
#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 | + | |<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|}}} |
− | |<div style="float:right;font-weight:bold;font-size:71%;" title=" | + | |<div style="float:right;font-weight:bold;font-size:71%;" title="Metadata language(s): {{#arraymap: {{{Metadata Language}}}|,|§|{{#arraymap: §|;|$|{{#language: $}}}}}}"><noinclude>{{{Metadata Language}}}</noinclude><!-- start: languange en, etc + semicolon -> icon Flag --><includeonly><!-- |
− | }} | + | separate , |
+ | -->{{#arraymap: {{#replace: {{{Metadata Language}}}|,|;}}<!-- | ||
+ | -->|;<!-- | ||
+ | -->|§<!-- | ||
+ | -->|[[File:Flag_icon_§.png|link=|{{#language: §}}]]|<nowiki> </nowiki><!-- | ||
+ | -->}}</includeonly></div> | ||
+ | <!-- +hidden property -->{{#arraymap: {{#replace: {{{Metadata Language}}}|,|;}}|;|§|[[Metadata Language::§| ]]|}}<!-- property should be short --> | ||
+ | }}<span title="Content of Title field" style="font-weight:bold; font-size:120%;">{{ | ||
#ifeq:{{{Type}}}|Collection|Resource Collection:<nowiki> </nowiki>| | #ifeq:{{{Type}}}|Collection|Resource Collection:<nowiki> </nowiki>| | ||
− | }} | + | }}{{{Title<includeonly>|<span style="color:red">Please add a title for the resource</span></includeonly>}}}<!-- |
− | </ | + | +hidden property-->[[Title::{{WikiSyntaxToHTMLEntities|{{{Title|}}}}}| ]]</span> |
+ | </th></tr>{{ | ||
#if: {{{Description<includeonly>|</includeonly>}}} | #if: {{{Description<includeonly>|</includeonly>}}} | ||
| {{#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}}}</span></td></tr><!-- | + | --><tr class="note"><td colspan="2" ><table class="vertical-align-top"><tr><td>''Description:''</td><td><span title="Content of Description field"><!-- |
− | --><tr class="note"><td | + | -->{{#ifeq: {{#sub:{{{Description}}}|0|{{#len: <span class="has-language-specific-description"></span>}}}}|<span class="has-language-specific-description"></span><!-- |
− | |<!-- Description only: No | + | then let template {{Metadata/Description}} operate |
+ | -->|{{{Description|}}}<!-- | ||
+ | else just text+hidden property | ||
+ | -->|{{{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 | + | |<!-- Caption only: No description |
− | --><tr class="note"><td colspan="2" title="Content of Caption field">[[Caption::{{{Caption|}}}]]</td></tr> | + | --><tr class="note"><td colspan="2" ><table class="vertical-align-top"><tr><td>''Caption:''</td><td 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}}} | ||
+ | --></td></tr></table></td></tr> | ||
}} | }} | ||
}}{{ | }}{{ | ||
#if: {{{Content Modification<includeonly>|</includeonly>}}} | #if: {{{Content Modification<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td colspan="2">''Content Modification'': [[Content Modification::{{{Content Modification|}}}]]</td></tr> | + | |<tr class="note"><td colspan="2">''Content Modification'': {{{Content Modification|}}}<!-- |
+ | +hidden property-->[[Content Modification::{{WikiSyntaxToHTMLEntities|{{{Content Modification|}}}}}| ]]</td></tr> | ||
}}{{ | }}{{ | ||
#if: {{{Creation Technique<includeonly>|</includeonly>}}} | #if: {{{Creation Technique<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td colspan="2">''Creation Technique'': [[Creation Technique::{{{Creation Technique|}}}]]</td></tr> | + | |<tr class="note"><td colspan="2">''Creation Technique'': {{{Creation Technique|}}}<!-- |
+ | +hidden property-->[[Creation Technique::{{WikiSyntaxToHTMLEntities|{{{Creation Technique|}}}}}| ]]</td></tr> | ||
}}{{<!-- no data ? no hr --> | }}{{<!-- no data ? no hr --> | ||
− | #if:{{{Creation Technique<includeonly>|</includeonly>}}} | + | #if:{{{Creation Technique<includeonly>|</includeonly>}}}<!-- |
+ | -->{{{Content Modification<includeonly>|</includeonly>}}}<!-- | ||
+ | -->{{{Description<includeonly>|</includeonly>}}}<!-- | ||
+ | -->{{{Caption<includeonly>|</includeonly>}}} | ||
+ | | <!-- values are given:<hr> --> <tr><td colspan="2"><hr /></td></tr> | ||
}} | }} | ||
<tr><td width="70%" valign="top"><!-- | <tr><td width="70%" valign="top"><!-- | ||
Line 39: | 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 --><!-- | |
− | * Creators required, except for Type=Collection: | + | * Creators required, except for Type=Collection {{{Creators}}} can be empty |
+ | -->{{#switch: {{{Type}}}<!-- | ||
+ | -->|Collection={{#if: {{{Creators|}}}<!-- | ||
+ | -->|<tr class="note"><td><b>Creators:</b> <!-- | ||
+ | -->{{Metadata/List to property|list={{{Creators|}}}|property=Creator|sep=; }}<!-- --></td></tr> | ||
+ | }}<!-- Collection:Creator::true end --><!-- | ||
+ | |||
+ | all other types: Creators should be given | ||
+ | -->| #default =<tr class="note"><td><b>Creators:</b> {{#if: {{{Creators|}}}<!-- | ||
+ | then-->|<!-- -->{{Metadata/List to property|list={{{Creators|}}}|property=Creator|sep=; }}<!-- | ||
+ | else-->|<!-- --><span style="color:#646D7E">(Please consider adding this information)<!-- | ||
+ | + Category | ||
+ | -->[[Category:Missing - creator unknown]]</span> | ||
+ | }}<!-- if:Creators:end --></td></tr><!-- | ||
+ | --> | ||
+ | }}<!-- switch: other than collection: END --><!-- | ||
+ | * (End of switch: Type=Collection or other, for Creators) | ||
-->{{ | -->{{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
#if: {{{Contributors<includeonly>|</includeonly>}}} | #if: {{{Contributors<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Contributors:</b> {{Metadata/List to property|list={{{Contributors|}}}|property=Contributor|sep=; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Attribution Statement<includeonly>|</includeonly>}}} | #if: {{{Attribution Statement<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Attribution:</b> {{#arraymap:{{{Attribution Statement}}}|;|§|[[Attribution Statement::§]]|; }}<!-- {{BulletSep|1={{{Attribution Statement}}} }} --></td></tr> |
}}{{ | }}{{ | ||
#if: {{{Attribution Logo URL<includeonly>|</includeonly>}}} | #if: {{{Attribution Logo URL<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Attribution Logo URL:</b> {{#arraymap:{{{Attribution Logo URL|}}}|;|§|[[Attribution Logo URL::§]]|; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Attribution Link URL<includeonly>|</includeonly>}}} | #if: {{{Attribution Link URL<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Attribution Link URL:</b> {{#arraymap:{{{Attribution Link URL|}}}|;|§|[[Attribution Link URL::§]]|; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Copyright Owner<includeonly>|</includeonly>}}} | #if: {{{Copyright Owner<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Copyright Owner:</b> {{Metadata/List to property|list={{{Copyright Owner|}}}|property=Copyright Owner|sep=; }}</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> | + | |<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> | + | |<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> | + | |<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> | + | |<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> | + | |<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|}}}</td></tr> | + | --> {{{Common Geoarea Name|}}}</td></tr> |
− | }}{{ | + | }}{{ |
− | #if: {{{Country Names<includeonly>|</includeonly>}}} | + | #if: {{{Country Names<includeonly>|</includeonly>}}} |
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§]]|; }}</td></tr> |
− | }}{{ | + | }}{{ |
− | #if: {{{Country Codes<includeonly>|</includeonly>}}} | + | #if: {{{Country Codes<includeonly>|</includeonly>}}} |
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b> {{#arraymap:{{{Country Codes|}}}|;|§|[[Country Code::§]]|; }}</td></tr><!-- |
− | }} | + | -->}} |
− | | #default =<!-- Display a notice if certain fields are missing: --> | + | | #default =<!-- Display a notice if certain fields are missing: |
− | <tr class="note"><td> | + | --><tr class="note"><td><b>Copyright Statement:</b> <!-- |
− | <tr class="note"><td> | + | -->[[Copyright Statement::{{First-of<!-- |
− | #if: {{{License URL<includeonly>|</includeonly>}}} | + | -->|1={{{Copyright Statement|}}}<!-- |
− | |<tr class="note"><td> | + | -->|2=Copyrighted Material; the copyright remains with the author (not this web publication)}}<!-- |
− | }}<tr class="note"><td> | + | -->]]</td></tr><!-- |
− | #if: {{{Country Names<includeonly>|</includeonly>}}} | + | --><tr class="note"><td><b>License Statement:</b> <!-- |
− | |<tr class="note"><td> | + | -->[[License Statement::{{First-of<!-- |
− | }}<tr class="note"><td> | + | -->|1={{{License Statement|}}}<!-- |
+ | -->|2=Creative Commons: Author Attribution Required, Share-Alike (cc-by-sa 3.0)}}<!-- | ||
+ | -->]]</td></tr> | ||
+ | {{#if: {{{License URL<includeonly>|</includeonly>}}}<!-- | ||
+ | -->|<tr class="note"><td><b>License URL:</b> [[License URL::{{{License URL|}}}]]</td></tr> | ||
+ | }}<!-- | ||
+ | --><tr class="note"><td><b>World Region:</b> <!-- | ||
+ | -->{{First-of<!-- | ||
+ | -->|1={{{World Region|}}}<!-- | ||
+ | -->|2=<!--deprecated: -->{{{Common Geoarea Name|}}}<!-- | ||
+ | -->|3=<span style="color:#646D7E">(Desirable information missing!)</span>}}<!-- | ||
+ | + hidden property | ||
+ | -->[[World Region::{{{World Region|}}}| ]]</td></tr> | ||
+ | {{#if: {{{Country Names<includeonly>|</includeonly>}}}<!-- | ||
+ | -->|<tr class="note"><td><b>Country Names:</b> {{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§]]|; }}</td></tr> | ||
+ | }}<!-- | ||
+ | --><tr class="note"><td><b>[[ISO Country Codes|Country Codes]]:</b> <!-- | ||
+ | -->{{BulletSep<!-- | ||
+ | -->|1=<!-- | ||
+ | -->{{First-of<!-- | ||
+ | -->|{{{Country Codes|}}}<!-- | ||
+ | -->|2=<span style="color:#646D7E">(Desirable information missing!)</span><!-- | ||
+ | -->{{#arraymap:{{{Country Names|}}}|;|§|[[Country Name::§| ]]|}}<!-- arraymap | ||
+ | -->}}<!-- | ||
+ | -->}}<!-- BulletSep--></td></tr> | ||
}}<!-- | }}<!-- | ||
− | + | ///////////////////// | |
+ | // End of switch: Type=Collection or other, for Copyright to World Region) | ||
+ | ///////////////////// | ||
-->{{ | -->{{ | ||
#if: {{{State or Province<includeonly>|</includeonly>}}} | #if: {{{State or Province<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<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> | + | |<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> | + | |<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> | + | |<tr class="note"><td><b>Locality:</b> [[Locality::{{{Locality|}}}]]</td></tr> |
}} | }} | ||
<tr class="note"> | <tr class="note"> | ||
− | <td> | + | <td><b>[[Subject Category]]:</b> {{#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>}}} | + | | <includeonly><!-- |
− | | {{ | + | -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!-- |
+ | -->|;<!-- | ||
+ | -->|§<!-- | ||
+ | -->|[[Subject Category::§]][[Category:§]]|; <!-- | ||
+ | -->}}</includeonly> | ||
}} | }} | ||
− | | #default =<!-- Else display notice if missing: --> | + | | #default =<!-- Else display notice if missing: |
− | {{#if:{{{Subject Category|}}} | {{ | + | -->{{#if:{{{Subject Category<includeonly>|</includeonly>}}}<!-- |
+ | -->| <includeonly><!-- | ||
+ | -->{{#arraymap:{{#replace: {{{Subject Category|}}}|,|;}}<!-- | ||
+ | -->|;<!-- | ||
+ | -->|§<!-- | ||
+ | -->|[[Subject Category::§]][[Category:§]]|; <!-- | ||
+ | -->}}</includeonly><!-- | ||
+ | -->| <span style="color:#646D7E">(Desirable information missing!)</span><!-- | ||
+ | -->}}<!-- (End of switch: Type=Collection or other) --> | ||
}}</td> | }}</td> | ||
</tr> | </tr> | ||
{{#if: {{{General Keywords<includeonly>|</includeonly>}}} | {{#if: {{{General Keywords<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>General Keywords:</b> <nowiki> </nowiki><includeonly><!-- |
+ | -->{{Metadata/List to property|list={{#replace: {{{General Keywords|}}}|,|;}}|property=General Keywords|add category=yes|sep=; }}</includeonly></td></tr> | ||
}}{{ | }}{{ | ||
#if: {{{Setting<includeonly>|</includeonly>}}} | #if: {{{Setting<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Setting:</b> {{{Setting|}}}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Taxonomic Coverage<includeonly>|</includeonly>}}} | #if: {{{Taxonomic Coverage<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Taxonomic Coverage:</b> [[Taxonomic Coverage::{{{Taxonomic Coverage|}}}]]</td></tr> |
}}{{ | }}{{ | ||
− | #if: <!-- deprecated | + | #if: <!-- deprecated --> {{{Lowest Common Taxon<includeonly>|</includeonly>}}} |
− | |<tr class="note"><td> | + | |<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> | + | |<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=; }}</td></tr> |
+ | }}{{ | ||
+ | #if: {{{Scientific Names with Author<includeonly>|</includeonly>}}} | ||
+ | |<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=; }}</td></tr> | ||
}}{{ | }}{{ | ||
#if: {{{Scientific Name Synonyms<includeonly>|</includeonly>}}} | #if: {{{Scientific Name Synonyms<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<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=; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Identified By<includeonly>|</includeonly>}}} | #if: {{{Identified By<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Identified By:</b> {{#arraymap:{{{Identified By|}}}|;|§|[[Identified By::§]]|; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Common Names<includeonly>|</includeonly>}}} | #if: {{{Common Names<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<tr class="note"><td><b>Common Names:</b> {{Metadata/List to property|list={{{Common Names|}}}|property=Common Name|sep=; }}</td></tr> |
}}{{ | }}{{ | ||
#if: {{{Associated Specimen ID<includeonly>|</includeonly>}}} | #if: {{{Associated Specimen ID<includeonly>|</includeonly>}}} | ||
− | |<tr class="note"><td> | + | |<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> | + | |<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> | + | |<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> | + | |<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> | + | |<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> | + | |<tr class="note"><td><b>Peer Reviewer Comments:</b> [[Peer Reviewer Comments::{{{Peer Reviewer Comments|}}}]]</td></tr> |
}} | }} | ||
</table><!-- | </table><!-- | ||
Line 180: | 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! --> | + | | Dataset |
− | | | + | | DescriptiveDataset |
− | | | + | | GlossaryPage |
− | | | + | | IdentificationTool |
| Map | | Map | ||
+ | | MovingImage | ||
+ | | Provider | ||
+ | | Service | ||
+ | | Software | ||
+ | | Sound | ||
+ | | StillImage | ||
+ | | SynonymDataset | ||
| TaxonPage | | TaxonPage | ||
− | | | + | | Text |
− | + | ||
− | + | ||
| VernacularNameDataset | | VernacularNameDataset | ||
− | + | | 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> | |
− | + | | #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) | |
− | + | -->{{#switch: {{{Type}}} | |
− | | 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> | + | | identification key | determination key| Identification key | Determination key |
− | | #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. <!-- | + | | key | Key = Did you mean “<tt>IdentificationTool</tt>”? |
− | * (Hints for common mistakes: is case sensitive) --> | + | | video | Video | Videos |videos | movie | Movie |
− | {{#switch: {{{Type}}} | + | | movies | Movies = Did you mean “<tt>MovingImage</tt>”? |
− | | identification key | determination key| Identification key | Determination key | + | | picture | photo | graphic | image | Picture | Photo | Graphic | Images |
− | | key | Key = Did you mean “<tt>IdentificationTool</tt>”? | + | | Pictures | Photos | Graphics | Still image | Stillimage |
− | | video | Video | Videos |videos | movie | Movie | + | | Image = Did you mean “<tt>StillImage</tt>”? |
− | | movies | Movies = Did you mean “<tt>MovingImage</tt>”? | + | | UnicodeQC = (UnicodeQC is not necessary on the Wiki) |
− | | picture | photo | graphic | image | Picture | Photo | Graphic | Images | + | | provider |
− | | Pictures | Photos | Graphics | Still image | Stillimage | + | | Provider = Resources of type provider are no longer valid; please create a separate Wiki page containing an “Infobox Organisation” record. |
− | | Image = Did you mean “<tt>StillImage</tt>”? | + | | #default = Valid values are for instance: “<tt>StillImage</tt>”, “<tt>Movie</tt>” or “<tt>IdentificationTool</tt>”. Details see [[Template:Metadata|documentation]]. |
− | | UnicodeQC = (UnicodeQC is not necessary on the Wiki) | + | }}<!-- |
− | | provider | + | |
− | | Provider = Resources of type provider are no longer valid; please create a separate Wiki page containing an “Infobox Organisation” record. | + | |
− | | #default = Valid values are for instance: “<tt>StillImage</tt>”, “<tt>Movie</tt>” or “<tt>IdentificationTool</tt>”. Details see [[Template:Metadata|documentation]]. | + | |
− | }}<!-- | + | |
* (End of hinting) --></span><includeonly>[[Category:Template Error Report - Metadata Resource Type]]</td></tr></includeonly> | * (End of hinting) --></span><includeonly>[[Category:Template Error Report - Metadata Resource Type]]</td></tr></includeonly> | ||
− | }}{{ | + | }}<!-- switch-end --> |
+ | {{ | ||
#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 --> | |
− | + | #switch: {{{Language|}}}<!-- | |
− | + | -->| multiple | multiple languages | many| mul | |
− | #switch: {{{Language|}}} | + | | multiple;| multiple languages;|many;| mul;= multiple languages (mul)[[Language ISO::mul| ]]<!-- |
− | + | -->| not determined | nd. | n.d. | n. d. | undetermined | und | |
− | | mul = multiple languages (mul) | + | | not determined;| nd.;| n.d.;| n. d.;| undetermined;| und;= undetermined (und)[[Language ISO::und| ]]<!-- |
− | + | -->| no linguistic content| zxx | |
− | | und = undetermined (und) | + | |no linguistic content;| zxx; = no linguistic content (zxx)[[Language ISO::zxx| ]]<!-- |
− | + | -->|#default = {{#arraymap: {{#replace: {{{Language}}}|,|;}}|;|§|[[Language::{{#language: §}}]][[Language ISO::§| ]]<!-- -->|; }} | |
− | | zxx = no linguistic content (zxx) | + | }}<!-- end switch --><!-- end CONTENT’s language --> |
− | + | | undetermined (und)[[Language ISO::und| ]] | |
− | }}<!-- end switch --> | + | }}</span></td></tr> |
− | + | ||
− | + | ||
− | + | ||
{{ | {{ | ||
#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> | + | |<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Sex:</th><td>{{#arraymap:{{{Subject Sex|}}}|;|§|[[Subject Sex::§]]|; }}</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> | + | |<tr class="note"><th style="text-align:right; padding-right:0.75em;">Subject Life Stage:</th><td>{{#arraymap: {{{Subject Life Stage|}}}|;|§|[[Subject Life Stage::§]]|; }}</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>[[Derived From::{{{ | + | |<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=§}}}}| ]]|; }}</td></tr> |
+ | }}{{ | ||
+ | #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> | ||
}}{{ | }}{{ | ||
#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>{{#switch: {{lc:{{{Offline Use|n/a}}} }} | + | |<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}}} }} | ||
| 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 | + | | #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> | |
}}{{ | }}{{ | ||
#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|}}}|;| | + | |<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::§]]|; }}</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|}}}|;| | + | |<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Resource Target System|Target System]]:</th><td>{{#arraymap:{{{Target System|}}}|;|§|[[Target System::§]]|; }}</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 344: | 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 | + | | #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|}}}|;| | + | |<tr class="note"><th style="text-align:right; padding-right:0.75em;">[[Exchange Formats]]:</th><td>{{#arraymap:{{{Exchange Formats|}}}|;|§|[[Exchange Formats::§]]|; }}</td></tr> |
}} | }} | ||
</table> | </table> | ||
Line 360: | Line 461: | ||
{{<!-- test missing values --> | {{<!-- test missing values --> | ||
#if: {{{Collection Page<includeonly>|</includeonly>}}} | #if: {{{Collection Page<includeonly>|</includeonly>}}} | ||
− | |<nowiki> </nowiki> — Collection: | + | |<nowiki> </nowiki> — Collection: <b>[[{{{Collection Page}}}]]</b>}}{{ |
#if: {{{Provider Page<includeonly>|</includeonly>}}} | #if: {{{Provider Page<includeonly>|</includeonly>}}} | ||
− | |<nowiki> </nowiki> — Provided by: | + | |<nowiki> </nowiki> — Provided by: <b>[[{{{Provider Page}}}]]</b>}}</td></tr> |
</table> | </table> | ||
− | <includeonly> [[Category:Metadata Sources]] {{#ifeq: {{{Type}}} | Collection | [[Category:Resource Metadata Collection]] }}</includeonly><noinclude> | + | <includeonly> [[Category:Metadata Sources]] {{#ifeq: {{{Type}}} | Collection | [[Category:Resource Metadata Collection]] }}[[Page Name::{{PAGENAME}}| ]]</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 14:21, 4 August 2017
{{{Title}}} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Content Modification: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Creation Technique: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
— Collection: [[{{{Collection Page}}}]] — Provided by: [[{{{Provider Page}}}]] |
[edit]
DocumentationThe 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.
- ↑ 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.
Contents
Test records
Ascochyta allii-cepae | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
|
| ||||||||||||||||||||
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:
Example for erroneous resource type and missing URI | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| ||||||||||||||
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