Template:Select skin

From Nordic Larp Wiki
Revision as of 21:20, 10 January 2018 by en>Redrose64 (add Timeless)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

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
{{Select skin}}
  • |view= adds "View this page in the skin:"
Markup Renders as
{{Select skin|view=yes}}
  • One unnamed parameter can be used with |view= to include a linked article:
Markup Renders as
{{Select skin|Funabashi (city)|view=yes}}
  • |style= adds CSS styling:
Markup Renders as
{{select skin|style=font-size:80%}}

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