Template:VTE/doc

From English Wikipedia @ Freddythechick
(Redirected from Template:View/doc)

This template produces links to a template that gives direct access to the template's pages. Most commonly it shows "view · talk · edit" (or "V ·· E") links.

Usage

Copyable empty examples: <syntaxhighlight lang="wikitext"> Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. </syntaxhighlight> Which produces:








The same type of template only for the full text "view" style: <syntaxhighlight lang="wikitext"> Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. Lua error in Module:Navbar at line 58: Invalid title {{subst:PAGENAME}}. </syntaxhighlight>







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

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 {{subst:PAGENAME}} will be substituted with the template's name when parsed by the servers.