Template:Select skin/doc
Safer nicotine wiki
Tobacco Harm Reduction
Jump to navigationJump to search
| This is a documentation subpage for Template:Select skin. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 4,200 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
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}}
|
View this page in the skin:
|
- 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=skinnamefor normal cases.&useskin=skinnameif the URL already contains an equals sign.
See also
- {{select language}}
- {{Skin}}