1. VW3
  2. Using Templates
Printable Version

https://www.vaultwiki.org/pages/Help/VaultWiki-3-Manual/VW3:Using-Templates
This page is a chapter in VW3 Introduction to Templates

This page has been seen 751,933 times.

    • Created by on
      Last updated by on
This Chapter covers the usage.
How to use use existing wiki templates in VaultWiki. Written for VaultWiki 3.x, but still largely applicable to VaultWiki 4.x.
For other variations, please refer to Templates (Disambiguation).
Editors can use Templates in their articles using the Template BB-Code. Like wiki links, you must identify the Template using its Title.

The simplest example, without any parameters, is:
Code:
[template]Title[/template]


You can define values for a Template's Parameters by placing them after the Title, separated by vertical bars |.
Code:
[template]Title
| name1=value1
| name2=value2
[/template]


Remember that the BB-Code for each namespace - in this case "template" - is customizable in your Namespace Manager. If you have trouble locating it, the static namespace ID for the Template namespace is 2.