Wikipedia:FormWizard/Config/Co-op/Learner

From Wikipedia!
Jump to navigation Jump to search

///* IdeaLab - create and expand idea form wizard configuration file */ var formsGadgetConfig = {

   "create": {
       "config":{
           "post-edit": "Thank you for creating your idea!",
           "new-page": true,
           "namespace": "Wikipedia",
           "portal-page": "Co-op",
           "page-template": "",
           "infobox": "Wikipedia:Co-op/Learner_profile",
           "talkpage-template": "",
           "page-home": "Wikipedia:Co-op",
           "dialog-title": "Let's create your idea!",
           "error-not-logged-in": "Not logged in.",
          "edit-comment-prefix": "Creating a new idea ",
          "edit-comment-suffix": " (edited with FormWizard)",
       },
       "step-1":{
           "introText": {
               "type": "text",
               "string": "Don't worry about getting all your answers perfect in this form, you can add and make changes to your page after creating your first draft!",
               },
           "introText": {
               "type": "text",
               "string": "Step 1 (of 2). Basic information",
               },
           "projectNameTextbox": {
               "type": "smallTextBox",
               "placeholder": "What should we call your idea?",
               "title": "Idea title",
               "characterLength":100,
               "mandatory":true,
               "add-to": "infobox",
               "infobox-param":"project",
               "validate": "doesNotExists",
               "page-title":true
               },
           "projectSummaryTextbox": {
               "type": "largeTextBox",
               "placeholder": "Briefly summarize your idea in one sentence",
               "title": "Summary",
               "characterLength":300,
               "mandatory": true,
               "add-to": "infobox",
               "infobox-param":"summary",
               },
           "projectIdeaSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "This is the 'project idea' section header",
               "characterLength":1000,
               "section": "Project idea",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Project idea",
               },
            "projectGoalsSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "This is the 'goals' section header",
               "characterLength":1000,
               "section": "Goals",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Goals",
               "value": "",
               "comment": "",
               },
           "getInvolvedSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "This is the 'get involved' section header",
               "characterLength":1000,
               "section": "Project idea",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Get Involved",
               "value": "",
               "comment" :"",
               },
          "participantsSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "This is the 'participants' section header",
               "characterLength":1000,
               "section": "Participants",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Participants",
               "parent" : "getInvolvedSection",
               "value": "",
               "comment": "",
           },
          "endorsementsSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "This is the 'endorsements' section header",
               "characterLength":1000,
               "section": "Endorsements",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Endorsements",
               "parent" : "getInvolvedSection",
               "value": "",
               "comment": "",
           },
          "expandSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "leave this blank!",
               "characterLength":1000,
               "section": "Expand your idea",
               "mandatory": "false",
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Expand your idea",

"value": 'Do you want to submit your idea for funding from the Wikimedia Foundation?

Expand your idea into a grant proposal

',

               "comment": "",
           },
           "projectProblemSolvedTextbox": {
               "type": "largeTextBox",
               "placeholder": "Explain the issue you want to address with this idea",
               "title": "What is the problem you're trying to solve?",
               "characterLength":2000,
               "section": "What is the problem you're trying to solve?",
               "mandatory": false,
               "add-to": "section",
               "parent" : "projectIdeaSection",
               "section-header": "What is the problem you're trying to solve?",
           },
           "projectSolutionTextbox": {
               "type": "largeTextBox",
               "placeholder": "Explain how your idea might address the issue",
               "title": "What is your solution?",
               "characterLength":2000,
               "section": "What is your solution?",
               "mandatory": false,
               "add-to": "section",
               "parent" : "projectIdeaSection",
               "section-header": "What is your solution?",
           },
           "nextButton":{
               "type":"doneButton",
               "title":"Create my idea",
           },
           "cancelButton":{
               "type": "cancelButton",
               "title":"Cancel",
           },
       },
   },
   "expand": {
       "config":{
           "post-edit": "Thank you for turning your idea into an Inspire Grant proposal! Please feel free to continue editing your page to improve it over time, and watch the discussion page for more information.",
           "new-page": false,
           "namespace": "Wikipedia",
           "portal-page": "Co-op",
           "page-template": "",
           "infobox": "Wikipedia:Co-op/Learner_profile",
           "talkpage-template": "",
           "page-home": "Wikipedia:Co-op",
           "dialog-title": "Let's turn your idea into a grant proposal",
           "error-not-logged-in": "You are not logged in - please login to your account before continuing.",
           "edit-comment-prefix": "Expanded idea into an Inspire Grant proposal ",
           "edit-comment-suffix": "(edited with FormWizard)",
       },
       "step-1":{
           "introText": {
               "type": "text",
               "string": "Step 1 (of 3). Activities and budgets",
               },
           "projectPlanSection": {
               "type": "largeTextBox",
               "placeholder": "leave this blank!",
               "title": "leave this blank!",
               "characterLength":1000,
               "section": "Project plan",
               "mandatory": false,
               "add-to": "section",
               "visibility": "hidden",
               "section-header": "Project plan",
               "value": "",
               "comment": "",
           },
           "nextButton": {
               "type":"doneButton",
               "title":"Expand my idea",
           },
           "cancelButton":{
               "type": "cancelButton",
               "title":"Cancel",
           },
       },
   },

};