Difference between revisions of "Template:Maintenance"
From Twinsuniverse
J McKalling (Talk | contribs) m (→Example) |
J McKalling (Talk | contribs) m |
||
| Line 3: | Line 3: | ||
|{{mbox | |{{mbox | ||
|class=cleanup | |class=cleanup | ||
| − | |This article has some maintenance tasks:<ul>{{{tasks}}}</ul>}} | + | |This article has some maintenance tasks, you may help by solving the following issues:<ul>{{{tasks}}}</ul>}} |
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
This template is used to render a maintenance message on an article, in case any maintenance tasks were raised. | This template is used to render a maintenance message on an article, in case any maintenance tasks were raised. | ||
| Line 23: | Line 23: | ||
:{{mbox|class=cleanup | :{{mbox|class=cleanup | ||
| − | |This article has some maintenance tasks:<ul><li>The age of this character is't specified</li></ul>}} | + | |This article has some maintenance tasks, you may help by solving the following issues:<ul><li>The age of this character is't specified</li></ul>}} |
| Line 34: | Line 34: | ||
:{{mbox|class=cleanup | :{{mbox|class=cleanup | ||
| − | |This article has some maintenance tasks:<ul> | + | |This article has some maintenance tasks, you may help by solving the following issues:<ul> |
<li>[[:Category:Characters of unknown age|Characters of unknown age]]: The age of this character is't specified</li> | <li>[[:Category:Characters of unknown age|Characters of unknown age]]: The age of this character is't specified</li> | ||
<li>[[:Category:Characters of unknown size|Characters of unknown size]]: The size of this character is't specified</li> | <li>[[:Category:Characters of unknown size|Characters of unknown size]]: The size of this character is't specified</li> | ||
Revision as of 12:29, 9 December 2012
This template is used to render a maintenance message on an article, in case any maintenance tasks were raised.
Articles showing this message are not automatically categorized.
Parameters
- tasks: A string containing <li>-elements for a list of tasks (case sensitive, defaults to nothing displayed)
Note: using this parameter, multiple tasks may be listed in one message
Syntax
{{maintenance|tasks=value}}
Examples
One task may be specified like this:
{{maintenance|tasks=<li>The age of this character is't specified</li>}}
This article has some maintenance tasks, you may help by solving the following issues:
|
If multiple tasks are desired, it works like this:
{{maintenance|tasks=
<li>[[:Category:Characters of unknown age|]]: The age of this character is't specified</li>
<li>[[:Category:Characters of unknown size|]]: The size of this character is't specified</li>
<li>[[:Category:Characters of unknown magic|]]: This character doesn't specify whether it is magical</li>
}}
This article has some maintenance tasks, you may help by solving the following issues:
|
You may leave "tasks" unspecified, by not specifying a value for the parameter, so these all have the same result (nothing displayed):
{{maintenance}}
{{maintenance|}}
{{maintenance|tasks=}}
{{maintenance|boohoo=}}
{{maintenance|funfrock=not funny}}