Template talk:Red link

Add topic
Active discussions

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 the src parameter, you should specify from what wiki page the style sheet needs to be (defaults to the Template namespace; the page must have the sanitized-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)

I've also posted this on the discord, and I was able to attach screenshots of what I mean here. For those that don't want to use discord, basically my suggestion would change
Detective Pikachu and Detective Pikachu (disambiguation)
to
Detective Pikachu and Detective Pikachu (disambiguation).
(See the landing pages of these sites yourself by clicking these links.) → PikaTepig999 22:34, 7 December 2023 (UTC)
Also a different edit request to the one above, the line<span style="color:#CC2200"><span title="{{{1}}}">{{{2|{{{1}}}}}}</span> only has one closing tag for the two openings of the span tag. They can be combined into one. → PikaTepig999 22:38, 7 December 2023 (UTC)
Return to "Red link" page.