Difference between revisions of "Template:Tasks"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(Added better documentation.) |
|||
Line 10: | Line 10: | ||
! Requirements | ! Requirements | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{1}}}|| |
! 1 | ! 1 | ||
{{!}} <span class="tasks" style="background-position: -104px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -104px -104px;"></span> | ||
Line 19: | Line 19: | ||
{{!}} 5}} | {{!}} 5}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{2}}}|| |
! 2 | ! 2 | ||
{{!}} <span class="tasks" style="background-position: -260px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -260px -104px;"></span> | ||
Line 29: | Line 29: | ||
{{!}} Any block}} | {{!}} Any block}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{3}}}|| |
! 3 | ! 3 | ||
{{!}} <span class="tasks" style="background-position: -208px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -208px -104px;"></span> | ||
Line 39: | Line 39: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{4}}}|| |
! 4 | ! 4 | ||
{{!}} <span class="tasks" style="background-position: -156px 0;"></span> | {{!}} <span class="tasks" style="background-position: -156px 0;"></span> | ||
Line 49: | Line 49: | ||
{{!}} x4 {{I|Wooden Planks}}}} | {{!}} x4 {{I|Wooden Planks}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{5}}}|| |
! 5 | ! 5 | ||
{{!}} <span class="tasks" style="background-position: 0 -156px;"></span> | {{!}} <span class="tasks" style="background-position: 0 -156px;"></span> | ||
Line 59: | Line 59: | ||
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Wooden Planks}}}} | {{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Wooden Planks}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{6}}}|| |
! 6 | ! 6 | ||
{{!}} <span class="tasks" style="background-position: -364px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -364px -104px;"></span> | ||
Line 69: | Line 69: | ||
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Cobblestone}}}} | {{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Cobblestone}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{7}}}|| |
! 7 | ! 7 | ||
{{!}} <span class="tasks" style="background-position: 0 -52px;"></span> | {{!}} <span class="tasks" style="background-position: 0 -52px;"></span> | ||
Line 79: | Line 79: | ||
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Iron ingot}}}} | {{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Iron ingot}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{8}}}|| |
! 8 | ! 8 | ||
{{!}} <span class="tasks" style="background-position: -416px 0;"></span> | {{!}} <span class="tasks" style="background-position: -416px 0;"></span> | ||
Line 89: | Line 89: | ||
{{!}} x1 {{I|Crafting Table}} x8 {{I|Cobblestone}}}} | {{!}} x1 {{I|Crafting Table}} x8 {{I|Cobblestone}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{9}}}|| |
! 9 | ! 9 | ||
{{!}} <span class="tasks" style="background-position: -572px 0;"></span> | {{!}} <span class="tasks" style="background-position: -572px 0;"></span> | ||
Line 99: | Line 99: | ||
{{!}} x1 {{I|Furnace}} x1 {{I|Iron ore}} x1 {{I|Coal}}}} | {{!}} x1 {{I|Furnace}} x1 {{I|Iron ore}} x1 {{I|Coal}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{10}}}|| |
! 10 | ! 10 | ||
{{!}} <span class="tasks" style="background-position: -520px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -520px -104px;"></span> | ||
Line 109: | Line 109: | ||
{{!}} x1 {{I|Stick}} x1 {{I|Coal}}}} | {{!}} x1 {{I|Stick}} x1 {{I|Coal}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{11}}}|| |
! 11 | ! 11 | ||
{{!}} <span class="tasks" style="background-position: -468px 0;"></span> | {{!}} <span class="tasks" style="background-position: -468px 0;"></span> | ||
Line 119: | Line 119: | ||
{{!}} x1 {{I|Sapling}}}} | {{!}} x1 {{I|Sapling}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{12}}}|| |
! 12 | ! 12 | ||
{{!}} <span class="tasks" style="background-position: -416px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -416px -104px;"></span> | ||
Line 129: | Line 129: | ||
{{!}} {{I|Bone}}}} | {{!}} {{I|Bone}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{13}}}|| |
! 13 | ! 13 | ||
{{!}} <span class="tasks" style="background-position: -364px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -364px -52px;"></span> | ||
Line 139: | Line 139: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{14}}}|| |
! 14 | ! 14 | ||
{{!}} <span class="tasks" style="background-position: -104px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -104px -52px;"></span> | ||
Line 149: | Line 149: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{15}}}|| |
! 15 | ! 15 | ||
{{!}} <span class="tasks" style="background-position: -416px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -416px -52px;"></span> | ||
Line 159: | Line 159: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{16}}}|| |
! 16 | ! 16 | ||
{{!}} <span class="tasks" style="background-position: 0 -104px;"></span> | {{!}} <span class="tasks" style="background-position: 0 -104px;"></span> | ||
Line 169: | Line 169: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{17}}}|| |
! 17 | ! 17 | ||
{{!}} <span class="tasks" style="background-position: -468px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -468px -52px;"></span> | ||
Line 179: | Line 179: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{18}}}|| |
! 18 | ! 18 | ||
{{!}} <span class="tasks" style="background-position: -572px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -572px -52px;"></span> | ||
Line 189: | Line 189: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{19}}}|| |
! 19 | ! 19 | ||
{{!}} <span class="tasks" style="background-position: -312px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -312px -52px;"></span> | ||
Line 199: | Line 199: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{20}}}|| |
! 20 | ! 20 | ||
{{!}} <span class="tasks" style="background-position: -52px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -52px -52px;"></span> | ||
Line 209: | Line 209: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{21}}}|| |
! 21 | ! 21 | ||
{{!}} <span class="tasks" style="background-position: -104px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -104px -156px;"></span> | ||
Line 219: | Line 219: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{22}}}|| |
! 22 | ! 22 | ||
{{!}} <span class="tasks" style="background-position: -156px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -156px -52px;"></span> | ||
Line 229: | Line 229: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{23}}}|| |
! 23 | ! 23 | ||
{{!}} <span class="tasks" style="background-position: -208px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -208px -52px;"></span> | ||
Line 239: | Line 239: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{24}}}|| |
! 24 | ! 24 | ||
{{!}} <span class="tasks" style="background-position: -520px 0;"></span> | {{!}} <span class="tasks" style="background-position: -520px 0;"></span> | ||
Line 249: | Line 249: | ||
{{!}} x1 {{I|Wooden hoe}} x1 {{I|Seeds}}}} | {{!}} x1 {{I|Wooden hoe}} x1 {{I|Seeds}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{25}}}|| |
! 25 | ! 25 | ||
{{!}} <span class="tasks" style="background-position: -156px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -156px -156px;"></span> | ||
Line 259: | Line 259: | ||
{{!}} x1 {{I|Crafting Table}} x3 {{I|Bucket of milk}} x2 {{I|Sugar}} x1 {{I|Egg}} x3 {{I|Wheat}}}} | {{!}} x1 {{I|Crafting Table}} x3 {{I|Bucket of milk}} x2 {{I|Sugar}} x1 {{I|Egg}} x3 {{I|Wheat}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{26}}}|| |
! 26 | ! 26 | ||
{{!}} <span class="tasks" style="background-position: -208px 0;"></span> | {{!}} <span class="tasks" style="background-position: -208px 0;"></span> | ||
Line 269: | Line 269: | ||
{{!}} Any food}} | {{!}} Any food}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{27}}}|| |
! 27 | ! 27 | ||
{{!}} <span class="tasks" style="background-position: -572px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -572px -104px;"></span> | ||
Line 279: | Line 279: | ||
{{!}} x1 {{I|Bed}}}} | {{!}} x1 {{I|Bed}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{28}}}|| |
! 28 | ! 28 | ||
{{!}} <span class="tasks" style="background-position: -364px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -364px -156px;"></span> | ||
Line 289: | Line 289: | ||
{{!}} x1 {{I|Diamond pickaxe}}}} | {{!}} x1 {{I|Diamond pickaxe}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{29}}}|| |
! 29 | ! 29 | ||
{{!}} <span class="tasks" style="background-position: -312px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -312px -156px;"></span> | ||
Line 299: | Line 299: | ||
{{!}} x1 {{I|Iron pickaxe}}}} | {{!}} x1 {{I|Iron pickaxe}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{30}}}|| |
! 30 | ! 30 | ||
{{!}} <span class="tasks" style="background-position: -260px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -260px -156px;"></span> | ||
Line 309: | Line 309: | ||
{{!}} x1 {{I|Iron pickaxe}}}} | {{!}} x1 {{I|Iron pickaxe}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{31}}}|| |
! 31 | ! 31 | ||
{{!}} <span class="tasks" style="background-position: -208px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -208px -156px;"></span> | ||
Line 319: | Line 319: | ||
{{!}} x1 {{I|Crafting Table}} x8 {{I|Odd rock}} x1 {{I|Obsidian}}}} | {{!}} x1 {{I|Crafting Table}} x8 {{I|Odd rock}} x1 {{I|Obsidian}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{32}}}|| |
! 32 | ! 32 | ||
{{!}} <span class="tasks" style="background-position: -52px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -52px -156px;"></span> | ||
Line 329: | Line 329: | ||
{{!}} x6 {{I|Portal stone}}}} | {{!}} x6 {{I|Portal stone}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{33}}}|| |
! 33 | ! 33 | ||
{{!}} <span class="tasks" style="background-position: -156px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -156px -104px;"></span> | ||
Line 339: | Line 339: | ||
{{!}} x1 {{I|Iron Door}} x1 {{I|Redstone Block}} x1 {{I|Pressure Plate}} x1 {{I|Lever}}}} | {{!}} x1 {{I|Iron Door}} x1 {{I|Redstone Block}} x1 {{I|Pressure Plate}} x1 {{I|Lever}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{34}}}|| |
! 34 | ! 34 | ||
{{!}} <span class="tasks" style="background-position: -312px 0;"></span> | {{!}} <span class="tasks" style="background-position: -312px 0;"></span> | ||
Line 349: | Line 349: | ||
{{!}} x1 {{I|Bow}} x1 {{I|Arrow}}}} | {{!}} x1 {{I|Bow}} x1 {{I|Arrow}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{35}}}|| |
! 35 | ! 35 | ||
{{!}} <span class="tasks" style="background-position: -468px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -468px -104px;"></span> | ||
Line 359: | Line 359: | ||
{{!}} x1 {{I|Ender pearl}}}} | {{!}} x1 {{I|Ender pearl}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{36}}}|| |
! 36 | ! 36 | ||
{{!}} <span class="tasks" style="background-position: -416px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -416px -156px;"></span> | ||
Line 369: | Line 369: | ||
{{!}} x7 {{I|Portal Frame}} x7 {{I|Eye of ender}}}} | {{!}} x7 {{I|Portal Frame}} x7 {{I|Eye of ender}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{37}}}|| |
! 37 | ! 37 | ||
{{!}} <span class="tasks" style="background-position: -458px -156px;"></span> | {{!}} <span class="tasks" style="background-position: -458px -156px;"></span> | ||
Line 379: | Line 379: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{38}}}|| |
! 38 | ! 38 | ||
{{!}} <span class="tasks" style="background-position: -520px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -520px -52px;"></span> | ||
Line 389: | Line 389: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{39}}}|| |
! 39 | ! 39 | ||
{{!}} <span class="tasks" style="background-position: -260px -52px;"></span> | {{!}} <span class="tasks" style="background-position: -260px -52px;"></span> | ||
Line 399: | Line 399: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{40}}}|| |
! 40 | ! 40 | ||
{{!}} <span class="tasks" style="background-position: -364px 0;"></span> | {{!}} <span class="tasks" style="background-position: -364px 0;"></span> | ||
Line 409: | Line 409: | ||
{{!}} x1 {{I|Fishing Rod}}}} | {{!}} x1 {{I|Fishing Rod}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{41}}}|| |
! 41 | ! 41 | ||
{{!}} <span class="tasks" style="background-position: 0 0;"></span> | {{!}} <span class="tasks" style="background-position: 0 0;"></span> | ||
Line 419: | Line 419: | ||
{{!}} x1 {{I|Anvil}}}} | {{!}} x1 {{I|Anvil}}}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{42}}}|| |
! 42 | ! 42 | ||
{{!}} <span class="tasks" style="background-position: -52px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -52px -104px;"></span> | ||
Line 429: | Line 429: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{43}}}|| |
! 43 | ! 43 | ||
{{!}} <span class="tasks" style="background-position: -312px -104px;"></span> | {{!}} <span class="tasks" style="background-position: -312px -104px;"></span> | ||
Line 439: | Line 439: | ||
|}} | |}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{44}}}|| |
! 44 | ! 44 | ||
{{!}} <span class="tasks" style="background-position: -104px 0;"></span> | {{!}} <span class="tasks" style="background-position: -104px 0;"></span> | ||
Line 449: | Line 449: | ||
{{!}} x1 {{I|Brewing Stand}} x1 {{I|Bottle of Water}} <!-- More here -->}} | {{!}} x1 {{I|Brewing Stand}} x1 {{I|Bottle of Water}} <!-- More here -->}} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{45}}}|| |
! 45 | ! 45 | ||
{{!}} <span class="tasks" style="background-position: -52px 0;"></span> | {{!}} <span class="tasks" style="background-position: -52px 0;"></span> | ||
Line 460: | Line 460: | ||
}} | }} | ||
|- | |- | ||
− | {{#ifeq: {{{ | + | {{#ifeq: {{{46}}}|| |
! 46 | ! 46 | ||
{{!}} <span class="tasks" style="background-position: -260px 0;"></span> | {{!}} <span class="tasks" style="background-position: -260px 0;"></span> | ||
Line 490: | Line 490: | ||
; Results in the "Tasks" section with a table containing the task/achievement number 1: | ; Results in the "Tasks" section with a table containing the task/achievement number 1: | ||
− | {{Tasks| | + | {{Tasks|1=}} |
; And | ; And | ||
Line 498: | Line 498: | ||
; Does the same, but with tasks number 1, 10, 20, 30, 40, and 46: | ; Does the same, but with tasks number 1, 10, 20, 30, 40, and 46: | ||
− | {{Tasks| | + | {{Tasks|1=|10=|20=|30=|40=|46=}} |
Revision as of 18:51, 20 December 2021
Tasks
Number | Icon[ng] | Name | Newgrounds name | Description [ng] | Objective | Points[ng] | Requirements |
---|
Usage
This template generates a table with the requested task(s)' info. The following code would display all achievements, each per generated row:
{{Tasks|a1=|a2=|a3=|a4=|a5=|a6=|a7=|a8=|a9=|a10=|a11=|a12=|a13=|a14=|a15=|a16=|a17=|a18=|a19=|a20=|a21=|a22=|a23=|a24=|a25=|a26=|a27=|a28=|a29=|a30=|a31=|a32=|a33=|a34=|a35=|a36=|a37=|a38=|a39=|a40=|a41=|a42=|a43=|a44=|a45=|a46}} }}
(The result can be seen on the tasks' page).
Example
The template is pretty straightforward. You just add it along with |a*=
where *
is the number of the achievement you want to add. It automatically generates a new section called "Tasks" with the table's header by default, and then you can start adding rows as you wish with that method.
- In other words
{{Tasks|a1=}}
- Results in the "Tasks" section with a table containing the task/achievement number 1
Tasks
Number | Icon[ng] | Name | Newgrounds name | Description [ng] | Objective | Points[ng] | Requirements |
---|---|---|---|---|---|---|---|
1 | Mine a block of wood | Mine Wood | Wood is used in the most important crafting recipes! | Destroy a wood block | 5 |
- And
{{Tasks|a1=|a10=|a20=|a30=|a40=|a46=}}
- Does the same, but with tasks number 1, 10, 20, 30, 40, and 46
Tasks
Number | Icon[ng] | Name | Newgrounds name | Description [ng] | Objective | Points[ng] | Requirements |
---|---|---|---|---|---|---|---|
1 | Mine a block of wood | Mine Wood | Wood is used in the most important crafting recipes! | Destroy a wood block | 5 | ||
10 | Make some torches | Torches | Torches will light up the dark | Make at least one torch | 5 | x1 x1 | |
20 | Slay a blaze | Kill a Blaze | They will shoot fireballs at you like crazy! | Kill a blaze | 5 | ||
30 | Mine diamonds | Mine Diamonds | You can't bre much fancier than a diamond pickaxe! | Destroy a diamond ore block | 10 | x1 | |
40 | Fish a fish | Fish a Fish | Catch a fish with a fishing rod! | Fish a fish with the fishing rod | 5 | x1 | |
46 | Enchant an item | Enchant an Item | Use an enchantment table! | Use the enchantment table to enchant a item | 5 | x1 x1 |