Difference between revisions of "Template:Task"
From A Wiki in the Desert
m (Removing "Task/" prefix from task links) |
|||
Line 4: | Line 4: | ||
|- | |- | ||
| Pre-requisite || {{ #if:{{{prereq|}}} | | | Pre-requisite || {{ #if:{{{prereq|}}} | | ||
− | [[ | + | [[{{{prereq|}}}|{{{prereq|}}}]] |
|{{ #if:{{{actionbefore|}}} | | |{{ #if:{{{actionbefore|}}} | | ||
{{{actionbefore|}}} | {{{actionbefore|}}} | ||
Line 10: | Line 10: | ||
|- | |- | ||
| Leads to || {{ #if:{{{next|}}} | | | Leads to || {{ #if:{{{next|}}} | | ||
− | [[ | + | [[{{{next|}}}|{{{next}}}]]{{ #if:{{{next2|}}} | |
− | <BR>[[ | + | <BR>[[{{{next2|}}}|{{{next2}}}]]}} |
|''none''}} | |''none''}} | ||
|- | |- |
Revision as of 16:57, 26 September 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?)