Difference between revisions of "Template:Zero"

From Highway 0, the Kentucky Route Zero wiki
Jump to navigation Jump to search
 
Line 3: Line 3:
 
== Usage ==
 
== Usage ==
  
Use <code><nowiki>{{Zero}}</nowiki></code> instead of <code>Zero</code> to get fog ([[:File:Zero Fog.png]]) over the text.
+
Use <code><nowiki>{{Zero}}</nowiki></code> instead of <code>Zero</code> to get fog ([[:File:Zero Fog.png]]) over the text. Or, use <code><nowiki>{{Zero|yourtexthere}}</nowiki></code> to get fog over yourtexthere, e.g. {{Zero|yourtexthere}}.
  
Or, use <code><nowiki>{{Zero|yourtexthere}}</nowiki></code> to get fog over yourtexthere, e.g. {{Zero|yourtexthere}}.
+
This can be used with links as well: <code><nowiki>[[Route Zero|Route {{Zero}}]]</nowiki></code> for [[Route Zero|Route {{Zero}}]] (using [[:File:ZeroLink Fog.png]]).
  
This can be used with links as well: <code><nowiki>[[Route Zero|Route {{Zero}}]]</nowiki></code> for [[Route Zero|Route {{Zero}}]].
+
Just need the single word {{Zero}} as a link leading to the page [[Route Zero]]? Use [[Template:ZeroLink]], i.e. <code><nowiki>{{Zero}}</nowiki></code>.
  
Just need the single word {{Zero}} as a link leading to the page [[Route Zero]]? Use [[Template:ZeroLink]].
+
Need ''white'' – rather than default black – text (e.g. lightbox photo captions) to have this effect? Use <code><nowiki><span class="zerowhite"></nowiki></code> (using [[:File:ZeroWhite Fog.png]]).
 
[[Category:Boilerplate Templates]]
 
[[Category:Boilerplate Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 15:18, 10 January 2020

Zero

Usage[edit]

Use {{Zero}} instead of Zero to get fog (File:Zero Fog.png) over the text. Or, use {{Zero|yourtexthere}} to get fog over yourtexthere, e.g. yourtexthere.

This can be used with links as well: [[Route Zero|Route {{Zero}}]] for Route Zero (using File:ZeroLink Fog.png).

Just need the single word Zero as a link leading to the page Route Zero? Use Template:ZeroLink, i.e. {{Zero}}.

Need white – rather than default black – text (e.g. lightbox photo captions) to have this effect? Use <span class="zerowhite"> (using File:ZeroWhite Fog.png).