Template talk:Fake link: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Porplemontage moved page Template talk:Fakelink to Template talk:Fake link)
Line 2: Line 2:


UPDATE: Not much articles as I thought to fix, two of them... still though... {{User:RAP/sig}} [[Special:Contributions/RAP|...Hmmm. ;|]]
UPDATE: Not much articles as I thought to fix, two of them... still though... {{User:RAP/sig}} [[Special:Contributions/RAP|...Hmmm. ;|]]
== Red Link Fake Link ==
{{talk}}
<code><nowiki>{{#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>}}</nowiki></code><br><br>
The code:
<code><nowiki>class="{{#ifexist:{{{1}}}|fakelinks|new}}"</nowiki></code><br><br>
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. --{{User:Wildgoosespeeder/sig}} 19:56, 29 June 2017 (EDT)

Revision as of 19:56, June 29, 2017

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

? Block from Super Mario World This talk page or section has a conflict or question that needs to be answered. Please try to help and resolve the issue by leaving a comment.

{{#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)