Category:Work: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 12: Line 12:
         <Type>Page</Type>
         <Type>Page</Type>
       </semanticmediawiki_Property>
       </semanticmediawiki_Property>
       <semanticforms_FormInput/>
       <semanticforms_FormInput>
        <InputType>text with autocomplete</InputType>
        <Parameter name="values from category">student</Parameter>
      </semanticforms_FormInput>
     </Field>
     </Field>
     <Field name="Date">
     <Field name="Date">

Revision as of 17:19, 18 March 2013

<PageSchema>

 <semanticforms_Form name="Work"/>
 <Template name="Work" format="infobox">
   <Field name="Description">
     <semanticmediawiki_Property name="Description">
       <Type>Text</Type>
     </semanticmediawiki_Property>
     <semanticforms_FormInput/>
   </Field>
   <Field name="Creator" list="list">
     <semanticmediawiki_Property name="Creator">
       <Type>Page</Type>
     </semanticmediawiki_Property>
     <semanticforms_FormInput>
       <InputType>text with autocomplete</InputType>
       <Parameter name="values from category">student</Parameter>
     </semanticforms_FormInput>
   </Field>
   <Field name="Date">
     <Label>Year</Label>
     <semanticmediawiki_Property name="Date">
       <Type>Date</Type>
     </semanticmediawiki_Property>
     <semanticforms_FormInput>
       <InputType>year</InputType>
     </semanticforms_FormInput>
   </Field>
   <Field name="Thumbnail" display="nonempty">
     <semanticmediawiki_Property name="Thumbnail">
       <Type>Page</Type>
     </semanticmediawiki_Property>
     <semanticforms_FormInput>
       <Parameter name="uploadable">true</Parameter>
       <Parameter name="image preview">true</Parameter>
     </semanticforms_FormInput>
   </Field>
 </Template>

</PageSchema>