Template:Select skin
Appearance
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 source]- {{Select skin}} shows just the horizontal list of skins:
Markup | Renders as |
---|---|
{{Select skin}}
|
|
- 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: |
- 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: |
- Finally, the
|style=
parameter can be used to add CSS styling:
Markup | Renders as |
---|---|
{{Select skin|style=font-size: 0.8em;}}
|
|
Technical
[edit source]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 (=).