Template:Funcdef

From OpenGL.org
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.