Usage
{{Flatlist}} 顯示一個平行列表,例如:
此模板不帶{{endflatlist}}。
導航使用 {{navbox}},也可以使用 |listclass=hlist
,但是不使用此模板。
示例
{{flatlist |
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
}}
- Alternative syntax
{{flatlist}}
* [[cat]]
* [[dog]]
* [[horse]]
* [[cow]]
* [[sheep]]
* [[pig]]
{{endflatlist}}
- Syntax for ordered lists
{{flatlist | class=hnum |
# [[first]]
# [[second]]
# [[third]]
# [[fourth]]
# [[fifth]]
# [[sixth]]
}}
注意
|class=
- 添加一個CSS樣式包含的div。
|style=
- 添加CSS樣式選項。複雜的風格不應該被用在文章,但可能是可接受的用戶,項目,討論頁。
- 例如:
|style=border:solid 1px silver; background:lightyellow
|indent=
- 縮進一個標準的縮進,特別是對列入在縮進討論線程方便的列表。
- 例如:
|indent=2
參見
|
---|
| 通用 | |
---|
政府和政治 | |
---|
軍事 | |
---|
宗教 | |
---|
社會 | |
---|
一般非牟利 | |
---|
商業 | |
---|
體育 | |
---|
職務銜級 | |
---|
子模板 | |
---|
|
|