Difference between revisions of "Template:Fake link"

From blackwiki
Jump to navigation Jump to search
imported>GKFX
(This template isn't necessarily funny (it's great for documentation))
imported>K6ka
(move to /doc subpage)
Line 1: Line 1:
<templatestyles src="Fakelink/styles.css"/><span title="{{{2|{{{1|foo}}}}}}" class="fakelinks">{{{1|default}}}</span><noinclude>{{documentation|content=
+
<templatestyles src="Fakelink/styles.css"/><span title="{{{2|{{{1|foo}}}}}}" class="fakelinks">{{{1|default}}}</span><noinclude>
{{uses TemplateStyles|Template:Fakelink/styles.css}}
+
{{documentation}}</noinclude>
==Usage==
 
<code><nowiki>{{fakelink|This is not a link}}</nowiki></code> produces:
 
 
 
{{fakelink|This is not a link}}
 
 
 
 
 
<code><nowiki>{{fakelink|This isn't a link|really}}</nowiki></code> produces:
 
 
 
{{fakelink|This isn't a link|really}}
 
 
 
Note: The second parameter only appears when you roll your mouse over the link.
 
 
 
This is based on Uncyclopedia's [//uncyclopedia.wikia.com/wiki/Template:Fakelink Template:Fakelink].
 
 
 
==See also==
 
<code><nowiki>{{#invoke:Sandbox/逆襲的天邪鬼/vandalism | eatlinks |This is a real [[link]].}}</nowiki></code> produces:
 
 
 
{{#invoke:Sandbox/逆襲的天邪鬼/vandalism | eatlinks |This is a real [[link]].}}
 
 
 
[[Category:Documentation assistance templates]]}}</noinclude>
 

Revision as of 20:13, 1 May 2019

Page Template:Fakelink/styles.css has no content.default

Template documentation[view] [edit] [history] [purge]

Script error: No such module "Uses TemplateStyles".

Description

This template creates a fake link that doesn't link to anything. Used in documentation and help pages.

Usage

{{Fake link|Foo}}

Page Template:Fakelink/styles.css has no content.Foo

The template accepts a second parameter that can be used to change the text of the tooltip that appears when the cursor is hovered over the link.

{{Fake link|Foo|Bar}}

Page Template:Fakelink/styles.css has no content.Foo

The second parameter can be left blank to disable the tooltip.

{{Fake link|Foo|}}

Page Template:Fakelink/styles.css has no content.Foo

Credits

This template was based off of Uncyclopedia's Fakelink template.

See also

Documentation templates
Template Appearance
{{fake clarify}} [clarification needed]
{{fake citation needed}} [citation needed]
{{fake verification needed}} [verification needed]
{{fake explain}} [further explanation needed]
{{fake heading}}
Section
{{fake notes and references}}
Notes


References
{{dummy reference}} [1]
{{dummy backlink}} ^
{{dummy footnote}}
1. ^ Citation
{{fake link}} Page Template:Fakelink/styles.css has no content.default