Template:Decision/doc:修订间差异

(创建页面,内容为“<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude> <!-- EDIT TEMPLATE DOCUMENTATION BELOW T…”)
 
(文本替换 - 替换“{{template doc page viewed directly}}</noinclude>”为“{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]”)
 
第1行: 第1行:
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>
<includeonly>{{template doc page transcluded}}</includeonly><noinclude>{{template doc page viewed directly}}</noinclude>[[en:{{FULLPAGENAME}}]]
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
    <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
__NOTOC__
__NOTOC__

2022年3月18日 (五) 14:30的最新版本

这是 Template:Decision模板文档
当直接浏览时,使用变量可能会失效,请不要使用硬编码来代替页面名或地址。

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.
If decisions on page come from multiple files it is advised to add a filename as well (as "decision_id // file_name")
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
map A useful map image marking the required provinces to enable the decision (if one exists) empty optional
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 =
|map = <!-- optional -->
|effect =
|comment = <!-- optional -->
}}