Template:Red link: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m (is this what you meant?)
(removing the 'edit' from the url so it doesn't open the edit box everytime + adding templatedata)
 
Line 1: Line 1:
<includeonly><span class="plainlinks">[{{fullurl:{{{1}}}|action=edit}} <span style="color:#CC2200"><span title="{{{1}}}">{{{2|{{{1}}}}}}</span>]</span></includeonly><noinclude>
<includeonly><span class="plainlinks">[{{fullurl:{{{1}}}}} <span style="color:#CC2200" title="{{{1}}}">{{{2|{{{1}}}}}}</span>]</span></includeonly><noinclude>


==Usage==
==Usage==
Used for making [[wp:WP:Red link|red links]] that do not appear on the [[Special:WantedPages|wanted pages]].
Used for making [[wp:WP:Red link|red links]] that do not appear on the [[Special:WantedPages|wanted pages]].
<pre>{{red link|name}}</pre>
<pre<includeonly/>><nowiki>{{</nowiki>red link|name|''display text''}}</pre>
 
===TemplateData===
<templatedata>
{
"params": {
"1": {
"label": "Page name",
"description": "The page name",
"type": "wiki-file-name",
"required": true
},
"2": {
"label": "Display Text",
"description": "Text to be displayed",
"type": "wiki-file-name",
"default": "Value of <1>",
"suggested": true
}
},
"description": "This template is used for making red links that do not appear on Special:WantedPages",
"format": "inline"
}
</templatedata>


[[Category:Link templates]]</noinclude>
[[Category:Link templates]]</noinclude>

Latest revision as of 19:01, 1 July 2024


Usage

Used for making red links that do not appear on the wanted pages.

{{red link|name|display text}}

TemplateData

This template is used for making red links that do not appear on Special:WantedPages

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

The page name

Filerequired
Display Text2

Text to be displayed

Default
Value of <1>
Filesuggested