| 第5行: |
第5行: |
| | <includeonly>{{ | | <includeonly>{{ |
| | #vardefine: name | {{{ 技术名称|{{PAGENAME}} }}} | | #vardefine: name | {{{ 技术名称|{{PAGENAME}} }}} |
| − | }}{{
| |
| − | #arraydefine: type | {{{ 技术类型| }}} | ,
| |
| − | }}{{
| |
| − | #arraydefine: condition | {{{ 前置技术| }}} | ,
| |
| − | }}{{
| |
| − | #set: 技术名称={{#var: name}}
| |
| | }}{{Sidebar | | }}{{Sidebar |
| | |pretitle=技术 | | |pretitle=技术 |
| | |title={{#var: name}} | | |title={{#var: name}} |
| | |content= | | |content= |
| − | {{item|技术类型|<ul>
| + | {{#invoke:Inherit|inherited_lists |
| − | {{#arrayprint: type| |@@@@|
| + | |name={{#var: name}} |
| − | <li> [[技术类型::@@@@]] </li>
| + | |properties=前置条件,事后效果 |
| − | }}</ul>
| + | |anchor_property=设定标题 |
| − | }}
| + | |parent_property=上级概念 |
| − | {{item|前置技术|<ul>
| + | |parent_title=技术类型 |
| − | {{#arrayprint: condition| |@@@@|
| + | |parents={{{技术类型|}}} |
| − | <li> [[前置技术::@@@@]]{{#set 前置条件=@@@@}} </li>
| + | |children_title=技术子类型 |
| − | }}
| + | |前置条件_title=前置技术 |
| − | {{#arrayprint: type| | @@@ |
| + | |前置条件_values={{{前置技术|}}} |
| − | {{#ask: [[技术类型::@@@]] [[前置技术::+]]
| + | |前置条件_reversed=事后效果 |
| − | |?前置技术
| + | |事后效果_title=衍生条目 |
| − | |format=template
| + | |前置条件_values={{{衍生条目|}}} |
| − | |template=技术信息/前置技术列表
| + | |事后效果_reversed=前置条件 |
| − | |limit=50
| + | }} |
| − | |offset=0
| |
| − | |sep=,
| |
| − | |link=none
| |
| − | }}
| |
| − | }}
| |
| − | </ul>
| |
| − | }}
| |
| − | {{item|衍生技术|<ul>
| |
| − | {{#ask: [[前置技术::{{#var: name}}]]
| |
| − | |format=template
| |
| − | |template=技术信息/衍生列表
| |
| − | |limit=50
| |
| − | |offset=0
| |
| − | |sep=
| |
| − | |link=none
| |
| − | }}</ul>
| |
| − | }}
| |
| − | {{item|技术子类型|<ul>
| |
| − | {{#ask: [[技术类型::{{#var: name}}]] [[技术名称::+]]
| |
| − | |format=template
| |
| − | |template=技术信息/衍生列表
| |
| − | |limit=50
| |
| − | |offset=0
| |
| − | |sep=
| |
| − | |link=none
| |
| − | }}
| |
| − | </ul>
| |
| − | }}
| |
| | }} | | }} |
| | {{TempCategory|事件}} | | {{TempCategory|事件}} |
| | </includeonly> | | </includeonly> |
| | + | <noinclude> |
| | + | <templatedata> |
| | + | { |
| | + | "params": { |
| | + | "技术名称": { |
| | + | "description": "技术名称,放空则使用页面标题" |
| | + | }, |
| | + | "技术类型": { |
| | + | "description": "该技术从属的技术类型,多种类型用英文逗号\",\"隔开", |
| | + | "type": "wiki-page-name", |
| | + | "required": true |
| | + | }, |
| | + | "前置技术": { |
| | + | "description": "实现该技术所需要的技术,使用英文逗号\",\"隔开", |
| | + | "type": "wiki-page-name", |
| | + | "suggested": true |
| | + | } |
| | + | } |
| | + | } |
| | + | </templatedata> |
| | + | </noinclude> |