Template:Funcdef

From OpenGL.org
Revision as of 19:28, 6 January 2013 by Alfonse (Talk | contribs)

Jump to: navigation, search

This template is used for styling a function definition. It's better than using pre-formatted tags with the space character.

{{funcdef|void '''ThisIsAFunction'''(type {{param|parameter}});}}

becomes:

void ThisIsAFunction(type parameter​);
.

This is paragraph formatting, not inline formatting.