模板:Ublist
| 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
用法
本模板能夠在模板的說明頁中顯示模板的-{zh-hans:快捷方式; zh-hant:捷徑;}-。
範例
基本
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}}, the standard shortcut notice.
- {{shortcut-l}} for a left-aligned standard shortcut notice.
- {{policy shortcut}} for shortcuts to sections of policy pages.
模板:Stack 這個模板是用來建立無項目符號的列表。每個項目可以有獨立的樣式;使用參數item_style1來設定第一個項目的樣式,item_style2設定第二個項目的樣式,以此類推。
用法
{{Unbulleted list|項目1|項目2|項目3}}{{Unbulleted list|項目1|項目2|項目3|item1_style=css-style-a;css-style-b;|item3_style=css-style-x;css-style-y;|item_style=}}
範例
| 代碼 | 結果 |
|---|---|
{{Unbulleted list|項目1|項目2|項目3|項目4|項目5|項目6|項目7|項目8|項目9}} |
|
{{Unbulleted list|冠軍|亞軍|季軍|item_style=color:blue;}} |
|
{{Unbulleted list|冠軍|亞軍|季軍|item1_style=background-color:yellow;|item2_style=background-color:silver;}} |
|
{{Unbulleted list| |項目2|項目3}} |
|
{{Unbulleted list|項目1| |項目3}} |
|
{{Unbulleted list|項目1|項目2| }} |
|
{{Unbulleted list|項目1| | }} |
|
{{Unbulleted list| |項目2| }} |
|
{{Unbulleted list| | |項目3}} |
|
{{Unbulleted list| | | }} |
參見
- {{nowrap begin}}/{{nowrap end}}
- {{plainlist}}
- {{multi-column numbered list}}
- {{pagelist}}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 上述文件嵌入自模板:Ublist/doc。 (編輯 | 歷史) 编者可以在本模板的沙盒 (建立 | 镜像)和测试样例 (建立)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |