Jump to content

Template:Select skin: Difference between revisions

From Elite Dangerous Wiki
Content deleted Content added
mNo edit summary
 
m Localise imported template guidance and policy links; preserve index layout and licence information
 
Line 1: Line 1:
{{#if:{{{view|}}}|View {{#if:{{{1|}}}|[[{{{1}}}]]|this page}} in the [[WP:Skin|skin]]:<br/>}}{{horizontal list|class=inline noprint plainlinks nowraplinks|style={{{style|}}}
{{#if:{{{view|}}}|View {{#if:{{{1|}}}|[[{{{1}}}]]|this page}} in the [[Project:Editorial guidance|skin]]:<br/>}}{{horizontal list|class=inline noprint plainlinks nowraplinks|style={{{style|}}}
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva}} {{int:skinname-minerva}}] {{horizontal list |class=inline|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva&useformat=mobile}} mobile]|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva&minervanightmode=1}} dark]}}
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva}} {{int:skinname-minerva}}] {{horizontal list |class=inline|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva&useformat=mobile}} mobile]|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=minerva&minervanightmode=1}} dark]}}
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=monobook}} {{int:skinname-monobook}}]
|[{{fullurl:{{{1|{{FULLPAGENAME}}}}}|useskin=monobook}} {{int:skinname-monobook}}]

Latest revision as of 09:52, 31 October 2026

Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit "Template:Select skin/doc" to edit its documentation if it is available. (How does this work?)

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