Template:Task/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
Used on the [[Valve Developer Community:Tasks]] page, which is included in the [[Main Page]]. | |||
== Parameters == | == Parameters and Examples == | ||
{| class="standard-table" width="100%" | |||
! {{Dictionary/common|Param}} | |||
! {{Dictionary/common|Desc}} | |||
! {{Dictionary/common|Example}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|section}}}} | |||
| Section name. Used on the [[Main Page]]. | |||
| {{CodeBlock|margin=5px|<nowiki>| section = Saving the Potato Machine</nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|desc}}}} | |||
| Description of the section. | |||
| {{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-32>}}}} | |||
| Your task. | |||
| {{CodeBlock|margin=5px|<nowiki>| task 1 = Destroy the potato chip factory.</nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|task <1-32> <status>}}}} | |||
| The status of the task. if specified, the task color changes. | |||
{{Doc/Sandbox other|[[Category:Templates]]}} | Avaliable values: | ||
* {{Code|rejected}} | |||
* {{Code|in progress}} | |||
* {{Code|done}} | |||
| {{CodeBlock|margin=5px|<nowiki>| task 1 rejected = This is an example text.</nowiki>}} {{CodeBlock|margin=5px|<nowiki>| task 1 in progress = This is an example text.</nowiki>}} {{CodeBlock|margin=5px|<nowiki>| task 1 done = This is an example text.</nowiki>}} | |||
|- | |||
| align="center" | {{Code|style=2|{{Param|task <1-24> reason}}}} | |||
| The reason for rejecting the task. | |||
| {{CodeBlock|margin=5px|<nowiki>| task 1 reason = This is an example text.</nowiki>}} | |||
|} | |||
== Template Subpages == | |||
* {{Code|[[/include]]}} - Content to include in the template. | |||
{{Doc/Sandbox other| | |||
[[Category:Templates]] | |||
[[Category:Wiki]] | |||
}} |
Latest revision as of 01:00, 8 May 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-32>}}} | Your task. | |
{{{task <1-32> <status>}}} | The status of the task. if specified, the task color changes.
Avaliable values:
|
|
{{{task <1-24> reason}}} | The reason for rejecting the task. |
Template Subpages
- /include - Content to include in the template.