Template:Task/doc: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{Doc/subpage}}
{{Doc/subpage}}
<includeonly>{{ModernTodo|Design.}}</includeonly>
Used on the [[Valve Developer Community:Tasks]] page, which is included in the [[Main Page]].


== Parameters ==
== Parameters and Examples ==
* {{Param|section}} - Section name.
 
* {{Param|desc}} - Description of the section.
{| class="standard-table" width="100%"
* {{Param|task <1-20>}} - Your Task.
! {{Dictionary/common|Param}}
! {{Dictionary/common|Desc}}
! {{Dictionary/common|Example}}
|-
| align="center" | {{Code|style=2|{{Param|section}}}}
| Section name. Used on the [[Main Page]].
| {{CodeBlock|<nowiki>| section = Saving the Potato Machine</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|desc}}}}
| Description of the section.
| {{CodeBlock|<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>}}}}
| Your task.
| {{CodeBlock|<nowiki>| task 1 = Destroy the potato chip factory.</nowiki>}}
|-
| align="center" | {{Code|style=2|{{Param|task <1-20> status}}}}
| The status of the task. if specified, the task color changes.
 
Avaliable values:
* {{Code|in grogress}}
| {{CodeBlock|<nowiki>| task 1 status = in progress</nowiki>}}
|}


{{Doc/Sandbox other|
{{Doc/Sandbox other|

Revision as of 22:18, 15 April 2023

Edit-copy.png
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.

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.
| section = Saving the Potato Machine
{{{desc}}} Description of the section.
| desc = Everything that needs to be done to save the potato machine is described below. Hurry up!
{{{task <1-20>}}} Your task.
| task 1 = Destroy the potato chip factory.
{{{task <1-20> status}}} The status of the task. if specified, the task color changes.

Avaliable values:

  • in grogress
| task 1 status = in progress