更多操作
无编辑摘要 |
无编辑摘要 |
||
第1行: | 第1行: | ||
<includeonly><p name="data" class="noDisplay data">{ | |||
"type":"A", | "type":"A", | ||
"source":"{{{source|请补充来源}}}", | "source":"{{{source|请补充来源}}}", | ||
第13行: | 第13行: | ||
"E":"{{{E|}}}" | "E":"{{{E|}}}" | ||
} | } | ||
} | }</p></includeonly> | ||
<noinclude> | |||
使用示例(需配合题库容器 并加上参数:type=A使用) | |||
<nowiki>{{题库容器|type=A}} | |||
{{单选题 | |||
|source=T1 | |||
|title=下面哪一项是花生四烯酸的脂氧酶途径代谢的产物 ( ) | |||
|A=L Ts | |||
|B=TXA2 | |||
|C=PGs | |||
|D=PAF | |||
|E=PLA | |||
|answer=A | |||
}}</nowiki> | |||
以上模板的输出: | |||
{{题库容器|type=A}} | |||
{{单选题 | |||
|source=T1 | |||
|title=下面哪一项是花生四烯酸的脂氧酶途径代谢的产物 ( ) | |||
|A=LTs | |||
|B=TXA2 | |||
|C=PGs | |||
|D=PAF | |||
|E=PLA | |||
|answer=A | |||
|explain=啦啦啦 | |||
}} | |||
<templatedata> | |||
{ | |||
"params": { | |||
"source": { | |||
"label": "题目编号", | |||
"example": "T1,1,(1)等", | |||
"required": true | |||
}, | |||
"title": { | |||
"label": "题干", | |||
"example": "以下选项中正确的是?", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"answer": { | |||
"label": "正确答案", | |||
"description": "填写本题的正确答案,如有多个答案请连着写,不要有空格!", | |||
"example": "A", | |||
"required": true | |||
}, | |||
"explain": { | |||
"label": "题目解析", | |||
"description": "可以不填,显示题目的解析" | |||
}, | |||
"A": { | |||
"label": "选项A" | |||
}, | |||
"B": { | |||
"label": "选项B" | |||
}, | |||
"C": { | |||
"label": "选项C" | |||
}, | |||
"D": { | |||
"label": "选项D" | |||
}, | |||
"E": { | |||
"label": "选项E" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
</noinclude> |
2022年5月16日 (一) 05:40的版本
使用示例(需配合题库容器 并加上参数:type=A使用)
{{题库容器|type=A}} {{单选题 |source=T1 |title=下面哪一项是花生四烯酸的脂氧酶途径代谢的产物 ( ) |A=L Ts |B=TXA2 |C=PGs |D=PAF |E=PLA |answer=A }}
以上模板的输出:
{ "type":"A", "source":"T1", "title":"下面哪一项是花生四烯酸的脂氧酶途径代谢的产物 ( )", "answer":"A", "explain":"啦啦啦", "choices": { "A":"LTs", "B":"TXA2", "C":"PGs", "D":"PAF", "E":"PLA" } }
无描述。
参数 | 描述 | 类型 | 状态 | |
---|---|---|---|---|
题目编号 | source | 无描述
| 未知 | 必需 |
题干 | title | 无描述
| 字符串 | 必需 |
正确答案 | answer | 填写本题的正确答案,如有多个答案请连着写,不要有空格!
| 未知 | 必需 |
题目解析 | explain | 可以不填,显示题目的解析 | 未知 | 可选 |
选项A | A | 无描述 | 未知 | 可选 |
选项B | B | 无描述 | 未知 | 可选 |
选项C | C | 无描述 | 未知 | 可选 |
选项D | D | 无描述 | 未知 | 可选 |
选项E | E | 无描述 | 未知 | 可选 |