Template:Vital article link/doc

For any article, the template displays its current vitality level and helps to locate it in the vital list.

The main purpose of this template is to assist the participants of the WP:Vital articles project with page nomination discussions happening on the project's talk-pages. It can be also used on individual user pages to track statuses of particular articles.

Usage
Usage:.

Example: →

Description
This template produces a formatted link to a vital article. It takes a single unnamed parameter which is the name of the article. The output consists of the regular link to the article followed with the article's level (from 1 to 5) linking to the corresponding Vital articles subpage containing the article.

Only the link to the top-level list is displayed. For example, if the article is of level 3 vitality, then it is present in level-3, level-4 and level-5 lists, but only the link to the level-3 list is displayed (1 > 2 > 3 > 4 > 5).

If the article is not a vital article, then the output is just the plain link. (This is useful if the template was previously used for an article which was subsequently demoted from the vital list.)

The first letter of the argument is automatically capitalized before being checked for being vital. So both and  should produce the same result:.

Usage in headers
This templates, and other templates, should not be used in section headers, per MOS:SECTIONHEAD.

The template could hypothetically be used in Vital article nomination discussions, for example:

produces:

Remove, add
The downside to this use is that when you try to edit such a section on the desktop (with [edit] button), the automatically generated edit summary will contain something like. This does not produce a valid link to the discussion section in the talk-page edit-history. To mitigate this problem, an editor would need to manually copy the section header's title from the preview and paste it into the edit summary:. Then it would link to the proper section.