Template:Fund sidebar
This template adds a sidebar to pages that are about a fund. The sidebar contains navigation links to other articles relating to the fund.
Usage
Invoke with:
{{Fund sidebar| Fund=... | HeaderTitle=... [| FundNumber=...][| TrackingError=...]}}
Parameters:
- Fund: The name of the fund. If a main page exists for the fund, use the page title. Required.
- HeaderTitle: A short description to appear as the sidebar header title. Required.
- FundNumber: The Vanguard fund number, used to build the Vanguard website URL. Optional.
- TrackingError: Tracking error pages are not individual "fund" pages, but rather asset class pages. If one exists, insert the title of the tracking error page. Optional.
Example
Using:
{{Fund sidebar | Fund = Vanguard 500 Index Fund | HeaderTitle = 500 Index | FundNumber = 0540 }} |
Results in:
|
Technical notes
The template generates the URL for the Vanguard fund page by passing FundNumber to {{VanguardFundURL}}. As a convenience, you can use a fund or ETF ticker as the value for FundNumber, because {{VanguardFundURL}} understands these as equivalent.
For example, when passed to {{VanguardFundURL}}, FundNumber 0540 generates the following URL:
https://investor.vanguard.com/investment-products/mutual-funds/profile/vfiax
When using Vanguard fund numbers, do not omit leading zeroes.
See also
- {{VanguardFundURL}}