Template:Decision: Difference between revisions

(merge from offical wiki)
 
No edit summary
 
Line 7: Line 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: 信息框缺少版本信息的页面]]
----
----
}}
}}
Line 18: Line 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}}}
{{!}}}
{{!}}}

Latest revision as of 22:22, 10 February 2021

[阅读] [编辑]Template-info.png 模板文档


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 -->
}}