Template:Todo: Difference between revisions
From Against the Storm Official Wiki
(Strikethrough was not displaying well. removed) |
(Example doc. Also fixed the vertical alignment issue; there was an extra line break before closing includeonly tag) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
|- | |- | ||
| {{{1|What needs to be done?}}} || {{{2|status?}}} || {{{3|(not yet assigned)}}} | | {{{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}} | |||
|} |
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 |