A Wiki in the Desert
Log in

Difference between revisions of "Template:Task/doc"

From A Wiki in the Desert
(Created page with "'''{{tl|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 possib...")
 
m (Updated to match new Task template)
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
  
 
== Template ==
 
== Template ==
<pre>
+
<pre><nowiki>
 
{{Task
 
{{Task
| name         =  
+
| name     =  
| prereq      =  
+
| rewards  =  
| next        =  
+
| follows  =  
| reward      =  
+
| precedes =  
 +
}}
 +
</nowiki></pre>
  
| step1        =
+
== Usage ==
| step2        =
+
 
...
+
; name : The name of the task.
  
}}</pre>
+
; rewards ''(optional)'' : The tangible rewards given to the player upon completion of the task.
  
== Usage ==
+
; follows ''(optional)'' : The task unlocked upon completion of this task.
  
; name : The name of the skill (defaults to the page name)
+
; precedes ''(optional)'' : The task that unlocked this task upon its completion.
  
; prereq''(optional)'' : Action required to have this task show
+
== Example ==
  
; next''(optional)'' : What action this task leads to.
+
{{Infobox
 +
| ibclass = ib-task
 +
| ibname  = Flax Processing
 +
| ibtype  = Task
  
; reward : Any reward given, such as a resource or a talent point. Leave blank if no reward provided
+
| content =
 +
{{#invoke:Infobox|stacked|Rewards|
 +
* 50× [[Rotten Flax]]
 +
}}
  
; step# : List of step(s) required to achieve the task
+
<tr><th class="ibtype">Related Tasks</th></tr>
  
== Example ==
+
{{#invoke:Infobox|stacked|Follows|
 +
* [[Flax Growing]]
 +
}}
 +
{{#invoke:Infobox|stacked|Precedes|
 +
* [[Building Materials]]
 +
}}
 +
}}
  
 
<pre>{{Task
 
<pre>{{Task
| name         = This Task
+
| name     = Flax Processing
| prereq      = Previous Task
+
| rewards  =  
| next        = Next Task
+
* 50× [[Rotten Flax]]
| reward      = Some Resource
+
| follows  =
 
+
* [[Flax Growing]]
| step1        = Do this action first
+
| precedes =
| step2        = Do this action second
+
* [[Building Materials]]
 
 
 
}}</pre>
 
}}</pre>
  
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
 
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 21:39, 26 November 2019

{{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]]
}}