Template:Select skin/doc: Difference between revisions

From USApedia
(High-use template)
 
m (1 revision imported)
 

Latest revision as of 23:37, 17 December 2024

Makes links to change the skin of the current or any page. In particular, this template is transcluded into {{Template test cases notice}}.

Usage

  • {{Select skin}} shows just the horizontal list of skins:
Markup Renders as
[markup]

[rendering]

  • |view= adds "View this page in the skin:"
Markup Renders as
[markup]

[rendering]

  • One unnamed parameter can be used with |view= to include a linked article:
Markup Renders as
[markup]

[rendering]

  • |style= adds CSS styling:
Markup Renders as
[markup]

[rendering]

Technical

You can also temporarily set the skin manually by appending to the URL:

  • ?useskin=skinname for normal cases.
  • &useskin=skinname if the URL already contains an equals sign.

See also