模板:Template shortcut/doc

来自Local Chinese Wikipedia
跳转到导航 跳转到搜索

package.lua第80行Lua错误:module 'Module:CGroup/core' not found

页面Module:Message box/mbox.css没有内容。页面Template:Ombox/style.css没有内容。

脚本错误:没有“Shortcut”这个模块。

  1. REDIRECT Template:改进使用说明

用法[编辑]

本模板能够在模板的说明页中显示模板的快捷方式。

范例[编辑]

基本[编辑]

For one template shortcut named {{uw-v1}}:

{{template shortcut|uw-v1}}

脚本错误:没有“Shortcut”这个模块。

To indicate that {{uw-vandalism1}} has three shortcuts named: {{uw-v1}}, {{uw-vand1}}, and {{uw-vandal1}}; then the following code may be used:

{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}

脚本错误:没有“Shortcut”这个模块。

With additional parameters[编辑]

Using |float=left makes this template flow to the left of the page:

{{template shortcut|float=left|uw-v1}}

脚本错误:没有“Shortcut”这个模块。

Using |pre2=subst: and |pre3=subst: will show "subst:" before the shortcut links, but within the braces. For example:

{{template shortcut|uw-v1|pre2=subst:|uw-vand1|pre3=subst:|uw-vandal1}}

脚本错误:没有“Shortcut”这个模块。

重定向[编辑]

参见[编辑]

  • {{shortcut}}, the standard shortcut notice.
    • {{shortcut-l}} for a left-aligned standard shortcut notice.
  • {{policy shortcut}} for shortcuts to sections of policy pages.