Template:Maintenance tasks
Jump to navigation
Jump to search
Usage
[edit]{{Maintenance tasks|category name|directions}}
Creates a maintenance task entry based on a maintenance category. Gives a link to the category, a count of the items in the category, some directions on remedying the situation and a list of the ten oldest items in that category.
Parameters
[edit]Unnamed parameters:
- 1: Name of the category. Do not include the
Category:
namespace. Required. - 2: Directions for fixing the problem or performing the maintenance. Preferred but optional.
Named parameters (all optional):
- namespace: Restricts the list of examples to just one namespace. This can be set by name (eg.
Page
) or by number (eg.104
). Intended to prevent, for example, the template and documentation associated with a maintenance category being included in the list of examples (in some cases these items are included in the maintenance category, although this is not consistent). Defaults to 0 (main namespace). - noexamples: Activates and deactivates the list of examples. If the parameter is not set, a list of the oldest items in the category will be shown in a numbered list (up to a maximum of ten). If the parameter is set (any text will do this), the examples section will just have the notice "
Examples have been deactivated for this entry. Please see the maintenance category for the full list.
" Defaults to none (ie. a list will be shown). - shownamespace: Determines if the namespace is shown in the list of examples. If set to true the namespace will be shown, if set to false it will be omitted. Defaults to false.
Placement
[edit]This template uses the {{PAGESINCATEGORY}} magic word, which makes it more work for the server every time it is loaded. Therefore, this template should not be used on high traffic pages.
Example
[edit]{{Maintenance tasks|Texts with missing images|Images must be found, uploaded to Commons and included in the page.}}
Texts with missing images (Pages requiring attention: 509)
Directions
Images must be found, uploaded to Commons and included in the page.
Examples
- A New System of Sword Exercise for Infantry
- Hilda Wade
- McClure's Magazine/Volume 8/Number 5/Life on a Greenland Whaler
- National Geographic Magazine/Volume 31/Number 2/Our Foreign-Born Citizens
- National Geographic Magazine/Volume 31/Number 2/Prizes for the Inventor
- The Lost Phoebe
- Autobiography of a Yogi/Chapter 47
- Autobiography of a Yogi/Chapter 48
- Spinifex and Sand/Part I/Chapter III
- Spinifex and Sand/Part III/Chapter I