Template talk:Red link: Difference between revisions
→New coding: new section |
→Edit request: new section |
||
Line 26: | Line 26: | ||
* {‍{FULLPAGENAME}‍} will automatically apply capital letters when possible to the given page name. | * {‍{FULLPAGENAME}‍} will automatically apply capital letters when possible to the given page name. | ||
Hope that clears out things. <span lang="ja">[[User:TheICTLiker4|<span style="color:#333">'''TheI'''</span>]][[Special:Contributions/TheICTLiker4|<span style="color:#f30">'''CTLi'''</span>]][[User talk:TheICTLiker4|<span style="color:#bbb">'''ker4'''</span>]]</span> 13:49, 25 January 2020 (UTC) | Hope that clears out things. <span lang="ja">[[User:TheICTLiker4|<span style="color:#333">'''TheI'''</span>]][[Special:Contributions/TheICTLiker4|<span style="color:#f30">'''CTLi'''</span>]][[User talk:TheICTLiker4|<span style="color:#bbb">'''ker4'''</span>]]</span> 13:49, 25 January 2020 (UTC) | ||
== Edit request == | |||
While the use of an <code><nowiki>{{#ifexist}}</nowiki></code> tag has been suggested [[Special:Diff/1780378|before]], if that is not going to be implemented, I'd ask that a <code>redlink=1</code> argument be added to the <code><nowiki>{{fullurl}}</nowiki></code> tag. The advantage in using this is, that if the page exists, the user does not go into the edit window. Or remove the <code>action=edit</code> argument, it'll show the create or search message. There's really no point in going to the edit window everytime. → [[User:PikaTepig999|<span style="color:#000;">Pika</span>]][[User talk:PikaTepig999|<span style="color:#000;">Tepig</span>]][[Special:Contribs/PikaTepig999|<span style="color:#000;">999</span>]] 21:34, 3 December 2023 (UTC) |
Revision as of 21:34, 3 December 2023
chould someone please remove the <font> tag? it is VERY outdated --Hanmac 08:31, 1 December 2010 (UTC)
- Like that? --SnorlaxMonster 09:46, 1 December 2010 (UTC)
ifexist function
Would it be possible to integrate the ifexist function? Like this: Pokémon world (Mystery Dungeon) (edit to see what I mean) I think it would work better, so you could see whether it actually exists. --Abcboy (talk) 15:49, 14 October 2012 (UTC)
New coding
I would like the coding to be this:
<templatestyles src="Red link/colors.css" /><span class="plainlinks redlink">[{{fullurl:{{{1}}}|action=edit}} <span title="{{FULLPAGENAME:{{{1}}}}} {{int:parentheses|{{int:wikieditor-toolbar-tool-link-int-target-status-notexists}}}}">{{{2|{{{1}}}}}}</span>]</span>
Explanation:
- The
<templatestyles>
tag requires the extension TemplateStyles to work. In thesrc
parameter, you should specify from what wiki page the style sheet needs to be (defaults to the Template namespace; the page must have thesanitized-css
content model). The page's content should be:
span.redlink > a:link {color:#ba0000} span.redlink > a:visited {color:#c57d58}
- Otherwise, the above content has to be added to the page MediaWiki:Common.css (only administrators have the specific user right to do this).
- The transclusion filter
int:
makes the transclusion{{int:xyz}}
same as{{MediaWiki:xyz}}
, but the content is adjusted to the user's interface language. Displays as ⧼xyz⧽ if MediaWiki:xyz doesn't exist. - {{FULLPAGENAME}} will automatically apply capital letters when possible to the given page name.
Hope that clears out things. TheICTLiker4 13:49, 25 January 2020 (UTC)
Edit request
While the use of an {{#ifexist}}
tag has been suggested before, if that is not going to be implemented, I'd ask that a redlink=1
argument be added to the {{fullurl}}
tag. The advantage in using this is, that if the page exists, the user does not go into the edit window. Or remove the action=edit
argument, it'll show the create or search message. There's really no point in going to the edit window everytime. → PikaTepig999 21:34, 3 December 2023 (UTC)