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!

Line 1: Line 1:
 
== Tasks ==
 
== Tasks ==
{| class="wikitable sortable tasks-table"
+
{| class="wikitable tasks-table"
 +
<thead>
 +
<tr>
 +
<th>Number</th>
 +
<th>Icon<sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup></th>
 +
<th>Name</th>
 +
<th>Newgrounds name</th>
 +
<th>Description <sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup></th>
 +
<th>Objective</th>
 +
<th>Points<sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup></th>
 +
<th style="width: 120px;">Requirements</th>
 +
</tr>
 
|-
 
|-
! Number
+
{{#if: {{{a1|true}}}|
! class="unsortable"| Icon<sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup>
+
<tr>
! class="unsortable"| Name
 
! class="unsortable"| Newgrounds name
 
! class="unsortable"| Description <sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup>
 
! class="unsortable"| Objective
 
! Points<sup>{{Tip|[ng]|Newgrounds' site exclusive.}}</sup>
 
! class="unsortable" style="width: 120px;"| Requirements
 
{{#if: {{{a1|true}}}|<tr>
 
 
<th>1</th>
 
<th>1</th>
 
<td><span class="tasks" style="background-position: -104px -104px;"></span></td>
 
<td><span class="tasks" style="background-position: -104px -104px;"></span></td>

Revision as of 18:37, 20 December 2021

Tasks

<thead> }}|-
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
45|- 46

-->

Usage

This template generates a table with the requested task(s)' info.

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

Example

{{Tasks|a1=true}}

Results in:

Tasks

<thead> }}|-
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
45|- 46

-->