跳至內容

模板:Template shortcut/doc

本頁使用了標題或全文手工轉換
維基百科,自由的百科全書

用法

[編輯]

本模板能夠在模板的說明頁中顯示模板的捷徑。

範例

[編輯]

基本

[編輯]

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}} {{Sh}}
{{Shortcut compact}} {{Hsh}}
 捷徑: WP:THIS 
{{Shortcut-small}} {{Shc-s}}
{{Shortcut mini}} {{Msh}}
WP:THISWP:THIS 📌
{{Template shortcut}} {{Tsh}}
{{Template redirect}} {{Tlr}}
{{Short URL box}} {{Urlb}}