Category:Work: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 34: Line 34:
         <Parameter name="image preview">true</Parameter>
         <Parameter name="image preview">true</Parameter>
       </semanticforms_FormInput>
       </semanticforms_FormInput>
    </Field>
    <Field name="Website" display="nonempty">
      <semanticmediawiki_Property name="Website">
        <Type>URL</Type>
      </semanticmediawiki_Property>
      <semanticforms_FormInput/>
     </Field>
     </Field>
   </Template>
   </Template>
</PageSchema>
</PageSchema>

Revision as of 18:27, 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>
   <Field name="Website" display="nonempty">
     <semanticmediawiki_Property name="Website">
       <Type>URL</Type>
     </semanticmediawiki_Property>
     <semanticforms_FormInput/>
   </Field>
 </Template>

</PageSchema>