Difference between revisions of "Form:Information"

From OpenMedia
Jump to: navigation, search
m
m (lower case parameters (follow upload wizard))
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
To create a page with this form, enter the page name below;
 
To create 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.
 
if a page with that name already exists, you will be sent to a form to edit that page.
 
  
 
{{#forminput:form=Information
 
{{#forminput:form=Information
Line 21: Line 20:
 
   |button text=Edit file's metadata
 
   |button text=Edit file's metadata
 
}}
 
}}
 +
== Technical problems ==
 +
 +
The upload wizard uses lower case parameters, but the template use for most parameters 4 variants:
 +
* other_versions, Other_versions, other versions, Other versions
 +
… and the template can not handle this. For „other versions“ the underscored variant seems to be used.
 +
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 
{{{for template|Cached Commons Copy|multiple|add button text=Add cached commons copy (info)}}}
 
{{{for template|Cached Commons Copy|multiple|add button text=Add cached commons copy (info)}}}
 
<h2>Cached Commons Copy</h2>
 
<h2>Cached Commons Copy</h2>
 
{| class="formtable"
 
{| class="formtable"
! File:
+
!  
| {{{field|file|size=98}}}
+
| '''File:'''{{{field|file|size=94}}}
 
|-
 
|-
 
! Lastuploader:
 
! Lastuploader:
Line 53: Line 58:
 
|-
 
|-
 
! Author:
 
! Author:
| {{{field|Author|size=98}}}
+
| {{{field|author|size=98}}}
 
|-
 
|-
 
! Description:
 
! Description:
| {{{field|Description|input type=textarea}}}
+
| {{{field|description|input type=textarea}}}
 
|-
 
|-
 
! Date:
 
! Date:
| {{{field|Date|input type=datetime}}}
+
| {{{field|date|input type=datetime}}}
 
|-
 
|-
 
! Source:
 
! Source:
| {{{field|Source|input type=textarea|rows=2}}}
+
| {{{field|source|input type=textarea|rows=2}}}
 
|-
 
|-
 
! Permission:
 
! Permission:
| {{{field|Permission|input type=textarea|rows=2}}}
+
| {{{field|permission|input type=textarea|rows=2}}}
 
|-
 
|-
 
! Other versions:
 
! Other versions:
| {{{field|Other versions|input type=textarea|rows=2}}}
+
| {{{field|other_versions|input type=textarea|rows=2}}}
 
|-
 
|-
 
! Demo:
 
! Demo:
Line 74: Line 79:
 
|-
 
|-
 
! Other fields:
 
! Other fields:
| {{{field|Other fields|input type=textarea|rows=2}}}
+
| {{{field|other_fields|input type=textarea|rows=2}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Latest revision as of 13:13, 26 September 2013

This is the "Information" form based on template: Information and it is used to edit metadata of media files being cached in this wiki. To create 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.

 


For more metadata details use the template: Metadata with the following form:

 

Technical problems

The upload wizard uses lower case parameters, but the template use for most parameters 4 variants:

  • other_versions, Other_versions, other versions, Other versions

… and the template can not handle this. For „other versions“ the underscored variant seems to be used.