Template:Template shortcut

本页使用了标题或全文手工转换
来自红砖维基
Creeper19472讨论 | 贡献2022年7月26日 (二) 23:36的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

用法[编辑源代码]

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

示例[编辑源代码]

基本[编辑源代码]

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

{{template shortcut|uw-v1}}

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}}

With additional parameters[编辑源代码]

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

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

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}}, the standard shortcut notice.
    • {{shortcut-l}} for a left-aligned standard shortcut notice.
  • {{policy shortcut}} for shortcuts to sections of policy pages.