Template:Task/doc: Difference between revisions
Jump to navigation
Jump to search
Mailmanmicky (talk | contribs) m (Misspelling fix) |
mNo edit summary |
||
Line 10: | Line 10: | ||
| align="center" | {{Code|style=2|{{Param|section}}}} | | align="center" | {{Code|style=2|{{Param|section}}}} | ||
| Section name. Used on the [[Main Page]]. | | Section name. Used on the [[Main Page]]. | ||
| {{CodeBlock|<nowiki>| section = Saving the Potato Machine</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| section = Saving the Potato Machine</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|desc}}}} | | align="center" | {{Code|style=2|{{Param|desc}}}} | ||
| Description of the section. | | Description of the section. | ||
| {{CodeBlock|<nowiki>| desc = Everything that needs to be done to save the potato machine is described below. Hurry up!</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| desc = Everything that needs to be done to save the potato machine is described below. Hurry up!</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|task <1-20>}}}} | | align="center" | {{Code|style=2|{{Param|task <1-20>}}}} | ||
| Your task. | | Your task. | ||
| {{CodeBlock|<nowiki>| task 1 = Destroy the potato chip factory.</nowiki>}} | | {{CodeBlock|margin=5px|<nowiki>| task 1 = Destroy the potato chip factory.</nowiki>}} | ||
|- | |- | ||
| align="center" | {{Code|style=2|{{Param|task <1-20> status}}}} | | align="center" | {{Code|style=2|{{Param|task <1-20> status}}}} | ||
Line 25: | Line 25: | ||
Avaliable values: | Avaliable values: | ||
* {{Code|in progress}} | * {{Code|in progress}} | ||
| {{CodeBlock|<nowiki>| task 1 status = in progress</nowiki>}} | * {{Code|done}} | ||
| {{CodeBlock|margin=5px|<nowiki>| task 1 status = in progress</nowiki>}} | |||
| {{CodeBlock|margin=5px|<nowiki>| task 1 status = done</nowiki>}} | |||
|} | |} | ||
Revision as of 10:09, 16 April 2023

This is a documentation subpage for Template:Task.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Used on the Valve Developer Community:Tasks page, which is included in the Main Page.
Parameters and Examples
Parameter | Description | Example | |
---|---|---|---|
{{{section}}} | Section name. Used on the Main Page. | ||
{{{desc}}} | Description of the section. | ||
{{{task <1-20>}}} | Your task. | ||
{{{task <1-20> status}}} | The status of the task. if specified, the task color changes.
Avaliable values:
|
Template Subpages
- /include - Content to include in the template.