更多操作
无编辑摘要 |
小 (导入1个版本) |
||
(未显示同一用户的12个中间版本) | |||
第1行: | 第1行: | ||
<includeonly> | <includeonly>{{#C型题: | ||
source={{{source|请补充来源}}} | |||
|sourceRange={{{sourceRange|sourceRange}}} | |||
|title={{{title|请补充题目}}} | |||
|choices={{{{choices|"test":"test"}}}} | |||
|answer={{{answer|}}} | |||
|explain={{{explain|}}} | |||
}}</includeonly><noinclude> | |||
[[分类:刷题工具模板]] | |||
{{C型题/模板文档}} | |||
{{C型题 | |||
<templatedata> | <templatedata> | ||
{ | { | ||
第46行: | 第17行: | ||
"label": "题目编号", | "label": "题目编号", | ||
"example": "T1,1,(1)等", | "example": "T1,1,(1)等", | ||
"required": true | "required": true, | ||
"description": "题目序号,需为本页题目唯一值,相当于ID", | |||
"type": "line" | |||
}, | }, | ||
"title": { | "title": { | ||
"label": "题干", | "label": "题干", | ||
"example": " | "example": "\"以下选项中正确的是?\",\"以下....\"", | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"description": " | "description": "采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开" | ||
}, | }, | ||
"answer": { | "answer": { | ||
"label": "正确答案", | "label": "正确答案", | ||
"description": " | "description": "采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开", | ||
"example": " | "example": "\"A\",\"B\"", | ||
"required": true | "required": true, | ||
"type": "line" | |||
}, | }, | ||
"explain": { | "explain": { | ||
"label": " | "label": "解析", | ||
"description": " | "description": "采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开", | ||
"type": "line" | |||
" | |||
}, | }, | ||
"sourceRange": { | "sourceRange": { | ||
"label": "小题数量", | "label": "小题数量", | ||
"description": " | "description": "C型题中往往包含多个小题,本处填写其数量", | ||
"example": "3", | "example": "3", | ||
"type": "number" | "type": "number" | ||
}, | |||
"choices": { | |||
"label": "题目选项", | |||
"description": "本题的选项,写法为JSON的字典格式即“键”-“值”对的形式,键与值分别用双引号包裹,键与值之间用英文冒号分隔, 键值对之间用英文逗号分隔", | |||
"example": "\"A\":\"第2胸椎\",\"B\":\"第3胸椎\",\"C\":\"第4胸椎下缘\",\"D\":\"第5胸椎下缘\",\"E\":\"第6胸椎下缘\"", | |||
"type": "line", | |||
"required": true | |||
} | } | ||
}, | }, | ||
第92行: | 第58行: | ||
"sourceRange", | "sourceRange", | ||
"title", | "title", | ||
"choices", | |||
"answer", | "answer", | ||
"explain" | "explain" | ||
], | |||
"format": "block" | |||
}</templatedata></noinclude> | }</templatedata></noinclude> |
2023年7月29日 (六) 16:53的最新版本
无描述。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
题目编号 | source | 题目序号,需为本页题目唯一值,相当于ID
| 单行文本 | 必需 |
小题数量 | sourceRange | C型题中往往包含多个小题,本处填写其数量
| 数字 | 可选 |
题干 | title | 采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开
| 字符串 | 必需 |
题目选项 | choices | 本题的选项,写法为JSON的字典格式即“键”-“值”对的形式,键与值分别用双引号包裹,键与值之间用英文冒号分隔, 键值对之间用英文逗号分隔
| 单行文本 | 必需 |
正确答案 | answer | 采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开
| 单行文本 | 必需 |
解析 | explain | 采用标准列表格式,即每个项目用英文双引号包裹,项目于项目之间用英文逗号隔开 | 单行文本 | 可选 |