Template talk:Red link

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)

Return to "Red link" page.