Template:VTE
Jump to navigation
Jump to search
This template displays the "View · Edit" links for any specified page.
Usage
{{VTE|[page name]|color=[color]}}
- Optional parameters
[page name]
: the page name for which the "V" link leads to.- If omitted, then it refers to the current page.
- If specified, then it links to the specified page.
[color]
: the color in which to display the text.- If omitted, then it uses the default styling (blue for valid link, red for broken link).
- If specified, then it shows the links in the specified color. (The color will not show whether the links are valid or not, but if you move the mouse onto the link you can see whether the link is valid)
Examples
- Without
[page name]
:{{VTE}}
Gives:
View · Edit - With
[page name]
specified as Template:Zen Garden:{{VTE|Template:Zen Garden}}
Gives:
View · Edit - With
[page name]
specified as Template:Zen Garden, and[color]
specified asgreen
:{{VTE|Template:Zen Garden|color=green}}
Gives:
View · Edit