Difference between revisions of "HypertWiki:W3tpl/lib/doc"

From HypertWiki
Jump to navigation Jump to search
(try this so post-processed stuff can still be used)
(forgot to close middle "get" tag)
Line 18: Line 18:
   <let name=tag-shut append>/a</let>
   <let name=tag-shut append>/a</let>
   <let name=tag-shut append chr=62 />
   <let name=tag-shut append chr=62 />
   <echo><get name=tag-open raw /><get name=anchor><get name=tag-shut raw /></echo>
   <echo><get name=tag-open raw /><get name=anchor /><get name=tag-shut raw /></echo>
</func>
</func>

Revision as of 11:52, 1 December 2008

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


> function aname() <= ()