Changes

From SME Server
Jump to navigationJump to search
m
Changed Note to use Template:Note box
Line 322: Line 322:     
where <var class="REPLACEABLE">filename</var> is the name of the configuration file you want to generate, e.g. <tt class="FILENAME">/etc/hosts</tt>.
 
where <var class="REPLACEABLE">filename</var> is the name of the configuration file you want to generate, e.g. <tt class="FILENAME">/etc/hosts</tt>.
 
+
{{Note box|msg=<tt>expand-template</tt> is designed for testing, and not as the standard way to expand templates. The correct way to ensure that a template is expanded is to create the <tt>templates2expand</tt> files in the relevant events, along with any <tt>templates.metadata</tt> files which may be required.}}
<div class="NOTE"><blockquote class="NOTE">
+
</div><div class="SECT2">
 
  −
'''Note: '''<var class="LITERAL">expand-template</var> is designed for testing, and not as the standard way to expand templates. The correct way to ensure that a template is expanded is to create the <var class="LITERAL">templates2expand</var> files in the relevant events, along with any <var class="LITERAL">templates.metadata</var> files which may be required.
  −
 
  −
</blockquote></div></div><div class="SECT2">
   
----
 
----
  

Navigation menu