打开/关闭菜单
Toggle preferences menu
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

模板:A型题:修订间差异

来自医林拾薪
无编辑摘要
无编辑摘要
第1行: 第1行:
    <p name="data" class="noDisplay data">{
<includeonly><p name="data" class="noDisplay data">{
         "type":"A",
         "type":"A",
         "source":"{{{source|请补充来源}}}",
         "source":"{{{source|请补充来源}}}",
第13行: 第13行:
                 "E":"{{{E|}}}"
                 "E":"{{{E|}}}"
             }
             }
         }
         }</p></includeonly>
    </p>
<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

无描述

示例值
T1,1,(1)等
未知必需
题干title

无描述

示例值
以下选项中正确的是?
字符串必需
正确答案answer

填写本题的正确答案,如有多个答案请连着写,不要有空格!

示例值
A
未知必需
题目解析explain

可以不填,显示题目的解析

未知可选
选项AA

无描述

未知可选
选项BB

无描述

未知可选
选项CC

无描述

未知可选
选项DD

无描述

未知可选
选项EE

无描述

未知可选