|
|
| 第5行: |
第5行: |
| <includeonly>{{ | | <includeonly>{{ |
| #vardefine: name | {{{ 事件名称|{{PAGENAME}} }}} | | #vardefine: name | {{{ 事件名称|{{PAGENAME}} }}} |
| }}{{
| |
| #arraydefine: type | {{{ 性质| }}} | ,
| |
| }}{{
| |
| #arraydefine: condition | {{{ 前因| }}} | ,
| |
| }}{{
| |
| #arraydefine: effect | {{{ 后果| }}} | ,
| |
| }}{{
| |
| #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: [[事件名称::@@@]] [[事件前因::+]]
| | |事后效果_title=后果 |
| |?事件前因
| | |事后效果_values={{{后果|}}} |
| |format=template
| | }} |
| |template=事件信息/前因列表
| |
| |limit=50
| |
| |offset=0
| |
| |sep=,
| |
| |link=none
| |
| }}
| |
| }}
| |
| </ul>
| |
| }}
| |
| {{item|后果|<ul>
| |
| {{#arrayprint: effect| |@@@@|
| |
| <li> [[事件后果::@@@@]] </li>
| |
| }}
| |
| {{#arrayprint: type| | @@@ |
| |
| {{#ask: [[事件名称::@@@]] [[事件后果::+]]
| |
| |?事件后果
| |
| |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|事件}} |