Template:Funcdef

From OpenGL Wiki
Revision as of 02:27, 15 February 2013 by Alfonse (talk | contribs) (Equals protection in template.)
Jump to navigation Jump to 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.