Difference between revisions of "Template:Anchor"

From The Coppermind
Jump to navigation Jump to search
(Created page with '<span id="{{anchorencode:{{{1}}}|}}" style="display:hidden;">badsf</span><noinclude> A utility template to add a URL anchor which can be linked to easily.')
 
(clarified)
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<span id="{{anchorencode:{{{1}}}|}}" style="display:hidden;">badsf</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]]

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.