Template:Task: Difference between revisions

From The Unofficial Isekai:Slow Life Wiki
Jump to navigation Jump to search
m (Changed the h4 into a div.)
m (Added template section, edited TemplateData.)
Line 9: Line 9:
</div>
</div>
<noinclude>
<noinclude>
The width of <nowiki>{{Task}}</nowiki> is dependent on [[Template:Tasklist]]'s width.
The width of <nowiki>{{Task}}</nowiki> is dependent on [[Template:Tasklist]]'s width.<br>
 
'''Template:'''
<pre style="width: 500px;">
{{Task
      | name =
      | rewards =
}}
</pre>
<templatedata>
<templatedata>
{
{
Line 22: Line 30:
"description": "This is where you put the {{Item}} templates.",
"description": "This is where you put the {{Item}} templates.",
"type": "unbalanced-wikitext",
"type": "unbalanced-wikitext",
"default": "{{Item}}"
"default": "{{Item}}",
"required": true
}
}
},
},

Revision as of 20:06, 5 April 2025

Default Task Name
0

The width of {{Task}} is dependent on Template:Tasklist's width.

Template:

{{Task
      | name =
      | rewards =
}}

This template is used for tasks and the rewards given upon completion of a task.

[Edit template data]

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename

This is where the name of the task is placed.

Default
Default Task Name
Stringrequired
rewardsrewards

This is where you put the {{Item}} templates.

Default
{{Item}}
Unbalanced wikitextrequired