Difference between revisions of "Template:newobjectnotice"

(Created page with "<includeonly>{{notice|This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it...")
 
m
 
Line 1: Line 1:
<includeonly>{{notice|This function can be slow if it is called repeatedly, such as from [[love.update]] or [[love.draw]]. If you need to use a specific resource often, create it once and store it in a table.}}<br></includeonly><noinclude>
+
<includeonly>{{notice|This function can be slow if it is called repeatedly, such as from [[love.update]] or [[love.draw]]. If you need to use a specific resource often, create it once and store it somewhere it can be reused!}}<br></includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:Templates]]
 
[[Category:Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 22:03, 1 February 2012

[edit] [purge] Template documentation

This template is used to indicate functions which create a new resource, which can be very slow if used improperly. It is a simple wrapper over the Notice template so wording will be consistent. To use it, simply type {{newobjectnotice}}, which will result in:


O.png This function can be slow if it is called repeatedly, such as from love.update or love.draw. If you need to use a specific resource often, create it once and store it somewhere it can be reused!