Kategorie:Einsatzbeispiel: Unterschied zwischen den Versionen

Aus Waldmonitoring Wiki
 
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
 
     <CreateTitle>Einsatzbeispiel erstellen</CreateTitle>
 
     <CreateTitle>Einsatzbeispiel erstellen</CreateTitle>
 
     <EditTitle>Einsatzbeispiel bearbeiten</EditTitle>
 
     <EditTitle>Einsatzbeispiel bearbeiten</EditTitle>
     <standardInputs freeTextLabel="Freitext" inputFreeText="1" inputSave="1" inputPreview="1" inputCancel="1"/>
+
     <standardInputs freeTextLabel="Zusammenfassung* und weitere Inhalte" inputFreeText="1" inputSave="1" inputPreview="1" inputCancel="1"/>
 
   </pageforms_Form>
 
   </pageforms_Form>
 +
 
 
   <Template name="Einsatzbeispiel_Vorlage" format="infobox">
 
   <Template name="Einsatzbeispiel_Vorlage" format="infobox">
 
     <Field name="Einsatzbeispiel_Autor">
 
     <Field name="Einsatzbeispiel_Autor">
Zeile 19: Zeile 20:
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
     <Field name="Einsatzbeispiel_Bild" display="nonempty" namespace="Datei">
+
     <Field name="Einsatzbeispiel_Link" display="nonempty">
       <Label>Einsatzbeispiel Bild</Label>
+
       <Label>Link</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
 
         <InputType>text</InputType>
 
         <InputType>text</InputType>
        <Parameter name="uploadable"/>
 
        <Parameter name="image preview"/>
 
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
      <semanticmediawiki_Property name="">
 
        <Type>Seite</Type>
 
      </semanticmediawiki_Property>
 
 
     </Field>
 
     </Field>
     <Field name="Einsatzbeispiel_Link" display="nonempty">
+
     <Field name="Einsatzbeispiel_Ort">
       <Label>Link</Label>
+
       <Label>Ort</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
 
         <InputType>text</InputType>
 
         <InputType>text</InputType>
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
    <Field name="Einsatzbeispiel_Ort">
+
       <Label>Ort</Label>
+
<Field name="Einsatzbeispiel_Datum">
 +
       <Label>Datum</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
         <InputType>googlemaps</InputType>
+
         <InputType>date</InputType>
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
 
   </Template>
 
   </Template>
   <Template name="Einsatzbeispiel_Vorlage_2" format="infobox">
+
 
    <Field name="Einsatzbeispiel_Datum">
+
  <!--
       <Label>Datum</Label>
+
  Removed 2021-03-01: File upload didn't pass filename to form (has to be manually copied, not intuitive)
 +
  Also would need another field: "Caption" to create image caption.
 +
  After creating sites with pageSchema, the Template "Einsatzbeispiel_Vorlage_Bild" has to be manually altered.
 +
 +
   <Template name="Einsatzbeispiel_Vorlage_Bild" format="plain">
 +
<Field name="Einsatzbeispiel_Bild" display="nonempty" namespace="Datei">
 +
       <Label>Einsatzbeispiel Bild</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
 
         <InputType>text</InputType>
 
         <InputType>text</InputType>
 +
        <Parameter name="uploadable"/>
 +
        <Parameter name="image preview"/>
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 +
      <semanticmediawiki_Property name="">
 +
        <Type>Seite</Type>
 +
      </semanticmediawiki_Property>
 
     </Field>
 
     </Field>
 
   </Template>
 
   </Template>
 +
  -->
 +
 
 
</PageSchema>
 
</PageSchema>

Aktuelle Version vom 1. März 2021, 08:00 Uhr

Page schema
Form: Einsatzbeispiel
CreateTitle Einsatzbeispiel erstellen
EditTitle Einsatzbeispiel bearbeiten
standardInputs
Vorlage: Einsatzbeispiel_Vorlage
format infobox
Feld: Einsatzbeispiel_Autor
Label Autor*
Formulareingabe
Input type text
mandatory
Feld: Einsatzbeispiel_Kontakt
Display nonempty
Label Kontakt
Formulareingabe
Input type text
Feld: Einsatzbeispiel_Link
Display nonempty
Label Link
Formulareingabe
Input type text
Feld: Einsatzbeispiel_Ort
Label Ort
Formulareingabe
Input type text
Feld: Einsatzbeispiel_Datum
Label Datum
Formulareingabe
Input type date