Difference between revisions of "Template:Syntax"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "<div style="background: #f9f9f9; border: 1px dashed #2f6fab; padding: 7px 5px 7px 10px; font-family: courier, serif; margin-bottom:10px; white-space:pre;">{{{1}}} </div")
 
 
Line 1: Line 1:
<div style="background: #f9f9f9; border: 1px dashed #2f6fab; padding: 7px 5px 7px 10px; font-family: courier, serif; margin-bottom:10px; white-space:pre;">{{{1}}}
<div style="background: #f9f9f9; border: 1px dashed #2f6fab; padding: 7px 5px 7px 10px; font-family: courier, serif; margin-bottom:10px; white-space:pre;">{{{1}}}
</div
</div><noinclude>
Use this simple template for API syntax reference.  Essentially, this is like using the "pre" tag, but allows italics within to represent replaceable elements.
 
Example:
{{Syntax|Function Foo( ''bar'' int, ''baz'' string)
}}
</noinclude>

Latest revision as of 12:25, 8 March 2011

{{{1}}}

Use this simple template for API syntax reference. Essentially, this is like using the "pre" tag, but allows italics within to represent replaceable elements.

Example:

Function Foo( bar int, baz string)