模板:Template shortcut
外观
(重定向自Template:Tsh)
用法
[编辑源代码]本模板能够在模板的说明页中显示模板的快捷方式。
范例
[编辑源代码]基本
[编辑源代码]对于一个叫做模板链接:{{uw-v1}}的模板重定向:
{{template shortcut|uw-v1}}
要指定模板链接:{{uw-vandalism1}}有三个快捷方式,叫做模板链接:{{uw-v1}}、模板链接:{{uw-vand1}}和模板链接:{{uw-vandal1}},那么可以使用以下的代码:
{{template shortcut|uw-v1|uw-vand1|uw-vandal1}}
带有额外的参数
[编辑源代码]使用|float=left可以让模板浮动在页面的左边或者右边:
{{template shortcut|float=left|uw-v1}}
重定向
[编辑源代码]- 模板链接:{{tsh}}
参见
[编辑源代码]- 模板链接:{{shortcut}},标准的快捷方式消息。
- 模板链接:{{shortcut-l}} 对于向左对齐的快捷方式消息。
- 模板链接:{{policy shortcut}} 用于方针页面章节的快捷方式。