HypertWiki:W3tpl/lib/doc: Difference between revisions
From HypertWiki
m testing noinclude behavior with load tag |
brief documentation |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
To make use of functions in this library (in another page), you must first load it: | |||
<load page="{{FULLPAGENAME}}" 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=<u>name</u> /> | |||
</noinclude> | |||
<func AName anchor> | <func AName anchor> | ||
<let name=tag chr=60 /> | <let name=tag chr=60 /> |
Revision as of 02:38, 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 />
<func AName anchor>
<let name=tag chr=60 /> <let name=tag append>a name="</let> <let name=tag append copy=anchor /> <let name=tag append>" /</let> <let name=tag append chr=62 /> <let name=tag append chr=60 /> <let name=tag append>/a</let> <let name=tag append chr=62 /> <echo><get name=tag raw /></echo>
</func>