The first video in the TASBot Re: (TASBot Revisited) series is out! TASBot Re: Gradius covers our first run from AGDQ 2014.

Historians wanted: Inquire here.

Template:Redlink not wanted: Difference between revisions

Template page
m (Make red)
m (Add example for overriding label)
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span class="plainlinks redlink">[{{fullurl:{{{1}}}|{{{params|redlink=1}}}}} <span style="color: var(--color-link-new);" title="{{int:red-link-title|{{#if:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{{1}}}}}|{{{1}}}}}}}">{{{2|{{{1}}}}}}</span>]</span>
<onlyinclude><includeonly><span class="plainlinks redlink">[{{fullurl:{{{1}}}|{{{params|redlink=1}}}}} <span style="color: var(--color-link-new);" title="{{int:red-link-title|{{FULLPAGENAME:{{{1}}}}}}}">{{{2|{{{1}}}}}}</span>]</span></includeonly></onlyinclude>
 
Creates a redlink that doesn't affect the target page's standing in [[Special:WantedPages]].
Examples:
* <code><nowiki>{{redlink not wanted|nonexistent page}}</nowiki></code> &longrightarrow; {{redlink not wanted|nonexistent page}}
* <code><nowiki>{{redlink not wanted|nonexistent page|label}}</nowiki></code> &longrightarrow; {{redlink not wanted|nonexistent page|label}}
* <code><nowiki>{{redlink not wanted|Main Page}}</nowiki></code> &longrightarrow; {{redlink not wanted|Main Page}} (note the target page exists; this is not checked)
 
{{TemplateData preamble}}<templatedata>
{
"params": {
"1": {
"label": "Target Page",
"type": "wiki-page-name",
"required": true
},
"2": {
"label": "Label Text",
"type": "line",
"default": "{{{1}}} (value of page name parameter)"
},
"params": {
"label": "Link Querystring",
"description": "the whole querystring except the leading '?'",
"type": "url",
"default": "redlink=1"
}
},
"paramOrder": [
"1",
"2",
"params"
],
"description": "Creates a redlink that doesn't affect the target page's standing in Special:WantedPages.",
"format": "inline"
}
</templatedata>

Latest revision as of 17:38, 1 August 2024


Creates a redlink that doesn't affect the target page's standing in Special:WantedPages. Examples:

  • {{redlink not wanted|nonexistent page}}nonexistent page
  • {{redlink not wanted|nonexistent page|label}}label
  • {{redlink not wanted|Main Page}}Main Page (note the target page exists; this is not checked)

The below documentation is automatically generated from JSON.

It can be changed by editing this page, but note that it's only the documentation (for the visual editor)—the actual template part must also be edited, manually.

Creates a redlink that doesn't affect the target page's standing in Special:WantedPages.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Target Page1

no description

Page namerequired
Label Text2

no description

Default
{{{1}}} (value of page name parameter)
Lineoptional
Link Querystringparams

the whole querystring except the leading '?'

Default
redlink=1
URLoptional