addedValueMacros.newShortcutFormLink
Syntax
{addedValueMacros.newShortcutFormLink(whatText, formID, whatTarget=nil, anchor=nil, class=nil, title=nil, accesskey=nil, hreflang=nil, tabindex=nil, onmouseOver="", onmouseOut="", onClick="")}
- whatText - a string which will the text of the link.
- formID - the name of an addedValues shortcut form.
- whatTarget - optional, value of target attribute for the link
- anchor - optional, value of anchor attribute for the link
- class - optional, value of class attribute for the link
- title - optional, value of title attribute for the link
- accessKey - optional, value of accesskey attribute for the link
- hrefLang - optional, value of hreflang attribute for the link
- tabindex - optional, value of tabindex attribute for the link
- onmouseOver - optional, value of the onmouseOver attribute for the link.
- onmouseOut - optional, value of the onmouseOut attribute for the link.
- onClick - optional, value of the onClick attribute for the link.
Examples
| {addedValueMacros.newShortcutFormLink("New GlossItem", "NewGlossItem")} |
To see the currently defined addedValues forms in this site , click
Examine forms.
Semantics
newShortcutFormLink returns a link to a page with a form to create a new addedValeus shortcut. The form must have been defined as a shortcut form. If any of the optional parameters whatTarget, anchor, title, title, accessKey, hrefLang, tabindex, onmouseOver, onmouseOut, onClick are present they are used to build the link.
;
Error encountered are reported as HTML comments with an explanatory text, use view source in your browser to see them; such as
<!-- addedValues is not configured for new gems --<
See also