Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Aleksd
No edit summary
meta>Bsherr
Adding multiple namespace table
Line 8: Line 8:
To add the date when the tag was added, use:
To add the date when the tag was added, use:
: {{Tlx|Update|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
: {{Tlx|Update|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
{| class="wikitable"
|+ The template detects which [[Wikipedia:Namespace|namespace]] it is used in and changes accordingly:
! Article
| {{Update|demospace=main|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Category
| {{Update|category|demospace=category|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
! Template
| {{Update|template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|}


This template will add articles to [[:Category:Wikipedia articles in need of updating]].
This template will add articles to [[:Category:Wikipedia articles in need of updating]].

Revision as of 04:53, 22 November 2010

Usage

This template can be used to mark articles or sections with old or out-of-date information.

To mark a section, use:

{{Update|type=section}}

To add the date when the tag was added, use:

{{Update|date=November 2024}}
The template detects which namespace it is used in and changes accordingly:
Article
Category
Template

This template will add articles to Category:Wikipedia articles in need of updating.

Example

{{update|documentation}}

Alternatives

See also