Template:Update/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Bsherr
Adding multiple namespace table
meta>Bsherr
m Fixing table
Line 12: Line 12:
|+ The template detects which [[Wikipedia:Namespace|namespace]] it is used in and changes accordingly:
|+ The template detects which [[Wikipedia:Namespace|namespace]] it is used in and changes accordingly:
! Article
! Article
| {{Update|demospace=main|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
| {{Update|type=article|demospace=main|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
|-
! Category
! Category
| {{Update|category|demospace=category|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
| {{Update|type=category|demospace=category|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|-
|-
! Template
! Template
| {{Update|template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
| {{Update|type=template|demospace=template|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|}
|}



Revision as of 14:36, 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