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 = |
| − | | | + | | rewards = |
| − | | | + | | follows = |
| − | | | + | | precedes = |
| + | }} | ||
| + | </nowiki></pre> | ||
| − | + | == 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 == | |
| − | + | {{Infobox | |
| + | | ibclass = ib-task | ||
| + | | ibname = Flax Processing | ||
| + | | ibtype = Task | ||
| − | + | | content = | |
| + | {{#invoke:Infobox|stacked|Rewards| | ||
| + | * 50× [[Rotten Flax]] | ||
| + | }} | ||
| − | + | <tr><th class="ibtype">Related Tasks</th></tr> | |
| − | + | {{#invoke:Infobox|stacked|Follows| | |
| + | * [[Flax Growing]] | ||
| + | }} | ||
| + | {{#invoke:Infobox|stacked|Precedes| | ||
| + | * [[Building Materials]] | ||
| + | }} | ||
| + | }} | ||
<pre>{{Task | <pre>{{Task | ||
| − | | name | + | | name = Flax Processing |
| − | | | + | | rewards = |
| − | + | * 50× [[Rotten Flax]] | |
| − | | | + | | follows = |
| − | + | * [[Flax Growing]] | |
| − | | | + | | precedes = |
| − | + | * [[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]]
}}