• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:VTE

  • Template
  • Talk
  • Language
  • Watch
  • View source
(Redirected from Template:Vte)
  • v
  • t
  • e
Template documentation[view] [edit] [history] [purge]
The VTE template invokes the {{navbar}} template with the parameter |mini= set to 1, thus linking to a template that gives direct access to the template's pages. Based on whether {{v}} or {{view}} is used, it renders as
  • v
  • t
  • e
and as
  • view
  • talk
  • edit
respectively. There are more configurable options to hide or add more links to both of these:

Usage

Copyable empty examples. The {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.

{{v|{{subst:PAGENAME}}}}
{{v|t|template={{subst:PAGENAME}}}}
{{v|t|e|template={{subst:PAGENAME}}}}
{{v|t|e|h|template={{subst:PAGENAME}}}}
{{v|t|e|h|m|template={{subst:PAGENAME}}}}
{{v|t|e|h|m|w|template={{subst:PAGENAME}}}}

Which produces:

    • v
    • v
    • t
    • v
    • t
    • e
    • v
    • t
    • e
    • h
    • v
    • t
    • e
    • h
    • m
    • v
    • t
    • e
    • h
    • m
    • w

The same type of template only for the full text "view" style:

{{view|{{subst:PAGENAME}}}}
{{view|talk|template={{subst:PAGENAME}}}}
{{view|talk|edit|template={{subst:PAGENAME}}}}
{{view|talk|edit|hist|template={{subst:PAGENAME}}}}
{{view|talk|edit|hist|move|template={{subst:PAGENAME}}}}
{{view|talk|edit|hist|move|watch|template={{subst:PAGENAME}}}}
    • view
    • view
    • talk
    • view
    • talk
    • edit
    • view
    • talk
    • edit
    • hist
    • view
    • talk
    • edit
    • hist
    • move
    • view
    • talk
    • edit
    • hist
    • move
    • watch

Adding option |d (for "discuss") equals adding |t, adding a t link (for "talk").[clarification needed]

Required parameters

  • {{v|{{subst:PAGENAME}}}} the template name is required. Do not add the namespace.
  • {{view|{{subst:PAGENAME}}}} the template name is required. Do not add the namespace.
The above documentation is transcluded from Template:VTE/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:VTE&oldid=1306939804"