HypertWiki:W3tpl/lib/doc

From HypertWiki
Jump to navigation Jump to search

To make use of functions in this library (in another page), you must first load it:

<load page="HypertWiki:W3tpl/lib/doc" local />

AName(anchor)

  • 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 />


> function aname() <= ()

NoteFoot(key)

  • Function: NoteFoot
  • Purpose: Emits a nicely-formatted footnote with an anchor tag so document text can link to it
  • Parameters:
    • key = key to the anchor; this value is displayed as is and prefixed with "note-" for the actual tag, thus:
      • <a name="note-key"></a>


> function notefoot() <= ()