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.)
Rational Wiki>Armondikov
No edit summary
Line 1: Line 1:
<span title="{{{2|{{{1}}}}}}" class="fakelinks" style="cursor: pointer; color: {{{3|#CC2200}}};">{{{1|default}}}</span><noinclude>
<span title="{{{2|{{{1}}}}}}" 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]].
 
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}}}}
{{DEFAULTSORT:{{PAGENAME}}}}
[[Category:In-text templates]]</noinclude>
[[Category:In-text templates]]</noinclude>

Revision as of 14:53, May 11, 2010