Template:VTE: Difference between revisions
Appearance
Content deleted Content added
Undid revision 608247732 by Technical 13 (talk) not as talked |
Bring in line with Template:navbar (7.5M transc's): use "t" for talk, not "d". See Template talk:v#Use "t" for talk, not "d" |
||
Line 2: | Line 2: | ||
-->[[Template:{{{template|{{{1|}}}}}}|<span title="View this template">{{#if:{{{view|}}}|view|v}}</span>]]<!-- |
-->[[Template:{{{template|{{{1|}}}}}}|<span title="View this template">{{#if:{{{view|}}}|view|v}}</span>]]<!-- |
||
-->{{#switch: {{{1}}} |
-->{{#switch: {{{1}}} |
||
|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template"> |
|t|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template">t</span>]] |
||
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
||
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
||
Line 14: | Line 14: | ||
}}<!-- |
}}<!-- |
||
-->{{#switch: {{{2}}} |
-->{{#switch: {{{2}}} |
||
|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template"> |
|t|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template">t</span>]] |
||
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
||
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
||
Line 26: | Line 26: | ||
}}<!-- |
}}<!-- |
||
-->{{#switch: {{{3}}} |
-->{{#switch: {{{3}}} |
||
|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template"> |
|t|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template">t</span>]] |
||
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
||
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
||
Line 38: | Line 38: | ||
}}<!-- |
}}<!-- |
||
-->{{#switch: {{{4}}} |
-->{{#switch: {{{4}}} |
||
|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template"> |
|t|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template">t</span>]] |
||
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
||
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
||
Line 50: | Line 50: | ||
}}<!-- |
}}<!-- |
||
-->{{#switch: {{{5}}} |
-->{{#switch: {{{5}}} |
||
|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template"> |
|t|d= <b>·</b> [[Template talk:{{{template}}}|<span title="Discuss this template">t</span>]] |
||
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
|e= <b>·</b> [{{fullurl:Template:{{{template}}}|action=edit}} <span style="color:#002bb8;" title="Edit this template">e</span>] |
||
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
|h= <b>·</b> [{{fullurl:Template:{{{template}}}|action=history}} <span style="color:#002bb8;" title="Template history">h</span>] |
||
Line 63: | Line 63: | ||
--></includeonly><noinclude> |
--></includeonly><noinclude> |
||
{{documentation}} |
{{documentation}} |
||
<!--Note: Metadata (interwiki links, etc) for this template should be put on [[Template:V/doc]]--> |
|||
</noinclude> |
</noinclude> |
Revision as of 08:40, 21 May 2014
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.