Template:R: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Rational Wiki>Stabby the Misanthrope
(Expanding documentation.)
m (11 revisions imported)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<span title="{{{2|{{{1}}}}}}" class="fakelinks" style="cursor: pointer; color: {{{3|#CC2200}}};">{{{1|default}}}</span><noinclude>
<span title="{{{2|{{{1}}}}}} (page does not exist)" class="fakelinks" style="cursor: pointer; color: {{{3|#CC2200}}};">{{{1|default}}}</span><noinclude>{{doc}}


Fakes a red link, without actually linking anywhere, avoiding the issue of unnecessary pages listed on [[Special:Wantedpages|Wantedpages]].
{{DEFAULTSORT:{{PAGENAME}}}}</noinclude>
 
The first parameter is whatever you want the displayed text to be.  For example, <code><nowiki>{{r|Shiny shiny Jesusland}}</nowiki></code> produces {{r|Shiny shiny Jesusland}}.
 
The second parameter is for the text that is displayed when the cursor is hovering over the link (in normal links, this text shows the name of the article linked to).  For example, <code><nowiki>{{r|The Bible Belt|AKA shiny shiny Jesusland}}</nowiki></code> produces {{r|The Bible Belt|AKA shiny shiny Jesusland}}.
 
A third parameter allows users to change the display color.  The most obvious usage for this is making the fake red link a fake blue link.  For example, <code><nowiki>{{r|The Bible Belt|AKA shiny shiny Jesusland|#1034A6}}</nowiki></code> produces {{r|The Bible Belt|AKA shiny shiny Jesusland|#1034A6}}.
 
 
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:In-text templates]]</noinclude>

Latest revision as of 09:50, December 14, 2023