Template:W

From SMBC Wiki
Revision as of 11:42, 11 February 2024 by Smbcwiki-admin (talk | contribs) (Copied from explainxkcd)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A template to make a link to Wikipedia.

Usage[edit]

  • {{w}} by itself links to the wikipedia page for the page you use the template on
  • {{w|Page}} links to the wikipedia article on "Page"
  • {{w|Page|Display}} prints "Display" which links to the wikipedia article on "Page"

The first character of the link target is automatically capitalized, such that e.g. {{w|xkcd}} (xkcd) and {{w|Xkcd|xkcd}} (xkcd) both link to the same URL. (Wikipedia page titles never start with a lowercase character, though they can display with alternative capitalization.)