|
|
(One intermediate revision by one other user not shown) |
Line 1: |
Line 1: |
| [[Category:HelpBooks]] | | #REDIRECT [[Category:Question_Definition]] |
|
| |
| | |
| ======Question Definition======
| |
| | |
| This chapter describes how to define a question using QSL.
| |
| | |
| '''Supported question types'''
| |
| | |
| * Single
| |
| * Multi
| |
| * Open
| |
| * Text
| |
| * Number
| |
| * Page
| |
| * Multimedia
| |
| * Scale
| |
| * Single grid
| |
| * Multi grid
| |
| * Scale grid
| |
| * Text grid
| |
| | |
| '''General syntax'''
| |
| | |
| QUESTION ''question_label [question_type] [property_set]''
| |
| | |
| ''question_body''
| |
| | |
| ''question_text''
| |
| | |
| '''Arguments'''
| |
| | |
| ''question_label'': label of the question. It must follow the standard format of question label.
| |
| | |
| ''question_type'': must be one of QSL's predefined keywords for question types. This is an optional argument, if it is left blank, the question's type will be set as Single.
| |
| | |
| {| class="tableintopic" style="border-collapse: collapse; border: 1px solid #010101" width="563" border="1" cellpadding="2"
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" bgcolor="#C0C0C0" valign="bottom" |
| |
| '''Question Type'''
| |
| | style="border: 1px solid #010101" width="281" bgcolor="#C0C0C0" valign="bottom" |
| |
| '''QSL Keyword'''
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Single
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| SINGLE
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Multi
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| MULTI
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Page
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| PAGE
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Number
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| NUMBER
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Text
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| TEXT
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Open
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| OPEN
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Multimedia
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| MULTIMEDIA
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Scale
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| SCALE
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Single grid
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| SINGLEGRID
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Multi grid
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| MULTIGRID
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Scale grid
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| SCALEGRID
| |
| |- align="left" valign="top"
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| Text grid
| |
| | style="border: 1px solid #010101" width="281" valign="bottom" |
| |
| TEXTGRID
| |
| | |
| ''property_set '': is a QSL properties set. This is an optional argument which is dependent on each question type.
| |
| | |
| ''question_text '': is the text of the question.
| |
| | |
| ''question_body: ''is used for defining the internal attributes of the question, which is also dependent on question type.
| |
| __NOTOC__
| |
| <!-- imported from file: 5048.htm-->
| |