For faster navigation, this Iframe is preloading the Wikiwand page for 模板:Flatlist.

模板:Flatlist

文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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]]
))
  1. first
  2. second
  3. third
  4. fourth
  5. fifth
  6. sixth

注意

  • |class= - 添加一个CSS样式包含的div。
  • |style= - 添加CSS样式选项。复杂的风格不应该被用在文章,但可能是可接受的用户,项目,讨论页。
例如:|style=border:solid 1px silver; background:lightyellow
  • |indent= - 缩进一个标准的缩进,特别是对列入在缩进讨论线程方便的列表。
例如:|indent=2

参见

{{bottomLinkPreText}} {{bottomLinkText}}
模板:Flatlist
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?