Template:Select skin

吴语维基百科,自由个百科全书
跳到导航 跳到搜索
文檔圖標 模板文檔[查看] [編纂] [歷史] [清除緩存]

Makes links to change the skin of the current or any page. In particular, this template is transcluded into {{Template test cases notice}}.

參數搭使用方法[编辑]

  • {{Select skin}} shows just the horizontal list of skins:
輸入 輸出
{{Select skin}} 
  • |view= adds "View this page in the skin:"
輸入 輸出
{{Select skin|view=yes}} 
View this page in the skin: 
  • One unnamed parameter can be used with |view= to include a linked article:
輸入 輸出
{{Select skin|Funabashi (city)|view=yes}} 
View Funabashi (city) in the skin: 
  • |style= adds CSS styling:
輸入 輸出
{{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.

參看[编辑]