Template:View/sandbox

From Kerbal Space Program Wiki
< Template:View
Revision as of 18:51, 30 May 2015 by Murph (talk | contribs) (Create sandbox version of Template:View)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]Pages that link to Template:View/sandbox

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:

{{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").

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.