Template:VTE: Difference between revisions
Appearance
Content deleted Content added
Nominated for merging with Template:Navbar; see Wikipedia:Templates for discussion/Log/2017 February 24#Template:V. (TW) |
Plastikspork (talk | contribs) Relisting |
||
Line 1: | Line 1: | ||
<noinclude>{{Tfm/dated|page=V|otherpage=Navbar|link=Wikipedia:Templates for discussion/Log/2017 |
<noinclude>{{Tfm/dated|page=V|otherpage=Navbar|link=Wikipedia:Templates for discussion/Log/2017 March 5#Template:V|type=tiny|help=off|bigbox={{#invoke:Noinclude|noinclude|text=yes}}}}</noinclude><includeonly><span class="noprint plainlinks navbar" style="white-space:nowrap;word-spacing:-.12em;"><!-- |
||
-->[[Template:{{{template|{{{1|}}}}}}|<span {{#if:{{{view|}}}||style="font-variant:small-caps;"}} title="View this template">{{#if:{{{view|}}}|view|v}}</span>]]<!-- |
-->[[Template:{{{template|{{{1|}}}}}}|<span {{#if:{{{view|}}}||style="font-variant:small-caps;"}} title="View this template">{{#if:{{{view|}}}|view|v}}</span>]]<!-- |
||
-->{{#switch: {{{1}}} |
-->{{#switch: {{{1}}} |
Revision as of 23:58, 5 March 2017
This template is being considered for merging with Template:Navbar. Please discuss this matter at this template's entry at templates for discussion to help reach a consensus. |
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 · T · E") links.
Usage
Copyable empty examples:
{{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").
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.