Template:Funcdef

From OpenGL Wiki
Jump to navigation Jump to search

This template is used for styling a function definition. It's better than using the 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.