Difference between revisions of "Form:Metadata template for upload file"

From OpenMedia
Jump to: navigation, search
m (fomrlink)
m (Info message removed don’t panic)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the “Metadata” form testing inserting data of the [[template: Metadata]]. It is defined on the project page [[OpenMedia:File]] to enable the file namespace to be edited by this form. To add a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page. See also [[form: Metadata template for upload file]].
+
This is the form “{{PAGENAME}}” for inserting data into the [[template: Metadata]] within the upload process. To upload a File, click the button below. See also [[form: Metadata]] for all File pages.
  
{{#formlink:Metadata template for upload file
+
{{#formlink:form=Metadata template for upload file|link text=Upload a file (using template Metadata)|link type=button}}
| link text=Upload a file (using template Metadata)
+
| link type=button
+
}}
+
  
 
[[Category: Forms]]
 
[[Category: Forms]]
Line 16: Line 13:
 
   Format              → "Quality level format
 
   Format              → "Quality level format
 
   Common Geoarea Name → World Region
 
   Common Geoarea Name → World Region
-->{{{info|page name=File:<Metadata[File Name]>}}}
+
-->{{{info|page name=File:<Metadata[File Name]>}}}<!-- see http://www.mediawiki.org/w/index.php?title=Extension:Semantic_Forms/Manual/Using_Semantic_Forms_for_file_pages_and_uploads&oldid=954703 -->
 
{{{for template | Metadata | label=Upload file using template metadata}}}<!-- Comment: multiple seems to prevent editing with a form -->
 
{{{for template | Metadata | label=Upload file using template metadata}}}<!-- Comment: multiple seems to prevent editing with a form -->
 
<table class="formtable"><!--  
 
<table class="formtable"><!--  
 
--><tr><!--
 
--><tr><!--
 +
  --><td colspan="2" style="padding-bottom:3ex;">{{Ombox| text=Please fill in at least <span style="border-bottom:1px solid orange;">''the 4 mandatory fields being underlined in orange''</span>.<br/>We welcome also further (detailed) information in the other ''optional'' fields for the purpose in finding media.}}</td><!--
 +
--></tr><!--
  
   --><th> File Name<!--  
+
   --><tr><!--
    --><!--
+
  --><th>File Name</th><!--
  --></th><!--
+
   --><td>{{{field|File Name|mandatory|uploadable|size=100|image preview}}}</td><!--
   --><td> {{{field|File Name|mandatory|uploadable|size=100}}}</td><!--
+
 
--></tr><!--  
 
--></tr><!--  
 
--><tr><!--
 
--><tr><!--
Line 54: Line 52:
  
 
<!--  
 
<!--  
 +
  --></td></tr><!--
 +
  Caption
 +
  --><tr><!--
 +
  --><th style="width:130px;"> Caption</th><!--
 +
  --><td class="minimal-visible-borders"><!--
 +
    -->{{{field | Caption | holds template}}}<!--
 
   --></td><!--
 
   --></td><!--
 
+
--></tr><!--
 
   Description
 
   Description
 
+
  --><tr><!--
 
   --></tr><tr><!--
 
   --></tr><tr><!--
 
   --><th style="width:130px;"> Description</th><!--  
 
   --><th style="width:130px;"> Description</th><!--  
Line 68: Line 72:
 
   -->{{Hidden
 
   -->{{Hidden
 
  | contentclass = indicateHiddenInputs
 
  | contentclass = indicateHiddenInputs
  | header = ''Caption, Content Modification, Other Versions, Creation Technique&nbsp;…''
+
  | header = ''Content Modification, Other Versions, Creation Technique&nbsp;…''
 
  | toggle text = + / − | toggle position = left
 
  | toggle text = + / − | toggle position = left
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
  | content =  
+
  | content = <div class="floating-form-parts"> Content Modification: <br/>{{{field | Content Modification | input type=textarea | autogrow | rows=3}}}</div>
<div class="floating-form-parts"> Caption:<!--
+
  --><br/>{{{field | Caption | holds template}}}</div>
+
 
+
<div class="floating-form-parts"> Content Modification: <br/>{{{field | Content Modification | input type=textarea | autogrow | rows=3}}}</div>
+
  
 
<div class="floating-form-parts"> Other Versions: <br/>{{{field | Other Versions | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from namespace=File| remote autocompletion}}}</div>
 
<div class="floating-form-parts"> Other Versions: <br/>{{{field | Other Versions | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from namespace=File| remote autocompletion}}}</div>
Line 89: Line 89:
 
  Scientific Names
 
  Scientific Names
 
   
 
   
   --><th> Scientific Names {{#info: message=Just the plain name and ''no'' authority. Use instead ''Scientific Names with Author''.}} </th><!--  
+
   --><th> Scientific Names {{#info: message=Just the plain name and ''no'' authority. Use instead ''Scientific Names with Author''.}}<div style="float:right;margin-top:1ex;">[[File:Word cloud of an article Sandel-et-al-2011.png|link=|x25px]]</div> </th><!--  
   --><td>  {{{field | Scientific Names | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from property=Scientific Name| remote autocompletion}}}
+
   --><td>  {{{field | Scientific Names | input type=textarea with autocomplete| autogrow | rows=3 | list | delimiter=; | values from property=Scientific Name| remote autocompletion|placeholder=Simple, no authority, e.g. “Carex curvula rosae; Carex mollis;”}}}
 
{{Hidden
 
{{Hidden
 
  | contentclass = indicateHiddenInputs
 
  | contentclass = indicateHiddenInputs
  | header = ''Scientific Names (w. Auth.), Synonyms, Common Names&nbsp;…''
+
  | header = ''Scientific Names (complete w. Auth.), Synonyms, Common Names&nbsp;…''
 
  | toggle text = + / − | toggle position = left
 
  | toggle text = + / − | toggle position = left
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | content =
 
  | content =
<div class="floating-form-parts">  Scientific Names (w. Auth.):  <br/> {{{field | Scientific Names with Author | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name with Author| remote autocompletion}}}</div>
+
<div class="floating-form-parts">  Scientific Names (w. Auth.):  <br/> {{{field | Scientific Names with Author | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name with Author| remote autocompletion|placeholder=As complete as possible, *including* authority, e.g. “Carex alopecuroides D.Don ex Tilloch & Taylor;” (semicolon list)}}}</div>
  
<div class="floating-form-parts">  Synonyms:  <br/> {{{field | Scientific Name Synonyms | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name Synonyms| remote autocompletion}}}</div>
+
<div class="floating-form-parts">  Synonyms:  <br/> {{{field | Scientific Name Synonyms | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Scientific Name Synonyms| remote autocompletion | placeholder=As complete as possible, *including* authority (semicolon list)}}}</div>
  
<div class="floating-form-parts">  Common Names:  <!-- Not in use Vernacular names--> <br/> {{{field | Common Names | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Common Name| remote autocompletion}}}</div>
+
<div class="floating-form-parts">  Common Names:  <!-- Not in use Vernacular names--> <br/> {{{field | Common Names | input type=textarea with autocomplete | autogrow | list | delimiter=; | values from property=Common Name| remote autocompletion| placeholder=(semicolon list)}}}</div>
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
Line 110: Line 110:
 
   General Keywords
 
   General Keywords
 
    
 
    
   --><th> General Keywords </th><!--  
+
   --><th>General Keywords</th><!--  
 
   --><td><!--  
 
   --><td><!--  
 
     -->{{{field | General Keywords | input type=textarea with autocomplete | rows=3 | list | delimiter=; | values from namespace=Category |placeholder=Keywords or “tags” separated by semicolon “;”| autogrow| remote autocompletion}}}<!--  
 
     -->{{{field | General Keywords | input type=textarea with autocomplete | rows=3 | list | delimiter=; | values from namespace=Category |placeholder=Keywords or “tags” separated by semicolon “;”| autogrow| remote autocompletion}}}<!--  
 
   --></td><!--  
 
   --></td><!--  
 
--></tr><tr><!--  
 
--></tr><tr><!--  
   --><th> Derived From</th><!--  
+
   --><th>Derived From<br/>{{#info: message=If a resource is derived from another resource, involving significant modification, the resource should refer to the source resource using an appropriate identifier (URI, DOI, etc.). Multiple entries by semicolon “;”, e.g. <nowiki>[[:File:…]]</nowiki>; <nowiki>[[:File:…]]</nowiki>.}}</th><!--  
 
   --><td><!--
 
   --><td><!--
     -->{{{field | Derived From | input type=textarea | rows=3| autogrow}}} <!--
+
     -->{{{field | Derived From | input type=textarea | rows=3| autogrow | placeholder=URI, DOI, etc. or (also multiple) File:…; File:…;}}} <!--  
    --><br/><span class="comment-gray">If&nbsp;a&nbsp;resource&nbsp;is&nbsp;derived&nbsp;from&nbsp;another&nbsp;resource,&nbsp;involving&nbsp;significant&nbsp;modification, the resource should refer to the source resource using an appropriate identifier (URI, DOI, etc.). Multiple entries by semicolon “;”, e.g. <nowiki>[[:File:…]]</nowiki>; <nowiki>[[:File:…]]</nowiki>.</span><!--
+
 
   --></td><!--  
 
   --></td><!--  
 
--></tr><tr><!--  
 
--></tr><tr><!--  
 
   --><td style="text-align:right;">Creators:</td><!--  
 
   --><td style="text-align:right;">Creators:</td><!--  
   --><td>{{{field | Creators | input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Creator| placeholder= The person or organization responsible for creating the media resource| remote autocompletion}}}</td><!--  
+
   --><td>{{{field | Creators | mandatory|input type=text with autocomplete | size = 100 | list | delimiter=; | values from property=Creator| placeholder= The person or organization responsible for creating the media resource| remote autocompletion}}}</td><!--  
 
--></tr><tr><!--  
 
--></tr><tr><!--  
 
   --><td style="text-align:right;">Contributors:</td><!--  
 
   --><td style="text-align:right;">Contributors:</td><!--  
Line 131: Line 130:
 
   Metadata Details
 
   Metadata Details
 
    
 
    
   --><th>Metadata&nbsp;Details<!--
+
   --><th><div class="floatright">{{Logo | Information }}</div>Metadata<br/>Details<!--  
    --><br/><!--
+
    -->{{Logo | Information }}<!--  
+
 
   --></th><!--  
 
   --></th><!--  
 
   --><td><!--
 
   --><td><!--
Line 172: Line 169:
 
-->{{Hidden
 
-->{{Hidden
 
  | contentclass = indicateHiddenInputs
 
  | contentclass = indicateHiddenInputs
  | header = ''Publication Details&nbsp;…''
+
  | header = ''Publication Details, Published Source, Reviewer Comments, Resource ID&nbsp;…''
 
  | toggle text = + / − | toggle position = left
 
  | toggle text = + / − | toggle position = left
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | contentstyle = border-left: 1px solid #cccccc; padding-left:10px;
 
  | content =  
 
  | content =  
<div class="floating-form-parts">  Published Source:        <br/> {{{field | Published Source}}}</div>
+
<div class="floating-form-parts">  Published Source:        <br/> {{{field | Published Source | input type=textarea| autogrow |rows=2}}}</div>
  
<div class="floating-form-parts">  Reviewer Name:           <br/> {{{field | Reviewer Name}}}</div>
+
<div class="floating-form-parts"><table><!--
 +
--><tr><!--
 +
  --><td>Reviewer Name:</td><!-- --><td>Peer Reviewer Name:</td><!--
 +
--></tr><!--
 +
--><tr><!--
 +
  --><td>{{{field | Reviewer Name}}}</td><!--  --><td>{{{field | Peer Reviewer Name}}}</td><!--
 +
--></tr><!--
 +
--></table></div>
  
<div class="floating-form-parts">  Peer Reviewer Name:      <br/> {{{field | Peer Reviewer Name}}}</div>
+
<div class="floating-form-parts">  Reviewer Comments      <br/> {{{field | Reviewer Comments | input type=textarea | autogrow|rows=2}}}</div>
  
<div class="floating-form-parts">  Reviewer Comments      <br/> {{{field | Reviewer Comments | textarea | autogrow}}}</div>
+
<div class="floating-form-parts">  Peer Reviewer Comments:  <br/> {{{field | Peer Reviewer Comments | input type=textarea | autogrow|rows=2}}}</div>
 
+
<div class="floating-form-parts">  Peer Reviewer Comments:  <br/> {{{field | Peer Reviewer Comments | textarea | autogrow}}}</div>
+
  
 
<div class="floating-form-parts">  Rating: {{{field | Rating | input type=dropdown | values=0, 1, 2, 3, 4, 5 | default=0 | size =5}}}<br/><!--
 
<div class="floating-form-parts">  Rating: {{{field | Rating | input type=dropdown | values=0, 1, 2, 3, 4, 5 | default=0 | size =5}}}<br/><!--
 
   --><span class="comment-gray"> 0&nbsp;= (unrated); 1&nbsp;= bad, strongly disliked; 2&nbsp;= neutral; 3&nbsp;= good, suitable, or liked; 4&nbsp;= very good, suitable, or liked; 5&nbsp;= Superb</span><!--
 
   --><span class="comment-gray"> 0&nbsp;= (unrated); 1&nbsp;= bad, strongly disliked; 2&nbsp;= neutral; 3&nbsp;= good, suitable, or liked; 4&nbsp;= very good, suitable, or liked; 5&nbsp;= Superb</span><!--
 
   --></div>
 
   --></div>
 +
 +
<div class="floating-form-parts">  Resource ID:        <br/>{{{field | Resource ID }}}</div>
  
 
<div style="clear:both;"></div>
 
<div style="clear:both;"></div>
Line 197: Line 201:
 
   Taxon Details
 
   Taxon Details
 
    
 
    
   --><th>Taxon Details</th><!--  
+
   --><th><div class="floatright">{{Logo | systematics}}</div>Taxon<br/>Details</th><!--  
 
   --><td><!--
 
   --><td><!--
 
   Taxon Details
 
   Taxon Details
Line 239: Line 243:
 
   Geographic Details
 
   Geographic Details
 
    
 
    
   --><th>Geographic&nbsp;Details<!--  
+
   --><th><div class="floatright">{{Logo | map}}</div>Geogra-<br/>phic Details<!--  
 
     --><br/><!--
 
     --><br/><!--
     -->{{Logo | map}}</th><!--  
+
     --></th><!--  
 
   --><td><!--
 
   --><td><!--
 
   -->{{Hidden
 
   -->{{Hidden
Line 275: Line 279:
 
<div class="floating-form-parts">  Geocoordinates: <!--
 
<div class="floating-form-parts">  Geocoordinates: <!--
 
   --><span class="comment-gray">27°59′16″N,&nbsp;86°56′40″E&nbsp;(WGS84)&nbsp;or&nbsp;+49.5000°,-123.5000°</span><!--
 
   --><span class="comment-gray">27°59′16″N,&nbsp;86°56′40″E&nbsp;(WGS84)&nbsp;or&nbsp;+49.5000°,-123.5000°</span><!--
   --><br/> {{{field | Geocoordinates | size=100}}} </div>
+
   --><br/>{{{field | Geocoordinates | input type=googlemaps | property=Geocoordinates | width=600 | height=600 |  zoom=4 | autozoom=off | center=48.922499,11.480713}}} </div>
  
 
<div class="floating-form-parts">  Compass Heading:<br/><!--
 
<div class="floating-form-parts">  Compass Heading:<br/><!--
Line 290: Line 294:
 
   License
 
   License
  
   --><th colspan=2 style="border-top:1px dotted black;"> License/Copyright<!--  
+
   --><th style="border-top:1px dotted black;"><div class="floatright">{{Logo | License}}</div> License<br/>Copyright<!--  
     --><br/><!--
+
     --></th><td style="border-top:1px dotted black;"></td><!--  
    -->{{Logo | License}}</th><!--  
+
 
--></tr><tr><!--  
 
--></tr><tr><!--  
 
   --><td style="text-align:right;">Copyright Owner:</td><!--  
 
   --><td style="text-align:right;">Copyright Owner:</td><!--  
   --><td>{{{field | Copyright Owner | input type=text with autocomplete | list | delimiter=; | values from property=Copyright Owner | size=100| remote autocompletion}}}</td><!--  
+
   --><td>{{{field | Copyright Owner | input type=text with autocomplete | list | delimiter=; | values from property=Copyright Owner | size=100| remote autocompletion|mandatory}}}</td><!--  
 
--></tr><tr><!--  
 
--></tr><tr><!--  
 
   --><td style="text-align:right;">Copyright Statement:</td><!--  
 
   --><td style="text-align:right;">Copyright Statement:</td><!--  

Latest revision as of 09:40, 11 September 2018

This is the form “Metadata template for upload file” for inserting data into the template: Metadata within the upload process. To upload a File, click the button below. See also form: Metadata for all File pages.