Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:VTE/doc

From Wikipedia, the free encyclopedia

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

and as

respectively. There are more configurable options to hide or add more links to both of these:

Usage

[edit]

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:

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}}}}

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

Required parameters

[edit]
  • {{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.