特殊项目(Special project) can be used to display description, requirements, and costs of a special project in a compact infobox.
Parameter[编辑源代码]
Parameter | Description | Default | Status |
---|---|---|---|
version | To specify the major patch for which the event was written or updated. | empty | Required |
project_key | Special project identification code as it appears in the file to serve as an anchor | empty | Optional |
header | Header level of the project name. Accepts h2, h3, h4, and h5. | h3 | Optional |
project_name | Title of the special project. | {{{PROJECT_NAME}}} | Optional, but desired |
project_text | Ingame description text of the special project. | empty | Optional, but desired |
requirements | Conditions that must be met to begin the special project, if any. | * None | Optional |
mutually_exclusive | Other special projects of which only one can be researched. | empty | Optional |
tech_department | The type of research points the special project costs, if any. Must be one of the following (capitalization matters):
|
empty | Required if using "cost" |
cost | The cost in research points needed to complete the special project, if any. | empty | One of these two is required |
days_to_research | The fixed amount of time it takes to complete the special project. | empty | |
time_limit | The amount of time before the special project expires, if any. | empty | Optional |
on_success | The effects of completing the special project. | {{{on_success}}} | Optional, but desired |
on_fail | The effects of failing the special project. | empty | Optional |
Examples[编辑源代码]
For a special project requiring 1000
{{Special_project |version = Timeless |project_name = Social Study |project_text = Studying our population's behaviour should grant us several insights into improving efficiency. |tech_department = society |cost = 1000 |on_success = *Gets event }}
Produces:
Social Study
For a special project requiring a scientist of at least level 1, taking 180 days:
{{Special_project |version = Timeless |project_name = Ruined Ship |project_text = A ruined ship has been spotted and must be investigated. |requirements = * At least level 1 scientist in orbit. |days_to_research = 180 |on_success = *Gets event }}
Produces:
Ruined Ship
A ruined ship has been spotted and must be investigated.
要求:
|
研究时间:
|
成功:
|
For a special project that times out in 180 days and is mutually exclusive with another:
{{Special_project |version = Timeless |project_name = Dismantle Station |project_text = A station in decaying orbit must be dismantled before it can fall. |requirements = * At least level 1 scientist in orbit. |mutually_exclusive = * Boost Station |days_to_research = 90 |time_limit = 180 |on_success = *Gets event |on_fail = *Gets event }}
Produces:
Dismantle Station
A station in decaying orbit must be dismantled before it can fall.
要求:
互斥:
|
研究时间:
过期:
|
成功:
失败:
|