Template:Extref: Difference between revisions

From OpenGL Wiki
Jump to navigation Jump to search
Template for linking to extensions.
 
Now provides text.
Line 9: Line 9:
{{extref|vertex_attrib_binding}}
{{extref|vertex_attrib_binding}}


</noinclude><includeonly>[http://www.opengl.org/registry/specs/{{{2|ARB}}}/{{{1}}}.txt]</includeonly>
</noinclude><includeonly>[http://www.opengl.org/registry/specs/{{{2|ARB}}}/{{{1}}}.txt {{{2|ARB}}}_{{{1}}}]</includeonly>

Revision as of 22:47, 7 September 2012

This template represents an inline reference to an extension specification. It will automatically link to its page on the OpenGL registry.

Example:

{{extref|vertex_attrib_binding}}

becomes:

ARB_vertex_attrib_binding