Kategorie:Einsatzbeispiel: Unterschied zwischen den Versionen

Aus Waldmonitoring Wiki
 
(21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
 
<PageSchema>
 
<PageSchema>
   <pageforms_Form name="EinsatzbeispielTest">
+
   <pageforms_Form name="Einsatzbeispiel">
     <CreateTitle>EinsatzbeispielTest erstellen</CreateTitle>
+
     <CreateTitle>Einsatzbeispiel erstellen</CreateTitle>
     <EditTitle>EinsatzbeispielTest bearbeiten</EditTitle>
+
     <EditTitle>Einsatzbeispiel bearbeiten</EditTitle>
     <standardInputs freeTextLabel="Detaillierte Beschreibung" 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="EinsatzbeispielTest_Vorlage" format="infobox">
+
 
     <Field name="EinsatzbeispielTest_Bild" display="nonempty" namespace="Datei">
+
   <Template name="Einsatzbeispiel_Vorlage" format="infobox">
       <Label>EinsatzbeispielTest-Bild</Label>
+
     <Field name="Einsatzbeispiel_Autor">
 +
       <Label>Autor*</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
 
         <InputType>text</InputType>
 
         <InputType>text</InputType>
         <Parameter name="uploadable"/>
+
         <Parameter name="mandatory"/>
        <Parameter name="image preview"/> hoch)</TextBeforeField>
 
        <Description>Dateibeschreibung...</Description>
 
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
     <Field name="EinsatzbeispielTest_Kontakt" display="nonempty">
+
     <Field name="Einsatzbeispiel_Kontakt" display="nonempty">
 
       <Label>Kontakt</Label>
 
       <Label>Kontakt</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
Zeile 21: Zeile 20:
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
     <Field name="EinsatzbeispielTest_Link" display="nonempty">
+
     <Field name="Einsatzbeispiel_Link" display="nonempty">
 
       <Label>Link</Label>
 
       <Label>Link</Label>
 
       <pageforms_FormInput>
 
       <pageforms_FormInput>
 
         <InputType>text</InputType>
 
         <InputType>text</InputType>
        <TextBeforeField>EinsatzbeispielTest_Link:before</TextBeforeField>
 
 
       </pageforms_FormInput>
 
       </pageforms_FormInput>
 
     </Field>
 
     </Field>
     <Field name=""/>
+
     <Field name="Einsatzbeispiel_Ort">
 +
      <Label>Ort</Label>
 +
      <pageforms_FormInput>
 +
        <InputType>text</InputType>
 +
      </pageforms_FormInput>
 +
    </Field>
 +
 +
<Field name="Einsatzbeispiel_Datum">
 +
      <Label>Datum</Label>
 +
      <pageforms_FormInput>
 +
        <InputType>date</InputType>
 +
      </pageforms_FormInput>
 +
    </Field>
 +
  </Template>
 +
 
 +
  <!--
 +
  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>
 +
        <InputType>text</InputType>
 +
        <Parameter name="uploadable"/>
 +
        <Parameter name="image preview"/>
 +
      </pageforms_FormInput>
 +
      <semanticmediawiki_Property name="">
 +
        <Type>Seite</Type>
 +
      </semanticmediawiki_Property>
 +
    </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