Difference between revisions of "Template:Funcdef"

From OpenGL.org
Jump to: navigation, search
(More functions. And categorizing.)
m (Equals protection in template.)
Line 10: Line 10:
  
 
[[Category:Common Templates]]
 
[[Category:Common Templates]]
</noinclude><includeonly><div class="funcdef">{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}</div></includeonly>
+
</noinclude><includeonly><div class{{=}}"funcdef">{{{1}}}{{{2|}}}{{{3|}}}{{{4|}}}{{{5|}}}{{{6|}}}{{{7|}}}{{{8|}}}{{{9|}}}{{{10|}}}</div></includeonly>

Revision as of 22:27, 14 February 2013

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.