Template:Decision/doc

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