Template:Task: Difference between revisions
Jump to navigation
Jump to search
FaeriMagic (talk | contribs) m (Removed line break.) |
FaeriMagic (talk | contribs) m (Changed the h4 into a div.) |
||
Line 1: | Line 1: | ||
<div class="task" style="max-width: 100%; margin: 3px; border: 1px solid #847E69; border-radius: 2px; padding: 3px; background-color: #EDD7C4;"> | <div class="task" style="max-width: 100%; margin: 3px; border: 1px solid #847E69; border-radius: 2px; padding: 3px; background-color: #EDD7C4;"> | ||
<div class="task-inner" style="border: 1px solid #E1CEBB; background-color: #F6E9D8; max-width: 100%; height: auto; overflow: hidden; position: relative;"> | <div class="task-inner" style="border: 1px solid #E1CEBB; background-color: #F6E9D8; max-width: 100%; height: auto; overflow: hidden; position: relative;"> | ||
< | <div class="task-name" style="width: 100%; font-size: 14px; font-weight: bold; margin: 0; padding: 5px; background-color: #E7C8A4;"> | ||
{{{name|Default Task Name}}}</ | {{{name|Default Task Name}}}</div> | ||
<div class="task-rewards" style="display: flex; flex-wrap: wrap;"> | <div class="task-rewards" style="display: flex; flex-wrap: wrap;"> | ||
{{{rewards|{{Item}}}}} | {{{rewards|{{Item}}}}} | ||
Line 9: | Line 9: | ||
</div> | </div> | ||
<noinclude> | <noinclude> | ||
The width of <nowiki>{{Task}}</nowiki> is dependent on | The width of <nowiki>{{Task}}</nowiki> is dependent on [[Template:Tasklist]]'s width. | ||
<templatedata> | <templatedata> | ||
{ | { |
Revision as of 18:12, 5 April 2025
The width of {{Task}} is dependent on Template:Tasklist's width.
This template is used for tasks and the rewards given upon completion of a task.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | This is where the name of the task is placed.
| String | required |
rewards | rewards | This is where you put the {{Item}} templates.
| Unbalanced wikitext | optional |