Difference between revisions of "Template:ZeroLink"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
Line 1: Line 1:
[[{{{2|Route Zero}}}|<span class="zerolink">{{{1|Zero}}}</span>]]<noinclude>
+
[[{{{2|Route Zero}}}|{{{4| }}}<span class="zerolink">{{{1|Zero}}}</span>]]<noinclude>
  
 
Use <code><nowiki>{{ZeroLink}}</nowiki></code> instead of <code><nowiki>[[Zero]]</nowiki></code> to get fog ([[:File:ZeroLink Fog.png]]) over the link. Links lead to [[Route Zero]] by default.
 
Use <code><nowiki>{{ZeroLink}}</nowiki></code> instead of <code><nowiki>[[Zero]]</nowiki></code> to get fog ([[:File:ZeroLink Fog.png]]) over the link. Links lead to [[Route Zero]] by default.
Line 6: Line 6:
  
 
To change the link destination (why?), use <code><nowiki>{{ZeroLink|yourtexthere|destination}}</nowiki></code>, e.g. {{ZeroLink|this links to Weaver|Weaver}}.
 
To change the link destination (why?), use <code><nowiki>{{ZeroLink|yourtexthere|destination}}</nowiki></code>, e.g. {{ZeroLink|this links to Weaver|Weaver}}.
 +
 +
For the case where [[Route Zero]] should be a link in its entirety, but only the word "Zero" should have the fog effect, use <code><nowiki>{{ZeroLink|Zero|Route Zero|Route }}</nowiki></code>, e.g. {{ZeroLink|Zero|Route Zero|Route}}.
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:46, 3 February 2018

Zero

Use {{ZeroLink}} instead of [[Zero]] to get fog (File:ZeroLink Fog.png) over the link. Links lead to Route Zero by default.

Or, use {{ZeroLink|yourtexthere}} to get fog over yourtexthere, e.g. yourtexthere.

To change the link destination (why?), use {{ZeroLink|yourtexthere|destination}}, e.g. this links to Weaver.

For the case where Route Zero should be a link in its entirety, but only the word "Zero" should have the fog effect, use {{ZeroLink|Zero|Route Zero|Route }}, e.g. Zero.