Template:Funcdef

From OpenGL Wiki
Revision as of 02:35, 28 November 2014 by Burton Radons (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, 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.