Template:Template shortcut/doc
外观
| 此頁面是Template:Template shortcut的模板文档。 此頁面可能包含了模板的使用說明、分類和其他内容。 |
| 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
用法
[编辑]本模板能夠在模板的說明頁中顯示模板的快捷方式。
範例
[编辑]基本
[编辑]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}}
重定向
[编辑]- {{tsh}}
參見
[编辑]| 模版 | 捷径 | 效果 |
|---|---|---|
| {{Shortcut}} | {{Sh}}
|
|
| {{Shortcut compact}} | {{Hsh}}
|
|
| {{Shortcut-small}} | {{Shc-s}}
|
|
| {{Shortcut mini}} | {{Msh}}
|
WP:THIS 📌 |
| {{Template shortcut}} | {{Tsh}}
|
|
| {{Template redirect}} | {{Tlr}}
|
|
| {{Short URL box}} | {{Urlb}}
|
- {{Anchor}} – 创建HTML锚点以供链接
- {{Visible anchor}} – 像这样凸显关联文字
- {{Section link}} – 指向锚点或章节的链接
- 重定向分类模版