Actions

Category

Difference between revisions of "Documents"

Line 3: Line 3:
 
     <CreateTitle>Create a new document</CreateTitle>
 
     <CreateTitle>Create a new document</CreateTitle>
 
     <EditTitle>Edit the document</EditTitle>
 
     <EditTitle>Edit the document</EditTitle>
     <standardInputs freeTextLabel="Notes" inputFreeText="1" inputWatch="1" inputSave="1" inputPreview="1" inputChanges="1" inputCancel="1"/>
+
     <standardInputs freeTextLabel="Free text" inputFreeText="1" inputWatch="1" inputSave="1" inputPreview="1" inputChanges="1" inputCancel="1"/>
 
   </semanticforms_Form>
 
   </semanticforms_Form>
 
   <Template name="Document" format="standard">
 
   <Template name="Document" format="standard">
 
     <Field name="Title">
 
     <Field name="Title">
 
       <Label>Title</Label>
 
       <Label>Title</Label>
      <semanticforms_FormInput>
 
        <InputType>text</InputType>
 
      </semanticforms_FormInput>
 
      <semanticmediawiki_Property name="">
 
        <Type>Text</Type>
 
      </semanticmediawiki_Property>
 
 
     </Field>
 
     </Field>
 
     <Field name="Title in original script" display="nonempty">
 
     <Field name="Title in original script" display="nonempty">
Line 75: Line 69:
 
       <semanticmediawiki_Property name="">
 
       <semanticmediawiki_Property name="">
 
         <Type>Text</Type>
 
         <Type>Text</Type>
 +
      </semanticmediawiki_Property>
 +
    </Field>
 +
    <Field name="Upload files" list="list">
 +
      <Label>Upload file(s)</Label>
 +
      <semanticforms_FormInput>
 +
        <Parameter name="uploadable"/>
 +
        <Parameter name="default filename">&lt;page name&gt;.pdf</Parameter>
 +
      </semanticforms_FormInput>
 +
      <semanticmediawiki_Property name="">
 +
        <Type>Page</Type>
 +
        <AllowedValue>{{PAGENAME}}</AllowedValue>
 
       </semanticmediawiki_Property>
 
       </semanticmediawiki_Property>
 
     </Field>
 
     </Field>
 
   </Template>
 
   </Template>
 
</PageSchema>
 
</PageSchema>

Revision as of 22:16, 15 September 2014

Page schema
Form: Document
CreateTitle Create a new document
EditTitle Edit the document
standardInputs
Template: Document
format standard
Field: Title
Label Title
Field: Title in original script
Display nonempty
Label Title in original script
Form input
Input type text
Semantic property
Type Text
Field: Translated title
Display nonempty
Label Translated title
Form input
Input type text
Semantic property
Type Text
Field: Authors
List
Label Author(s)
Form input
Input type text with autocomplete
Semantic property
Type Page
Field: Languages
List
Label Language(s)
Form input
Input type checkboxes
Semantic property
Type Text
Field: Publication year
Form input
Input type text
Semantic property
Type Number
Field: Genres
List
Display nonempty
Label Genre(s)
Form input
Input type text with autocomplete
Semantic property
Type Text
Field: Subjects
List
Display nonempty
Label Subject(s)
Form input
Input type text with autocomplete
Semantic property
Type Text
Field: Upload files
List
Label Upload file(s)
Form input
uploadable
default filename <page name>.pdf
Semantic property
Type Page
AllowedValue {{PAGENAME}}

Pages in category "Documents"

This category contains only the following page.