Template:Defenum: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Created page with "<noinclude>This template acts like the Template:enum template, while also setting an anchor to allow linking to the anchor from other pages. Example: <nowiki>{{defenum|G..."
 
mNo edit summary
 
Line 1: Line 1:
<noinclude>This template acts like the [[Template:enum]] template, while also setting an anchor to allow linking to the anchor from other pages.
<noinclude>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:
Example:

Latest revision as of 02:18, 28 November 2014

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