Difference between revisions of "Template:Enumapifunc"

From OpenGL.org
Jump to: navigation, search
(Created page with "<noinclude>This template makes a link to a Template:defenum template used to define an Template:enum template anchor within an API function page. The link is created u...")
 
m
 
Line 10: Line 10:
  
 
[[Category:Inline Formatting Templates]]
 
[[Category:Inline Formatting Templates]]
</noinclude><includeonly>{{apifunc|{{{1}}}#{{{2}}}|{{{1}}} with argument {{enum|{{{2}}}}}}}</includeonly>
+
</noinclude><includeonly>[[GLAPI/{{{1}}}#{{{2}}}|{{{1}}} with argument {{enum|{{{2}}}}}]]</includeonly>

Latest revision as of 13:48, 27 November 2013

This template makes a link to a Template:defenum template used to define an Template:enum template anchor within an API function page. The link is created using Template:apifunc.

Example:

{{enumapifunc|glGet|GL_DEPTH_RANGE}}

becomes:

glGet with argument GL_DEPTH_RANGE