Template:Decision:修订间差异

(merge from offical wiki)
 
无编辑摘要
 
第7行: 第7行:
   | h5 = <h5>[[File:execute_decision.png]]{{{decision_name}}}</h5>
   | h5 = <h5>[[File:execute_decision.png]]{{{decision_name}}}</h5>
}}
}}
|content = {{#if:{{{version|}}}|{{SVersion|{{{version}}}|infobox|nocat={{{nocat|}}}}}|<span style="color: red;">missing versioning</span>[[Category:Pages with infoboxes without versioning]]
|content = {{#if:{{{version|}}}|{{SVersion|{{{version}}}|infobox|nocat={{{nocat|}}}}}|<span style="color: red;"> 缺少版本信息</span>[[Category: 信息框缺少版本信息的页面]]
----
----
}}
}}
第18行: 第18行:
{{!}} style="width: 50%;" {{!}}
{{!}} style="width: 50%;" {{!}}
{{!}}- valign="top"
{{!}}- valign="top"
{{!}}<span class="subheading">Potential Requirements</span>
{{!}}<span class="subheading"> 潜在需求</span>
{{{potential|* None}}}
{{{potential|* None}}}
{{!}}<span class="subheading">Allow</span>
{{!}}<span class="subheading"> 接受</span>
{{{allow|* None}}}
{{{allow|* None}}}
{{!}}-
{{!}}-
{{!}}colspan="2"{{!}}<hr />
{{!}}colspan="2"{{!}}<hr />
{{!}}-
{{!}}-
{{!}}colspan="2"{{!}}<span class="subheading">Effects</span>
{{!}}colspan="2"{{!}}<span class="subheading"> 效果</span>
{{{effect|* None}}}
{{{effect|* None}}}
{{!}}}
{{!}}}

2021年2月10日 (三) 22:22的最新版本


Usage

Parameter Description Default Status
version To specify the major patch for which the decision was written or updated. empty required
decision_id Decision identification code as it appears in the file to serve as an anchor. empty optional, but desired
decision_name Title of the decision. empty required
decision_text Ingame description text of the event. empty optional, but desired
potential The conditions under which the decision shows up in the list of decisions. empty required
allow The conditions under which the decision may be taken. empty required
effect The effects of taking the decision. empty required
comment Any additional useful information, e.g. to distinguish from similarly named decisions or notes on how the AI uses it. empty optional
{{Decision
|version = 
|decision_id = 
|decision_name =
|decision_text = <!-- optional -->
|potential =
|allow =
|effect =
|comment = <!-- optional -->
}}