Template:Fund sidebar/doc

Usage
The purpose of this template is to add a sidebar to pages that are about a fund. The sidebar contains navigation links about the fund.

Parameters:
 * Fund (required) - the name of the fund. If a main page exists for the fund, use the page title.
 * HeaderTitle (required) - A short description to appear as the sidebar header title.
 * FundNumber (optional) - the Vanguard fund number, used to build the Vanguard website URL
 * TrackingError (optional) - Tracking error pages are not individual "fund" pages, but rather asset class pages. If one exists, insert the title of the tracking error page.

Many pages for Vanguard funds also have two additional pages:
 * A page for expenses
 * A page for tax distributions

If the value passed to the fund parameter has a page for any of these, then a link to these pages will be added to the menu.

Sample
The wiki page "Vanguard Small Cap Index Fund" does not exist, so the HeaderTitle text "Small Cap Index Fund" is used in place of a link.  Will output:



Technical notes
The Vanguard URL is created by passing the FundNumber to VanguardFundURL as the first numbered parameter.

In the above example, FundNumber 0048 will pass as:


 * , translating to:
 * , which results in
 * 1) Website
 * 2) and be displayed as: Website