HypertWiki:W3tpl/lib/doc
From HypertWiki
To make use of functions in this library (in another page), you must first load it:
<load page="HypertWiki:W3tpl/lib/doc" local />
- Function: AName
- Purpose: emits an anchor tag -- <a name="..."></a> -- which can be used for footnotes but probably has other uses as well.
- Parameters:
- anchor = name of anchor
- How to call: <call AName anchor=name />
<func AName anchor>
<let name=tag-open chr=60 /> <let name=tag-open append>a name="</let>
<let name=tag-shut>" /</let> <let name=tag-shut append chr=62 /> <let name=tag-shut append chr=60 /> <let name=tag-shut append>/a</let> <let name=tag-shut append chr=62 /> <echo><get name=tag-open raw /><get name=anchor /><get name=tag-shut raw /></echo>
</func>