Template:W

From SGUTranscripts
Revision as of 16:55, 16 May 2023 by Xanderox (talk | contribs) (small tweaks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This template is designed to create in-line references to Wikipedia pages.

Usage

To use this template, place {{w|<page>}} in an entry where <page> is an article on Wikipedia.

For example,

S: Our guest tonight is {{w|James Randi}}.

will produce

S: Our guest tonight is James Randi.


To change the displayed text of the link, add the alternate text after a pipe, |. For example,

{{w|John Rennie (editor)|John Rennie}}.

will produce

John Rennie.

It is not necessary to "escape" special characters such as "()#" or replace spaces with underscores ("_").

Note that you can produce a link to Wikipedia's main page by using the format

{{w||Wikipedia}}

producing

Wikipedia