- VW3
 
							- Creating Templates
 
						
					
					
					Printable Version
				
				
					
						
						
						
						
						
						
						
					
				
			This page is a chapter in VW3 Introduction to Templates
Visit a forum in your Template namespace, and create a new article. The content of this article will be inserted into others whenever the Template is used.
Post-New-Article-2.jpg
You can also add replacement variables, called "Parameters", to the content.
The values of these Parameters will be defined later when you actually use the Template.
There are two types of Parameters:Both Numerical and Named Parameters can be given default values. If no value is provided when using the Template, the default value will be used.
- Numerical - These will be replaced in the order values are provided.
 
Code:{{{number}}}
{{{number|default_value}}}- Named - These will be replaced with the value that matches the corresponding Parameter name.
 
Code:{{{name}}}
{{{name|default_value}}}
Note: For complex templates, we recommend using Named Parameters rather than Numerical Parameters.