Difference between revisions of "Template:Tasks"

From Mine Blocks Wiki
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!

(Test)
Line 9: Line 9:
 
! Requirements
 
! Requirements
 
|-
 
|-
{{#ifeq: {{{1}}}||
+
{{#if: {{{1|}}}|
 
! 1
 
! 1
 
{{!}} <span class="tasks" style="background-position: -104px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -104px -104px;"></span>
Line 18: Line 18:
 
{{!}} 5}}
 
{{!}} 5}}
 
|-
 
|-
{{#ifeq: {{{2}}}||
+
{{#if: {{{2|}}}|
 
! 2
 
! 2
 
{{!}} <span class="tasks" style="background-position: -260px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -260px -104px;"></span>
Line 28: Line 28:
 
{{!}} Any block}}
 
{{!}} Any block}}
 
|-
 
|-
{{#ifeq: {{{3}}}||
+
{{#if: {{{3|}}}|
 
! 3
 
! 3
 
{{!}} <span class="tasks" style="background-position: -208px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -208px -104px;"></span>
Line 38: Line 38:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{4}}}||
+
{{#if: {{{4|}}}|
 
! 4
 
! 4
 
{{!}} <span class="tasks" style="background-position: -156px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -156px 0;"></span>
Line 48: Line 48:
 
{{!}} ×4 {{I|Wooden Planks}}}}
 
{{!}} ×4 {{I|Wooden Planks}}}}
 
|-
 
|-
{{#ifeq: {{{5}}}||
+
{{#if: {{{5|}}}|
 
! 5
 
! 5
 
{{!}} <span class="tasks" style="background-position: 0 -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: 0 -156px;"></span>
Line 58: Line 58:
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Wooden Planks}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Wooden Planks}}}}
 
|-
 
|-
{{#ifeq: {{{6}}}||
+
{{#if: {{{6|}}}|
 
! 6
 
! 6
 
{{!}} <span class="tasks" style="background-position: -364px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -364px -104px;"></span>
Line 68: Line 68:
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Cobblestone}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Cobblestone}}}}
 
|-
 
|-
{{#ifeq: {{{7}}}||
+
{{#if: {{{7|}}}|
 
! 7
 
! 7
 
{{!}} <span class="tasks" style="background-position: 0 -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: 0 -52px;"></span>
Line 78: Line 78:
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Iron ingot}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Iron ingot}}}}
 
|-
 
|-
{{#ifeq: {{{8}}}||
+
{{#if: {{{8|}}}|
 
! 8
 
! 8
 
{{!}} <span class="tasks" style="background-position: -416px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -416px 0;"></span>
Line 88: Line 88:
 
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Cobblestone}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Cobblestone}}}}
 
|-
 
|-
{{#ifeq: {{{9}}}||
+
{{#if: {{{9|}}}|
 
! 9
 
! 9
 
{{!}} <span class="tasks" style="background-position: -572px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -572px 0;"></span>
Line 98: Line 98:
 
{{!}} ×1 {{I|Furnace}} ×1 {{I|Iron Ore}} ×1 {{I|Coal}}}}
 
{{!}} ×1 {{I|Furnace}} ×1 {{I|Iron Ore}} ×1 {{I|Coal}}}}
 
|-
 
|-
{{#ifeq: {{{10}}}||
+
{{#if: {{{10|}}}|
 
! 10
 
! 10
 
{{!}} <span class="tasks" style="background-position: -520px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -520px -104px;"></span>
Line 108: Line 108:
 
{{!}} ×1 {{I|Stick}} ×1 {{I|Coal}}}}
 
{{!}} ×1 {{I|Stick}} ×1 {{I|Coal}}}}
 
|-
 
|-
{{#ifeq: {{{11}}}||
+
{{#if: {{{11|}}}|
 
! 11
 
! 11
 
{{!}} <span class="tasks" style="background-position: -468px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -468px 0;"></span>
Line 118: Line 118:
 
{{!}} ×1 {{I|Sapling}}}}
 
{{!}} ×1 {{I|Sapling}}}}
 
|-
 
|-
{{#ifeq: {{{12}}}||
+
{{#if: {{{12|}}}|
 
! 12
 
! 12
 
{{!}} <span class="tasks" style="background-position: -416px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -416px -104px;"></span>
Line 128: Line 128:
 
{{!}} {{I|Bone}}}}
 
{{!}} {{I|Bone}}}}
 
|-
 
|-
{{#ifeq: {{{13}}}||
+
{{#if: {{{13|}}}|
 
! 13
 
! 13
 
{{!}} <span class="tasks" style="background-position: -364px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -364px -52px;"></span>
Line 138: Line 138:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{14}}}||
+
{{#if: {{{14|}}}|
 
! 14
 
! 14
 
{{!}} <span class="tasks" style="background-position: -104px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -104px -52px;"></span>
Line 148: Line 148:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{15}}}||
+
{{#if: {{{15|}}}|
 
! 15
 
! 15
 
{{!}} <span class="tasks" style="background-position: -416px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -416px -52px;"></span>
Line 158: Line 158:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{16}}}||
+
{{#if: {{{16|}}}|
 
! 16
 
! 16
 
{{!}} <span class="tasks" style="background-position: 0 -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: 0 -104px;"></span>
Line 168: Line 168:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{17}}}||
+
{{#if: {{{17|}}}|
 
! 17
 
! 17
 
{{!}} <span class="tasks" style="background-position: -468px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -468px -52px;"></span>
Line 178: Line 178:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{18}}}||
+
{{#if: {{{18|}}}|
 
! 18
 
! 18
 
{{!}} <span class="tasks" style="background-position: -572px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -572px -52px;"></span>
Line 188: Line 188:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{19}}}||
+
{{#if: {{{19|}}}|
 
! 19
 
! 19
 
{{!}} <span class="tasks" style="background-position: -312px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -312px -52px;"></span>
Line 198: Line 198:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{20}}}||
+
{{#if: {{{20|}}}|
 
! 20
 
! 20
 
{{!}} <span class="tasks" style="background-position: -52px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -52px -52px;"></span>
Line 208: Line 208:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{21}}}||
+
{{#if: {{{21|}}}|
 
! 21
 
! 21
 
{{!}} <span class="tasks" style="background-position: -104px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -104px -156px;"></span>
Line 218: Line 218:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{22}}}||
+
{{#if: {{{22|}}}|
 
! 22
 
! 22
 
{{!}} <span class="tasks" style="background-position: -156px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -156px -52px;"></span>
Line 228: Line 228:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{23}}}||
+
{{#if: {{{23|}}}|
 
! 23
 
! 23
 
{{!}} <span class="tasks" style="background-position: -208px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -208px -52px;"></span>
Line 238: Line 238:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{24}}}||
+
{{#if: {{{24|}}}|
 
! 24
 
! 24
 
{{!}} <span class="tasks" style="background-position: -520px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -520px 0;"></span>
Line 248: Line 248:
 
{{!}} ×1 {{I|Wooden hoe}} ×1 {{I|Seeds}}}}
 
{{!}} ×1 {{I|Wooden hoe}} ×1 {{I|Seeds}}}}
 
|-
 
|-
{{#ifeq: {{{25}}}||
+
{{#if: {{{25|}}}|
 
! 25
 
! 25
 
{{!}} <span class="tasks" style="background-position: -156px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -156px -156px;"></span>
Line 258: Line 258:
 
{{!}} ×1 {{I|Crafting Table}} ×3 {{I|Bucket of milk}} ×2 {{I|Sugar}} ×1 {{I|Egg}} ×3 {{I|Wheat}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×3 {{I|Bucket of milk}} ×2 {{I|Sugar}} ×1 {{I|Egg}} ×3 {{I|Wheat}}}}
 
|-
 
|-
{{#ifeq: {{{26}}}||
+
{{#if: {{{26|}}}|
 
! 26
 
! 26
 
{{!}} <span class="tasks" style="background-position: -208px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -208px 0;"></span>
Line 268: Line 268:
 
{{!}} Any food}}
 
{{!}} Any food}}
 
|-
 
|-
{{#ifeq: {{{27}}}||
+
{{#if: {{{27|}}}|
 
! 27
 
! 27
 
{{!}} <span class="tasks" style="background-position: -572px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -572px -104px;"></span>
Line 278: Line 278:
 
{{!}} ×1 {{I|Bed}}}}
 
{{!}} ×1 {{I|Bed}}}}
 
|-
 
|-
{{#ifeq: {{{28}}}||
+
{{#if: {{{28|}}}|
 
! 28
 
! 28
 
{{!}} <span class="tasks" style="background-position: -364px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -364px -156px;"></span>
Line 288: Line 288:
 
{{!}} ×1 {{I|Diamond pickaxe}}}}
 
{{!}} ×1 {{I|Diamond pickaxe}}}}
 
|-
 
|-
{{#ifeq: {{{29}}}||
+
{{#if: {{{29|}}}|
 
! 29
 
! 29
 
{{!}} <span class="tasks" style="background-position: -312px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -312px -156px;"></span>
Line 298: Line 298:
 
{{!}} ×1 {{I|Iron pickaxe}}}}
 
{{!}} ×1 {{I|Iron pickaxe}}}}
 
|-
 
|-
{{#ifeq: {{{30}}}||
+
{{#if: {{{30|}}}|
 
! 30
 
! 30
 
{{!}} <span class="tasks" style="background-position: -260px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -260px -156px;"></span>
Line 308: Line 308:
 
{{!}} ×1 {{I|Iron pickaxe}}}}
 
{{!}} ×1 {{I|Iron pickaxe}}}}
 
|-
 
|-
{{#ifeq: {{{31}}}||
+
{{#if: {{{31|}}}|
 
! 31
 
! 31
 
{{!}} <span class="tasks" style="background-position: -208px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -208px -156px;"></span>
Line 318: Line 318:
 
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Odd rock}} ×1 {{I|Obsidian}}}}
 
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Odd rock}} ×1 {{I|Obsidian}}}}
 
|-
 
|-
{{#ifeq: {{{32}}}||
+
{{#if: {{{32|}}}|
 
! 32
 
! 32
 
{{!}} <span class="tasks" style="background-position: -52px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -52px -156px;"></span>
Line 328: Line 328:
 
{{!}} ×6 {{I|Portal stone}}}}
 
{{!}} ×6 {{I|Portal stone}}}}
 
|-
 
|-
{{#ifeq: {{{33}}}||
+
{{#if: {{{33|}}}|
 
! 33
 
! 33
 
{{!}} <span class="tasks" style="background-position: -156px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -156px -104px;"></span>
Line 338: Line 338:
 
{{!}} ×1 {{I|Iron Door}} ×1 <nowiki>[</nowiki>{{I|Redstone Torch}} / {{I|Button}} / {{I|Pressure Plate}} / {{I|Lever}}]}}
 
{{!}} ×1 {{I|Iron Door}} ×1 <nowiki>[</nowiki>{{I|Redstone Torch}} / {{I|Button}} / {{I|Pressure Plate}} / {{I|Lever}}]}}
 
|-
 
|-
{{#ifeq: {{{34}}}||
+
{{#if: {{{34|}}}|
 
! 34
 
! 34
 
{{!}} <span class="tasks" style="background-position: -312px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -312px 0;"></span>
Line 348: Line 348:
 
{{!}} ×1 {{I|Bow}} ×1 {{I|Arrow}}}}
 
{{!}} ×1 {{I|Bow}} ×1 {{I|Arrow}}}}
 
|-
 
|-
{{#ifeq: {{{35}}}||
+
{{#if: {{{35|}}}|
 
! 35
 
! 35
 
{{!}} <span class="tasks" style="background-position: -468px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -468px -104px;"></span>
Line 358: Line 358:
 
{{!}} ×1 {{I|Ender pearl}}}}
 
{{!}} ×1 {{I|Ender pearl}}}}
 
|-
 
|-
{{#ifeq: {{{36}}}||
+
{{#if: {{{36|}}}|
 
! 36
 
! 36
 
{{!}} <span class="tasks" style="background-position: -416px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -416px -156px;"></span>
Line 368: Line 368:
 
{{!}} ×7 {{I|Portal Frame}} ×7 {{I|Eye of ender}}}}
 
{{!}} ×7 {{I|Portal Frame}} ×7 {{I|Eye of ender}}}}
 
|-
 
|-
{{#ifeq: {{{37}}}||
+
{{#if: {{{37|}}}|
 
! 37
 
! 37
 
{{!}} <span class="tasks" style="background-position: -458px -156px;"></span>
 
{{!}} <span class="tasks" style="background-position: -458px -156px;"></span>
Line 378: Line 378:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{38}}}||
+
{{#if: {{{38|}}}|
 
! 38
 
! 38
 
{{!}} <span class="tasks" style="background-position: -520px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -520px -52px;"></span>
Line 388: Line 388:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{39}}}||
+
{{#if: {{{39|}}}|
 
! 39
 
! 39
 
{{!}} <span class="tasks" style="background-position: -260px -52px;"></span>
 
{{!}} <span class="tasks" style="background-position: -260px -52px;"></span>
Line 398: Line 398:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{40}}}||
+
{{#if: {{{40|}}}|
 
! 40
 
! 40
 
{{!}} <span class="tasks" style="background-position: -364px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -364px 0;"></span>
Line 408: Line 408:
 
{{!}} ×1 {{I|Fishing Rod}}}}
 
{{!}} ×1 {{I|Fishing Rod}}}}
 
|-
 
|-
{{#ifeq: {{{41}}}||
+
{{#if: {{{41|}}}|
 
! 41
 
! 41
 
{{!}} <span class="tasks" style="background-position: 0 0;"></span>
 
{{!}} <span class="tasks" style="background-position: 0 0;"></span>
Line 418: Line 418:
 
{{!}} ×1 {{I|Anvil}}}}
 
{{!}} ×1 {{I|Anvil}}}}
 
|-
 
|-
{{#ifeq: {{{42}}}||
+
{{#if: {{{42|}}}|
 
! 42
 
! 42
 
{{!}} <span class="tasks" style="background-position: -52px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -52px -104px;"></span>
Line 428: Line 428:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{43}}}||
+
{{#if: {{{43|}}}|
 
! 43
 
! 43
 
{{!}} <span class="tasks" style="background-position: -312px -104px;"></span>
 
{{!}} <span class="tasks" style="background-position: -312px -104px;"></span>
Line 438: Line 438:
 
|}}
 
|}}
 
|-
 
|-
{{#ifeq: {{{44}}}||
+
{{#if: {{{44|}}}|
 
! 44
 
! 44
 
{{!}} <span class="tasks" style="background-position: -104px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -104px 0;"></span>
Line 448: Line 448:
 
{{!}} ×1 {{I|Brewing Stand}} ×1 {{I|Bottle of Water}} <!-- More here -->}}
 
{{!}} ×1 {{I|Brewing Stand}} ×1 {{I|Bottle of Water}} <!-- More here -->}}
 
|-
 
|-
{{#ifeq: {{{45}}}||
+
{{#if: {{{45|}}}|
 
! 45
 
! 45
 
{{!}} <span class="tasks" style="background-position: -52px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -52px 0;"></span>
Line 459: Line 459:
 
}}
 
}}
 
|-
 
|-
{{#ifeq: {{{46}}}||
+
{{#if: {{{46|}}}|
 
! 46
 
! 46
 
{{!}} <span class="tasks" style="background-position: -260px 0;"></span>
 
{{!}} <span class="tasks" style="background-position: -260px 0;"></span>

Revision as of 22:19, 7 July 2022

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|1=|2=|3=|4=|5=|6=|7=|8=|9=|10=|11=|12=|13=|14=|15=|16=|17=|18=|19=|20=|21=|22=|23=|24=|25=|26=|27=|28=|29=|30=|31=|32=|33=|34=|35=|36=|37=|38=|39=|40=|41=|42=|43=|44=|45=|46=|title=|text=}}
}}

(The result can be seen on the tasks' page).

Example

The template is pretty straightforward. You just add it along with |n= where n is the number of the achievement you want to add. It automatically generates the table's header by default, and then you can start adding rows as you wish with that method.

In other words:

{{Tasks|1=}}

Results in the "Tasks" section with a table containing the task/achievement number 1:
Number Icon[ng] Name Newgrounds name Description [ng] Objective Points[ng] Requirements
And

{{Tasks|1=|10=|20=|30=|40=|46=}}

Does the same, but with tasks number 1, 10, 20, 30, 40, and 46:
Number Icon[ng] Name Newgrounds name Description [ng] Objective Points[ng] Requirements