Template:Select skin: Difference between revisions
Jump to navigation
Jump to search
Richardpruen (talk | contribs) m (1 revision imported) |
imported>Izno (actual fix) |
||
Line 1: | Line 1: | ||
{{#if:{{{view|}}}|View {{#if:{{{1|}}}|[[{{{1}}}]]|this page}} in the [[WP:Skin|skin]]:<br/>}} | {{#if:{{{view|}}}|View {{#if:{{{1|}}}|[[{{{1}}}]]|this page}} in the [[WP:Skin|skin]]:<br/>}}{{hlist|class=inline noprint plainlinks nowraplinks|style={{{style|}}} | ||
|[//en.m.wikipedia.org{{localurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva}} {{int:skinname-minerva}}] (mobile) | |||
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=monobook}} {{int:skinname-monobook}}] | |||
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=timeless}} {{int:skinname-timeless}}] | |||
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=vector}} {{int:skinname-vector}}] | |||
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=vector-2022}} {{int:skinname-vector-2022}}] | |||
}}<noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
<!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --> | <!-- PLEASE ADD THIS TEMPLATE'S CATEGORIES TO THE /doc SUBPAGE, THANKS --> | ||
</noinclude> | </noinclude> |
Latest revision as of 20:47, 31 March 2022
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=skinname
for normal cases.&useskin=skinname
if the URL already contains an equals sign.
See also
- {{select language}}
- {{Skin}}