Template:Todo: Difference between revisions

From Against the Storm Official Wiki
No edit summary
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<tr><td>{{{1|}}}</td><td>{{{2|status?}}}</td><td>{{{3|(not yet assigned)}}}</td></tr>
<includeonly>|-
| {{{1|What needs to be done?}}} || {{{2|status?}}} || {{{3|(not yet assigned)}}}</includeonly>
<noinclude>
Adds a table row for a new todo item to an existing table.
 
== Parameters ==
 
The three parameters are all unnamed and optional.
 
{| class="wikitable"
! Parameter !! Type !! Description
|-
| first parameter || string || The description of what needs to be done.
|-
| second parameter || string || The status, for example, ''done'' or ''not started.''
|-
| third parameter || string || To whom it is assigned. You can, but do not have to, link your user page, like this: <code><nowiki>[[User:Yourname]]</nowiki></code>
|}
 
== Examples ==
 
When a table already exists, add a new table row with the following:
 
<pre>{{Todo|Write the documentation for the Todo template|done|Viceroy}}</pre>
 
Creates a new row, inside an existing wikitable:
{| class="wikitable
{{Todo|Write the documentation for the Todo template|done|Viceroy}}
|}

Latest revision as of 04:49, 6 November 2023


Adds a table row for a new todo item to an existing table.

Parameters

The three parameters are all unnamed and optional.

Parameter Type Description
first parameter string The description of what needs to be done.
second parameter string The status, for example, done or not started.
third parameter string To whom it is assigned. You can, but do not have to, link your user page, like this: [[User:Yourname]]

Examples

When a table already exists, add a new table row with the following:

{{Todo|Write the documentation for the Todo template|done|Viceroy}}

Creates a new row, inside an existing wikitable:

Write the documentation for the Todo template done Viceroy