Template talk:Fake link

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

Is it me or is someone abusing this formatting template? I'm seeing these things used in articles (from "What links here" page), not just the Fake News. :( RAP.pngRAP... Another rule required to be set up...? Check? ;o

UPDATE: Not much articles as I thought to fix, two of them... still though... RAP.pngRAP... ...Hmmm. ;|

Red Link Fake Link[edit]

{{#ifeq:{{FULLPAGENAME}}|{{#ifeq:{{FULLPAGENAME}}|Main Page|#|{{PAGENAME}}}}|[[{{{1|Main Page}}}|{{{1|{{{2|default}}}}}}]]|<span title="{{{2|{{{1|}}}}}}" class="{{#ifexist:{{{1}}}|fakelinks|new}}">{{{1|default}}}</span>}}

The code: class="{{#ifexist:{{{1}}}|fakelinks|new}}"

I figured out a way to detect if the page exists so that way a fake red link can be created instead of a regular (blue) link to an otherwise red link. However, can't edit the template and MediaWiki:Common.css needs to be modified. Class new should inherit fakelinks style. --Wildgoosespeeder (talk) (Stats - Contribs) 19:56, 29 June 2017 (EDT)