Difference between revisions of "Template:Anchor"

From Zero-K
Jump to navigation Jump to search
(Very simple-minded template to create a link anchor.)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<a id="{{{1|{{CURRENTTIMESTAMP}}}}}">{{{2|}}}</a><noinclude>
+
<span id="{{{1|{{BASEPAGENAME}}{{CURRENTTIMESTAMP}}}}}">{{{2|}}}</span><noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:34, 8 October 2022

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

A very simple-minded template that creates an anchor for links. The first parameter is the link ID (should not start with a number or most symbols), the second is optional and will become the contents of the anchor if supplied.