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}}} | <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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | The page name | File | required |
Display Text | 2 | Text to be displayed
| File | suggested |