更多操作
无编辑摘要 |
小 (导入1个版本) |
||
(未显示同一用户的2个中间版本) | |||
第1行: | 第1行: | ||
<includeonly> | <includeonly>{{#X型题: | ||
source={{{source|请补充来源}}} | |||
|title="{{{title|请补充题目}}}" | |||
|choices={{{{choices|"test":"test"}}}} | |||
|answer="{{{answer|}}}" | |||
|explain="{{{explain|}}}" | |||
}}</includeonly><noinclude> | |||
[[分类:刷题工具模板]] | [[分类:刷题工具模板]] | ||
{{X型题/模板文档}} | |||
{{X型题 | |||
}} | |||
<templatedata> | <templatedata> | ||
第24行: | 第16行: | ||
"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": " | "type": "line", | ||
"required": true | "required": true, | ||
"description": "本体题干" | |||
}, | }, | ||
"answer": { | "answer": { | ||
"label": "正确答案", | "label": "正确答案", | ||
"description": " | "description": "本题的正确答案,结尾和开头不允许存在空格,否则无法比较答案", | ||
"example": "A", | "example": "A", | ||
"required": true | "required": true, | ||
"type": "line" | |||
}, | }, | ||
"explain": { | "explain": { | ||
"label": "题目解析", | "label": "题目解析", | ||
"description": " | "description": "本题的解析", | ||
"type": "string", | |||
"suggested": true | |||
}, | }, | ||
" | "choices": { | ||
"label": " | "label": "题目选项", | ||
"description": "本题的选项,写法为JSON的字典格式即“键”-“值”对的形式,键与值分别用双引号包裹,键与值之间用英文冒号分隔, 键值对之间用英文逗号分隔", | |||
"example": "\"A\":\"第2胸椎\",\"B\":\"第3胸椎\",\"C\":\"第4胸椎下缘\",\"D\":\"第5胸椎下缘\",\"E\":\"第6胸椎下缘\"", | |||
" | "type": "line", | ||
"required": true | |||
" | |||
} | } | ||
} | }, | ||
}</templatedata></noinclude> | "format": "block", | ||
"paramOrder": [ | |||
"source", | |||
"title", | |||
"choices", | |||
"answer", | |||
"explain" | |||
] | |||
}</templatedata> | |||
</noinclude> |
2023年7月29日 (六) 16:53的最新版本
无描述。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
题目编号 | source | 题目序号,需为本页题目唯一值,相当于ID
| 单行文本 | 必需 |
题干 | title | 本体题干
| 单行文本 | 必需 |
题目选项 | choices | 本题的选项,写法为JSON的字典格式即“键”-“值”对的形式,键与值分别用双引号包裹,键与值之间用英文冒号分隔, 键值对之间用英文逗号分隔
| 单行文本 | 必需 |
正确答案 | answer | 本题的正确答案,结尾和开头不允许存在空格,否则无法比较答案
| 单行文本 | 必需 |
题目解析 | explain | 本题的解析 | 字符串 | 推荐 |