 | 此模板的文档不存在、不全面或不能详细描述其功能及/或其代码中的参数。请帮助扩充并改进其文档。 |
用法
本模板能夠在模板的說明頁中顯示模板的-{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}}
重定向
參見
- {{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}} |
- 項目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| | | }} |
|
參見
HTML列表 |
|---|
| | | | 水平 | |
|---|
| | 無序、有序 | |
|---|
| | 無項目符號 |
| 模板:Monospace
|
|
模板:Monospace
|
|
模板:Monospace (定義列表、描述、關聯)
|
|
{{-{}-unbulleted list |例子1 |例子2 |...}}
|
{{-{}-plainlist| * 例子1 * 例子2 * ... }}
|
{{-{}-glossary}}
{{-{}-term|字詞1}} {{-{}-defn|定義1}}
{{term|字詞2}} {{defn|定義2}}
{{term|...}} {{defn|....}}
{{-{}-glossary end}}
|
|
模板介紹
產生一個沒有項目符號的列表。
使用方法
{{Plainlist}} starts a plain, or unbulleted, list, such as:
偵測到模板迴圈:模板:Plainlist
It uses proper HTML list markup, which is more standards-compliant and more accessible then separating list items with <br />.
This template can be used with or without {{endplainlist}}. It is intended to replace {{Unbulleted list}}, which performs the same function, but in a more cumbersome manner.
範例
{{plainlist |
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
}}
偵測到模板迴圈:模板:Plainlist
- Alternative syntax
{{plainlist}}
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
{{endplainlist}}
偵測到模板迴圈:模板:Plainlist
- indent – indents the list by a number of standard indents (one indent being 1.6em), particularly handy for inclusion in an indented discussion thread.
- Example:
|indent=2
- style – adds CSS style options. Complex styles should not be used in articles (per wp:deviations) but may be acceptable on user, project, and talk pages.
- Example:
|style=border:solid 1px silver; background:lightyellow
注意事项
重定向
參見
偵測到模板迴圈:模板:HTML lists
|
|---|
| | | | 通用 | |
|---|
| 政府和政治 | |
|---|
| | 軍事 | |
|---|
| | 宗教 | |
|---|
| | 社會 | |
|---|
| | 文教 | |
|---|
| | 商業 | |
|---|
| | 体育 | |
|---|
| | 职务衔级 | |
|---|
| | 子模板 | |
|---|
| |
|
|
模板:Glossary
模板:Term 模板:Defn
模板:Term 模板:Defn
模板:Term 模板:Defn
模板:Glossary end
| |
|---|
| | 其他 | |
|---|
| |
|
|
|---|
| | | | 通用 | |
|---|
| 政府和政治 | |
|---|
| | 軍事 | |
|---|
| | 宗教 | |
|---|
| | 社會 | |
|---|
| | 文教 | |
|---|
| | 商業 | |
|---|
| | 体育 | |
|---|
| | 职务衔级 | |
|---|
| | 子模板 | |
|---|
| |
|