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!

 
(5 intermediate revisions by the same user not shown)
Line 46: Line 46:
 
{{!}} Create a crafting table in your inventory
 
{{!}} Create a crafting table in your inventory
 
{{!}} 5
 
{{!}} 5
{{!}} x4 {{I|Wooden Planks}}}}
+
{{!}} ×4 {{I|Wooden Planks}}}}
 
|-
 
|-
 
{{#ifeq: {{{5}}}||
 
{{#ifeq: {{{5}}}||
Line 56: Line 56:
 
{{!}} Make a wooden pickaxe
 
{{!}} Make a wooden pickaxe
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Wooden Planks}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Wooden Planks}}}}
 
|-
 
|-
 
{{#ifeq: {{{6}}}||
 
{{#ifeq: {{{6}}}||
Line 66: Line 66:
 
{{!}} Make a stone pickaxe
 
{{!}} Make a stone pickaxe
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Cobblestone}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Cobblestone}}}}
 
|-
 
|-
 
{{#ifeq: {{{7}}}||
 
{{#ifeq: {{{7}}}||
Line 76: Line 76:
 
{{!}} Make an iron pickaxe
 
{{!}} Make an iron pickaxe
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Crafting Table}} x2 {{I|Stick}} x3 {{I|Iron ingot}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×2 {{I|Stick}} ×3 {{I|Iron ingot}}}}
 
|-
 
|-
 
{{#ifeq: {{{8}}}||
 
{{#ifeq: {{{8}}}||
Line 86: Line 86:
 
{{!}} Make a furnace
 
{{!}} Make a furnace
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Crafting Table}} x8 {{I|Cobblestone}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Cobblestone}}}}
 
|-
 
|-
 
{{#ifeq: {{{9}}}||
 
{{#ifeq: {{{9}}}||
Line 96: Line 96:
 
{{!}} Make an iron ingot
 
{{!}} Make an iron ingot
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Furnace}} x1 {{I|Iron Ore}} x1 {{I|Coal}}}}
+
{{!}} ×1 {{I|Furnace}} ×1 {{I|Iron Ore}} ×1 {{I|Coal}}}}
 
|-
 
|-
 
{{#ifeq: {{{10}}}||
 
{{#ifeq: {{{10}}}||
Line 106: Line 106:
 
{{!}} Make at least one torch
 
{{!}} Make at least one torch
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Stick}} x1 {{I|Coal}}}}
+
{{!}} ×1 {{I|Stick}} ×1 {{I|Coal}}}}
 
|-
 
|-
 
{{#ifeq: {{{11}}}||
 
{{#ifeq: {{{11}}}||
Line 116: Line 116:
 
{{!}} Plant and let a tree grow
 
{{!}} Plant and let a tree grow
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Sapling}}}}
+
{{!}} ×1 {{I|Sapling}}}}
 
|-
 
|-
 
{{#ifeq: {{{12}}}||
 
{{#ifeq: {{{12}}}||
Line 246: Line 246:
 
{{!}} Grow a wheat
 
{{!}} Grow a wheat
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Wooden hoe}} x1 {{I|Seeds}}}}
+
{{!}} ×1 {{I|Wooden hoe}} ×1 {{I|Seeds}}}}
 
|-
 
|-
 
{{#ifeq: {{{25}}}||
 
{{#ifeq: {{{25}}}||
Line 256: Line 256:
 
{{!}} Make a cake
 
{{!}} Make a cake
 
{{!}} 10
 
{{!}} 10
{{!}} x1 {{I|Crafting Table}} x3 {{I|Bucket of milk}} x2 {{I|Sugar}} x1 {{I|Egg}} x3 {{I|Wheat}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×3 {{I|Bucket of milk}} ×2 {{I|Sugar}} ×1 {{I|Egg}} ×3 {{I|Wheat}}}}
 
|-
 
|-
 
{{#ifeq: {{{26}}}||
 
{{#ifeq: {{{26}}}||
Line 276: Line 276:
 
{{!}} Sleep at [[Times of day#Night|night]] using a bed
 
{{!}} Sleep at [[Times of day#Night|night]] using a bed
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Bed}}}}
+
{{!}} ×1 {{I|Bed}}}}
 
|-
 
|-
 
{{#ifeq: {{{28}}}||
 
{{#ifeq: {{{28}}}||
Line 286: Line 286:
 
{{!}} Destroy an obsidian block
 
{{!}} Destroy an obsidian block
 
{{!}} 10
 
{{!}} 10
{{!}} x1 {{I|Diamond pickaxe}}}}
+
{{!}} ×1 {{I|Diamond pickaxe}}}}
 
|-
 
|-
 
{{#ifeq: {{{29}}}||
 
{{#ifeq: {{{29}}}||
Line 296: Line 296:
 
{{!}} Destroy a gold ore block
 
{{!}} Destroy a gold ore block
 
{{!}} 10
 
{{!}} 10
{{!}} x1 {{I|Iron pickaxe}}}}
+
{{!}} ×1 {{I|Iron pickaxe}}}}
 
|-
 
|-
 
{{#ifeq: {{{30}}}||
 
{{#ifeq: {{{30}}}||
Line 306: Line 306:
 
{{!}} Destroy a diamond ore block
 
{{!}} Destroy a diamond ore block
 
{{!}} 10
 
{{!}} 10
{{!}} x1 {{I|Iron pickaxe}}}}
+
{{!}} ×1 {{I|Iron pickaxe}}}}
 
|-
 
|-
 
{{#ifeq: {{{31}}}||
 
{{#ifeq: {{{31}}}||
Line 316: Line 316:
 
{{!}} Make a portal stone
 
{{!}} Make a portal stone
 
{{!}} 10
 
{{!}} 10
{{!}} x1 {{I|Crafting Table}} x8 {{I|Odd rock}} x1 {{I|Obsidian}}}}
+
{{!}} ×1 {{I|Crafting Table}} ×8 {{I|Odd rock}} ×1 {{I|Obsidian}}}}
 
|-
 
|-
 
{{#ifeq: {{{32}}}||
 
{{#ifeq: {{{32}}}||
Line 326: Line 326:
 
{{!}} Make a [[nether portal]] and go to the [[nether]]
 
{{!}} Make a [[nether portal]] and go to the [[nether]]
 
{{!}} 10
 
{{!}} 10
{{!}} x6 {{I|Portal stone}}}}
+
{{!}} ×6 {{I|Portal stone}}}}
 
|-
 
|-
 
{{#ifeq: {{{33}}}||
 
{{#ifeq: {{{33}}}||
Line 336: Line 336:
 
{{!}} Open a door with a [[Redstone Torch|redstone torch]], [[button]], [[lever]], or with a pressure plate
 
{{!}} Open a door with a [[Redstone Torch|redstone torch]], [[button]], [[lever]], or with a pressure plate
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Iron Door}} x1 <{{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}}}||
 
{{#ifeq: {{{34}}}||
Line 346: Line 346:
 
{{!}} Shoot an arrow with a bow
 
{{!}} Shoot an arrow with a bow
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Bow}} x1 {{I|Arrow}}}}
+
{{!}} ×1 {{I|Bow}} ×1 {{I|Arrow}}}}
 
|-
 
|-
 
{{#ifeq: {{{35}}}||
 
{{#ifeq: {{{35}}}||
Line 356: Line 356:
 
{{!}} Use an ender pearl
 
{{!}} Use an ender pearl
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Ender pearl}}}}
+
{{!}} ×1 {{I|Ender pearl}}}}
 
|-
 
|-
 
{{#ifeq: {{{36}}}||
 
{{#ifeq: {{{36}}}||
Line 366: Line 366:
 
{{!}} Find and activate the ender portal
 
{{!}} Find and activate the ender portal
 
{{!}} 10
 
{{!}} 10
{{!}} x7 {{I|Portal Frame}} x7 {{I|Eye of ender}}}}
+
{{!}} ×7 {{I|Portal Frame}} ×7 {{I|Eye of ender}}}}
 
|-
 
|-
 
{{#ifeq: {{{37}}}||
 
{{#ifeq: {{{37}}}||
Line 406: Line 406:
 
{{!}} Fish a fish with the [[fishing rod]]
 
{{!}} Fish a fish with the [[fishing rod]]
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Fishing Rod}}}}
+
{{!}} ×1 {{I|Fishing Rod}}}}
 
|-
 
|-
 
{{#ifeq: {{{41}}}||
 
{{#ifeq: {{{41}}}||
Line 416: Line 416:
 
{{!}} Use an anvil (enchant a [[book]] or a [[Tools|tool]], use a [[name tag]], repair an item, etc. with the anvil).
 
{{!}} Use an anvil (enchant a [[book]] or a [[Tools|tool]], use a [[name tag]], repair an item, etc. with the anvil).
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Anvil}}}}
+
{{!}} ×1 {{I|Anvil}}}}
 
|-
 
|-
 
{{#ifeq: {{{42}}}||
 
{{#ifeq: {{{42}}}||
Line 446: Line 446:
 
{{!}} [[Brewing|Brew]] a potion by adding an ingredient to a [[Bottle of Water|bottle of water]]
 
{{!}} [[Brewing|Brew]] a potion by adding an ingredient to a [[Bottle of Water|bottle of water]]
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Brewing Stand}} x1 {{I|Bottle of Water}} <!-- More here -->}}
+
{{!}} ×1 {{I|Brewing Stand}} ×1 {{I|Bottle of Water}} <!-- More here -->}}
 
|-
 
|-
 
{{#ifeq: {{{45}}}||
 
{{#ifeq: {{{45}}}||
Line 467: Line 467:
 
{{!}} Use the enchantment table to enchant a item
 
{{!}} Use the enchantment table to enchant a item
 
{{!}} 5
 
{{!}} 5
{{!}} x1 {{I|Enchantment table}} x1 {{I|Diamond sword}}}}
+
{{!}} ×1 {{I|Enchantment table}} ×1 {{I|Diamond sword}}}}
 
|}<noinclude>
 
|}<noinclude>
== Usage ==
+
{{Documentation}}
This template generates a table with the requested task(s)' info. The following code would display all achievements, each per generated row:
+
<!-- Put categories/interwiki on the documentation page. -->
 
+
</noinclude>
<pre><nowiki>
 
{{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=}}
 
}}
 
</nowiki></pre>
 
 
 
(The result can be seen on the [[tasks]]' page).
 
 
 
== Example ==
 
The template is pretty straightforward. You just add it along with <code>|n=</code> where <code>n</code> 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:
 
 
 
<code><nowiki>{{Tasks|1=}}</nowiki></code>
 
 
 
:Results in the "Tasks" section with a table containing the task/achievement number 1:
 
 
 
{{Tasks|1=}}
 
 
 
:And
 
 
 
<code><nowiki>{{Tasks|1=|10=|20=|30=|40=|46=}}</nowiki></code>
 
 
 
:Does the same, but with tasks number 1, 10, 20, 30, 40, and 46:
 
 
 
{{Tasks|1=|10=|20=|30=|40=|46=}}
 

Latest revision as of 18:57, 7 July 2023

Number Icon[ng] Name Newgrounds name Description [ng] Objective Points[ng] Requirements

Template-info.png Template documentation Note: parts of or the entire template might not be visible without values provided.

{{Tasks}} generates a table with the requested task(s)' information.

Usage

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 unnamed parameters whose variables is |n= where n is the number of the achievement you want to add. The template automatically generates the table's header by default, and each row is a different achievement.

A short example is:
{{Tasks|1=}}
which 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
1 Mine a block of wood Mine Wood Wood is used in the most important crafting recipes! Destroy a wood block 5


and {{Tasks|1=|10=|20=|30=|40=|46=}} does the same, but, in this case, it displays the tasks number 1, 10, 20, 30, 40, and 46:
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 ×1 Stick ×1 Coal
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 ×1 Iron pickaxe
40 Fish a fish Fish a Fish Catch a fish with a fishing rod! Fish a fish with the fishing rod 5 ×1 Fishing Rod
46 Enchant an item Enchant an Item Use an enchantment table! Use the enchantment table to enchant a item 5 ×1 Enchantment table ×1 Diamond sword