Difference between revisions of "Form:Metadata/include core"

From OpenMedia
Jump to: navigation, search
m (+info message)
m
Line 93: Line 93:
 
   General Keywords
 
   General Keywords
 
    
 
    
   --><th> General Keywords </th><td>&#123;&#123;&#123;field &#124; General Keywords &#124; input type=textarea with autocomplete &#124; rows=3 &#124; list &#124; delimiter=; &#124; values from namespace=Category &#124; placeholder=Keywords or “tags” separated by semicolon “;”&#124; autogrow&#124; remote autocompletion&#125;&#125;&#125;</td></tr><tr><th> Derived From {{#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 files (; list) can be given as well e.g. File:…; File:…;<br/>For reference source notes, see ''Metadata&nbsp;Details''&nbsp;> ''''Published&nbsp;Source''}}</th><td>&#123;&#123;&#123;field &#124; Derived From &#124; input type=textarea &#124; rows=3&#124; autogrow &#124; placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”&#125;&#125;&#125; <!--  
+
   --><th> General Keywords </th><td>&#123;&#123;&#123;field &#124; General Keywords &#124; input type=textarea with autocomplete &#124; rows=3 &#124; list &#124; delimiter=; &#124; values from namespace=Category &#124; placeholder=Keywords or “tags” separated by semicolon “;”&#124; autogrow&#124; remote autocompletion&#125;&#125;&#125;</td></tr><tr><th> Derived From {{#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 files (; list) can be given as well e.g. File:…; File:…;<br/>For reference source notes, see ''Metadata&nbsp;Details''&nbsp;> ''Published&nbsp;Source''}}</th><td>&#123;&#123;&#123;field &#124; Derived From &#124; input type=textarea &#124; rows=3&#124; autogrow &#124; placeholder=URI or DOI etc. or multiple files (; list) as “File:…; File:…;”&#125;&#125;&#125; <!--  
  
 
   --></td>
 
   --></td>

Revision as of 10:26, 28 August 2015

Core template for {{Metadata}} to be included in conjunction also with other possible forms. Because of including this page into other form pages, all form-field parameter need to be rewritten as HTML entities with the following correspondence of characters:

Character HTML
Entity
{ &#123;
} &#125;
| &#124;

So the form field-definition …

{{{field | templateparameter | input type=textarea | rows=2 | autogrow}}}

… becomes …

&#123;&#123;&#123;field &#124; templateparameter &#124; input type=textarea &#124; rows=2 &#124; autogrow&#125;&#125;&#125;

Usage

This Page is meant to be included:

{{:Metadata/include core}}

Dependencies