Difference between revisions of "Template:Task"
From A Wiki in the Desert
Line 5: | Line 5: | ||
| Pre-requisite || {{ #if:{{{prereq|}}} | | | Pre-requisite || {{ #if:{{{prereq|}}} | | ||
[[Task/{{{prereq|}}}|{{{prereq|}}}]] | [[Task/{{{prereq|}}}|{{{prereq|}}}]] | ||
− | |''none''}} | + | |{{ #if:{{{actionbefore|}}} | |
+ | {{{actionbefore|}}} | ||
+ | |''none''}}}} | ||
|- | |- | ||
| Leads to || {{ #if:{{{next|}}} | | | Leads to || {{ #if:{{{next|}}} | |
Revision as of 19:52, 31 August 2019
Template documentation (for the above template, sometimes hidden or invisible)
{{Task}} is for use in any article about an in-game "task". All parameters are optional and can be left blank, though it is preferred to include as many as possible; if undefined, these optional parameters will not appear as part of the template.
Template
{{Task | name = | rewards = | follows = | precedes = }}
Usage
- name
- The name of the task.
- rewards (optional)
- The tangible rewards given to the player upon completion of the task.
- follows (optional)
- The task unlocked upon completion of this task.
- precedes (optional)
- The task that unlocked this task upon its completion.
Example
Flax Processing |
---|
(Task) |
Rewards |
|
Related Tasks |
Follows |
Precedes |
{{Task | name = Flax Processing | rewards = * 50× [[Rotten Flax]] | follows = * [[Flax Growing]] | precedes = * [[Building Materials]] }}
Visit Template:Task/doc to edit this text! (How does this work?)