Template:Task: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 37: Line 37:
-->{{#if:{{{task 20|}}}|<div style="background-color:rgba({{#switch:{{{task 20 status|}}}|in progress=235,151,23,.1|0,0,0,.1}}); border:1px solid rgba({{#switch:{{{task 1 status|}}}|in progress=235,151,23,.3|0,0,0,.1}}); border-radius:4px; padding:6px 10px">{{{task 20}}}</div>|}}
-->{{#if:{{{task 20|}}}|<div style="background-color:rgba({{#switch:{{{task 20 status|}}}|in progress=235,151,23,.1|0,0,0,.1}}); border:1px solid rgba({{#switch:{{{task 1 status|}}}|in progress=235,151,23,.3|0,0,0,.1}}); border-radius:4px; padding:6px 10px">{{{task 20}}}</div>|}}
  </div>
  </div>
| <div style="background-color:rgba({{#switch:{{{task 1 status|}}}|in progress=235,151,23,.1|0,0,0,.1}}); border:1px solid rgba({{#switch:{{{task 1 status|}}}|in progress=235,151,23,.3|0,0,0,.1}}); border-radius:4px; padding:6px 10px">This section is empty.</div>}}
| * This section is empty.}}


}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Revision as of 22:00, 15 April 2023

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
View
Page history

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-32>}}} Your task.
| task 1 = Destroy the potato chip factory.
{{{task <1-32> <status>}}} The status of the task. if specified, the task color changes.

Avaliable values:

  • rejected
  • in progress
  • done
| task 1 rejected = This is an example text.
| task 1 in progress = This is an example text.
| task 1 done = This is an example text.
{{{task <1-24> reason}}} The reason for rejecting the task.
| task 1 reason = This is an example text.

Template Subpages

  • /include - Content to include in the template.