You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in or create an account, your edits will be attributed to your username, along with
other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision |
Your text |
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 ==
| |
|
| |
| <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)
| |