Template:Task: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 5: Line 5:
|<div style="max-width:50vh; overflow:hidden; white-space:nowrap; text-overflow:ellipsis"><!--
|<div style="max-width:50vh; overflow:hidden; white-space:nowrap; text-overflow:ellipsis"><!--
--><span style="margin-right:.3em">[[Valve Developer Community:Tasks#{{{section|}}}|<span title="{{{desc|}}}">{{{section|}}}</span>]]:</span><!--
--><span style="margin-right:.3em">[[Valve Developer Community:Tasks#{{{section|}}}|<span title="{{{desc|}}}">{{{section|}}}</span>]]:</span><!--
-->{{#if:{{{task 1|}}}|{{{task 1}}}|}}<!--
-->{{#if:{{{task 1|}}}|<span style="">{{{task 1}}}</span>|}}<!--
-->{{#if:{{{task 2|}}}|, {{{task 2}}}|}}<!--
-->{{#if:{{{task 2|}}}|, <span style="">{{{task 2}}}</span>|}}<!--
-->{{#if:{{{task 3|}}}|, {{{task 3}}}|}}<!--
-->{{#if:{{{task 3|}}}|, <span style="">{{{task 3}}}</span>|}}<!--
-->{{#if:{{{task 4|}}}|, {{{task 4}}}|}}<!--
-->{{#if:{{{task 4|}}}|, <span style="">{{{task 4}}}</span>|}}<!--
-->{{#if:{{{task 5|}}}|, {{{task 5}}}|}}<!--
-->{{#if:{{{task 5|}}}|, <span style="">{{{task 5}}}</span>|}}<!--
-->{{#if:{{{task 6|}}}|, {{{task 6}}}|}}
-->{{#if:{{{task 6|}}}|, <span style="">{{{task 6}}}</span>|}}
</div>|}}
</div>|}}


Line 16: Line 16:
{{#if:{{{task 1|{{{task 2|{{{task 3|{{{task 4|{{{task 5|{{{task 6|{{{task 7|{{{task 8|{{{task 9|{{{task 10|{{{task 11|{{{task 12|{{{task 13|{{{task 14|{{{task 15|{{{task 16|{{{task 17|{{{task 18|{{{task 19|{{{task 20|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
{{#if:{{{task 1|{{{task 2|{{{task 3|{{{task 4|{{{task 5|{{{task 6|{{{task 7|{{{task 8|{{{task 9|{{{task 10|{{{task 11|{{{task 12|{{{task 13|{{{task 14|{{{task 15|{{{task 16|{{{task 17|{{{task 18|{{{task 19|{{{task 20|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
| <div style="display:flex; flex-direction:column; gap:8px"><!--
| <div style="display:flex; flex-direction:column; gap:8px"><!--
-->{{#if:{{{task 1|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 1}}}</div>|}}<!--
-->{{#if:{{{task 1|}}}|<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">{{{task 1}}}</div>|}}<!--
-->{{#if:{{{task 2|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 2}}}</div>|}}<!--
-->{{#if:{{{task 2|}}}|<div style="background-color:rgba({{#switch:{{{task 2 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 2}}}</div>|}}<!--
-->{{#if:{{{task 3|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 3}}}</div>|}}<!--
-->{{#if:{{{task 3|}}}|<div style="background-color:rgba({{#switch:{{{task 3 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 3}}}</div>|}}<!--
-->{{#if:{{{task 4|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 4}}}</div>|}}<!--
-->{{#if:{{{task 4|}}}|<div style="background-color:rgba({{#switch:{{{task 4 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 4}}}</div>|}}<!--
-->{{#if:{{{task 5|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 5}}}</div>|}}<!--
-->{{#if:{{{task 5|}}}|<div style="background-color:rgba({{#switch:{{{task 5 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 5}}}</div>|}}<!--
-->{{#if:{{{task 6|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 6}}}</div>|}}<!--
-->{{#if:{{{task 6|}}}|<div style="background-color:rgba({{#switch:{{{task 6 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 6}}}</div>|}}<!--
-->{{#if:{{{task 7|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 7}}}</div>|}}<!--
-->{{#if:{{{task 7|}}}|<div style="background-color:rgba({{#switch:{{{task 7 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 7}}}</div>|}}<!--
-->{{#if:{{{task 8|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 8}}}</div>|}}<!--
-->{{#if:{{{task 8|}}}|<div style="background-color:rgba({{#switch:{{{task 8 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 8}}}</div>|}}<!--
-->{{#if:{{{task 9|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 9}}}</div>|}}<!--
-->{{#if:{{{task 9|}}}|<div style="background-color:rgba({{#switch:{{{task 9 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 9}}}</div>|}}<!--
-->{{#if:{{{task 10|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 10}}}</div>|}}<!--
-->{{#if:{{{task 10|}}}|<div style="background-color:rgba({{#switch:{{{task 10 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 10}}}</div>|}}<!--
-->{{#if:{{{task 11|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 11}}}</div>|}}<!--
-->{{#if:{{{task 11|}}}|<div style="background-color:rgba({{#switch:{{{task 11 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 11}}}</div>|}}<!--
-->{{#if:{{{task 12|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 12}}}</div>|}}<!--
-->{{#if:{{{task 12|}}}|<div style="background-color:rgba({{#switch:{{{task 12 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 12}}}</div>|}}<!--
-->{{#if:{{{task 13|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 13}}}</div>|}}<!--
-->{{#if:{{{task 13|}}}|<div style="background-color:rgba({{#switch:{{{task 13 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 13}}}</div>|}}<!--
-->{{#if:{{{task 14|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 14}}}</div>|}}<!--
-->{{#if:{{{task 14|}}}|<div style="background-color:rgba({{#switch:{{{task 14 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 14}}}</div>|}}<!--
-->{{#if:{{{task 15|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 15}}}</div>|}}<!--
-->{{#if:{{{task 15|}}}|<div style="background-color:rgba({{#switch:{{{task 15 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 15}}}</div>|}}<!--
-->{{#if:{{{task 16|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 16}}}</div>|}}<!--
-->{{#if:{{{task 16|}}}|<div style="background-color:rgba({{#switch:{{{task 16 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 16}}}</div>|}}<!--
-->{{#if:{{{task 17|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 17}}}</div>|}}<!--
-->{{#if:{{{task 17|}}}|<div style="background-color:rgba({{#switch:{{{task 17 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 17}}}</div>|}}<!--
-->{{#if:{{{task 18|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 18}}}</div>|}}<!--
-->{{#if:{{{task 18|}}}|<div style="background-color:rgba({{#switch:{{{task 18 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 18}}}</div>|}}<!--
-->{{#if:{{{task 19|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">{{{task 19}}}</div>|}}<!--
-->{{#if:{{{task 19|}}}|<div style="background-color:rgba({{#switch:{{{task 19 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 19}}}</div>|}}<!--
-->{{#if:{{{task 20|}}}|<div style="background:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.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:rgba(0,0,0,.1); border:1px solid rgba(255,255,255,.1); border-radius:4px; padding:6px 10px">This section is empty.</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>}}


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

Revision as of 21:59, 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.