Template:Defenum

From OpenGL Wiki
Revision as of 02:18, 28 November 2014 by Burton Radons (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This template acts like the Template:enum template, while also setting an anchor to allow linking to the anchor from other pages. It can be linked to with Template:enumapifunc.

Example:

{{defenum|GL_DEPTH_RANGE}}

becomes:

GL_DEPTH_RANGE