Toggle menu
24K
663
183
158.1K
HausaDictionary.com | Hausa English Translations
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
This is a documentation subpage for Template:autostrike.
It contains usage information, categories and other content that are not part of the original template page.

This template is used for adding a strikethrough if the page exists, or displays a normal red link if it doesn't.

Usage

{{autostrike
| 1 = Page title
| 2 = Link name
}}

Note: As this template uses the parser function {{#ifexists:, this template has to be used sparingly as this parser function is considered to be resource-intensive on the server.

Examples

Existing page

{{autostrike|Main Page}}Main Page

Non-existant page

{{autostrike|Non-existent page}}Non-existent page

TemplateData

This is the TemplateData documentation for the template used by the new VisualEditor.

Autostrike

Template for striking out links to existing pages.

Template parameters

ParameterDescriptionTypeStatus
Page title1

The page title to check.

Page namerequired
Alternative display text2

An alternate text to display as the link's name.

Stringoptional