Template:Select skin/doc

This template generates trasncludable links to change the skin for the current (or any) page. In particular, this template is transcluded into {{Testcases notice}}.

Usage

edit
  • {{Select skin}} shows just the horizontal list of skins:
Markup Renders as
{{Select skin}} Timeless  · New Vector (2022)  · Vector legacy (2010)  · MinervaNeue  · MonoBook  · MinervaNeue (mobile)
  • The boolean |view= parameter adds "View this page in the skin:" when given a value that evaluates to True:
Markup Renders as
{{Select skin|view=yes}} View this page in the skin:
Timeless  · New Vector (2022)  · Vector legacy (2010)  · MinervaNeue  · MonoBook  · MinervaNeue (mobile)
  • One unnamed/positional parameter can be used with |view= to include a linked article:
Markup Renders as
{{Select skin|Intellectual Property and the Internet/Search engines|view=yes}} View Intellectual Property and the Internet/Search engines in the skin:
Timeless  · New Vector (2022)  · Vector legacy (2010)  · MinervaNeue  · MonoBook  · MinervaNeue (mobile)
  • Finally, the |style= parameter can be used to add CSS styling:
Markup Renders as
{{Select skin|style=font-size: 0.8em;}} Timeless  · New Vector (2022)  · Vector legacy (2010)  · MinervaNeue  · MonoBook  · MinervaNeue (mobile)

Technical

edit

You can also temporarily set the skin for the current page manually by appending the following to its URL:

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