2025 RationalWiki 'Oregon Plan' Fundraiser

There is no RationalWiki without you. We are a small non-profit with no staff—we are hundreds of volunteers who document pseudoscience and crankery around the world every day. We will never allow ads because we must remain independent. We cannot rely on big donors with corresponding big agendas. We are not the largest website around, but we believe we play an important role in defending truth and objectivity.

Fighting pseudoscience isn't free.
We are 100% user-supported! Help and donate $5, $10, $20 or whatever you can today with PayPal Logo.png!
Donations so far: $9223.37Goal: $10000

Template:Vte

From RationalWiki
Jump to navigation Jump to search

[edit] [purge] Documentation

This template has a sandbox (edit) for editors to experiment.
Warning icon orange.svg This template is used on a large number of pages.

In order to prevent unnecessary server load, edits should be kept to a minimum. Please experiment in the template's /sandbox or /testcases subpage, or in your own sandbox, and consider discussing your changes on the talk page before applying them.

Information icon.svg Editing a template causes all pages that use the template to be re-rendered. If the template is used often, this can put a lot of load on the server since it fills up the job queue.

This template adds a set of three links to a page, one to the page, one to its talk page, and one to edit it. They are appear in a small font size, with minimal text.

It is intended to be added to templates, to provide easy access to the template from a page it is transcluded into.

Usage

At the most basic, you will likely only need to place

{{vte|{{subst:PAGENAME}}}}

onto the template.

If, for whatever reason, you wish to make the links apply to a different page, replace {{subst:PAGENAME}} with the name of the page.

The colour of the links can be changed via the second parameter. For example, to have white links, add

{{vte|{{subst:PAGENAME}}|#ffffff}}

The namespace of the linked-to pages can be changed with the third parameter. If not included, it defaults to "Template". Usually you would just need

{{vte|{{subst:PAGENAME}}||{{subst:NAMESPACE}}}}

To change the namespace and colour, place the colour code in the middle:

{{vte|{{subst:PAGENAME}}|#ffffff|{{subst:NAMESPACE}}}}

See also