Difference between revisions of "Template:Anchor"

From The Coppermind
Jump to navigation Jump to search
m
(clarified)
Line 1: Line 1:
 
<span id="{{anchorencode:{{{1}}}|}}" style="visibility: hidden;"></span><noinclude>
 
<span id="{{anchorencode:{{{1}}}|}}" style="visibility: hidden;"></span><noinclude>
   
  +
{{t|anchor|text}}
A utility template to add a URL anchor which can be linked to easily.
 
  +
  +
A utility template to add a URL anchor which can be linked to easily. It is usually used as a subsection header. This will hide the text you are anchoring, so if you want the text you are anchoring to be seen add <code><nowiki>'''text'''</nowiki></code> afterwards.
   
 
[[Category: Templates]]
 
[[Category: Templates]]

Revision as of 15:25, 9 March 2020

{{anchor|text}}

A utility template to add a URL anchor which can be linked to easily. It is usually used as a subsection header. This will hide the text you are anchoring, so if you want the text you are anchoring to be seen add '''text''' afterwards.