Difference between revisions of "Category:FAQ"

From BITPlan mediawiki-japi Wiki
Jump to navigation Jump to search
(Created page with "Frequently Asked Questions")
 
(modified by JSMW_PageSchema at 2015-01-07T08:43:42Z)
Line 1: Line 1:
Frequently Asked Questions
+
<PageSchema category="FAQ">
 +
  <semanticforms_Form name="FAQ"/>
 +
  <Template name="FAQ" format="standard">
 +
      <Field name="question">
 +
        <semanticforms_FormInput>
 +
            <InputType></InputType>
 +
            <Parameter name="size">5000</Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>Question</Label>
 +
        <semanticmediawiki_Property name="FAQ_question">
 +
            <Type>Text</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field name="askedOn">
 +
        <semanticforms_FormInput>
 +
            <InputType></InputType>
 +
            <Parameter name="size">12</Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>asked on</Label>
 +
        <semanticmediawiki_Property name="FAQ_askedOn">
 +
            <Type>Date</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field name="askedBy">
 +
        <semanticforms_FormInput>
 +
            <InputType>ComboBox</InputType>
 +
            <Parameter name="size">80</Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>asked by</Label>
 +
        <semanticmediawiki_Property name="FAQ_askedBy">
 +
            <Type>Page</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
      <Field name="answer">
 +
        <semanticforms_FormInput>
 +
            <InputType></InputType>
 +
            <Parameter name="size">5000</Parameter>
 +
        </semanticforms_FormInput>
 +
        <Label>Answer</Label>
 +
        <semanticmediawiki_Property name="FAQ_answer">
 +
            <Type>Text</Type>
 +
        </semanticmediawiki_Property>
 +
      </Field>
 +
  </Template>
 +
</PageSchema>
 +
[[Category:PageSchema]]
 +
This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T08:43:42Z<br>
 +
It has the template: [[:Template:FAQ]]<br>
 +
And the form: [[:Form:FAQ]]<br>
 +
see [https://www.mediawiki.org/wiki/Extension:Page_Schemas#Sample%20XML%20Structure Semantic Page Schemas sample xml structure]<br><source lang='java'PageSchemaManager psm=new PageSchemaManager();
 +
  PageSchema faqPageSchema=new PageSchema(psm,"FAQ");
 +
 +
  Template faqTemplate = faqPageSchema.getDefaultTemplate();
 +
  faqTemplate.addField("question","Question","Text","size=5000");
 +
  faqTemplate.addField("askedOn","asked on","Date","size=12");
 +
  faqTemplate.addField("askedBy","asked by","Page","ComboBox","size=80");
 +
  faqTemplate.addField("answer","Answer","Text","size=5000");
 +
 
 +
  // FIXME add comment option
 +
  String wikiDocumentation="see [https://www.mediawiki.org/wiki/Extension:Page_Schemas#Sample%20XML%20Structure Semantic Page Schemas sample xml structure]";
 +
  String exampleSource=""; // paste the full source here
 +
  faqPageSchema.setWikiDocumentation(wikiDocumentation,exampleSource,"java");
 +
  faqPageSchema.setUmlDocumentation("I represent a Frequently asked question");
 +
 
 +
  psm.update(this.getWiki());</source><br>
 +
<uml>
 +
skinparam classBackgroundColor white
 +
skinparam classBorderColor #FF8000
 +
skinparam classFontColor black
 +
skinparam classFontSize 12
 +
skinparam classFontName Arial
 +
skinparam NoteBorderColor #FF8000
 +
skinparam NoteBackgroundColor #FFFFF0
 +
 
 +
title PageSchema FAQ
 +
note as FAQDiagramNote
 +
Copyright (c) 2015 BITPlan GmbH
 +
[[http://www.bitplan.com]]
 +
end note
 +
note as FAQNote
 +
I represent a Frequently asked question
 +
end note
 +
FAQNote ..FAQ
 +
Class FAQ <<Category>> {
 +
Text Question
 +
Date asked on
 +
Page asked by
 +
Text Answer
 +
 
 +
}
 +
hide  <<Category>> circle
 +
</uml>

Revision as of 09:43, 7 January 2015

<PageSchema category="FAQ">

  <semanticforms_Form name="FAQ"/>
  <Template name="FAQ" format="standard">
     <Field name="question">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">5000</Parameter>
        </semanticforms_FormInput>
        <Label>Question</Label>
        <semanticmediawiki_Property name="FAQ_question">
           <Type>Text</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="askedOn">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">12</Parameter>
        </semanticforms_FormInput>
        <Label>asked on</Label>
        <semanticmediawiki_Property name="FAQ_askedOn">
           <Type>Date</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="askedBy">
        <semanticforms_FormInput>
           <InputType>ComboBox</InputType>
           <Parameter name="size">80</Parameter>
        </semanticforms_FormInput>
        <Label>asked by</Label>
        <semanticmediawiki_Property name="FAQ_askedBy">
           <Type>Page</Type>
        </semanticmediawiki_Property>
     </Field>
     <Field name="answer">
        <semanticforms_FormInput>
           <InputType></InputType>
           <Parameter name="size">5000</Parameter>
        </semanticforms_FormInput>
        <Label>Answer</Label>
        <semanticmediawiki_Property name="FAQ_answer">
           <Type>Text</Type>
        </semanticmediawiki_Property>
     </Field>
  </Template>

</PageSchema> This Category has been generated with JSMW_PageSchema Version 0.0.2 at 2015-01-07T08:43:42Z
It has the template: Template:FAQ
And the form: Form:FAQ
see Semantic Page Schemas sample xml structure
<source lang='java'PageSchemaManager psm=new PageSchemaManager(); PageSchema faqPageSchema=new PageSchema(psm,"FAQ");

Template faqTemplate = faqPageSchema.getDefaultTemplate(); faqTemplate.addField("question","Question","Text","size=5000"); faqTemplate.addField("askedOn","asked on","Date","size=12"); faqTemplate.addField("askedBy","asked by","Page","ComboBox","size=80"); faqTemplate.addField("answer","Answer","Text","size=5000");

// FIXME add comment option String wikiDocumentation="see Semantic Page Schemas sample xml structure"; String exampleSource=""; // paste the full source here faqPageSchema.setWikiDocumentation(wikiDocumentation,exampleSource,"java"); faqPageSchema.setUmlDocumentation("I represent a Frequently asked question");

psm.update(this.getWiki());</source>

Pages in category "FAQ"

This category contains only the following page.