Template:Do list
外观
Usage
[编辑]此模板一般用于连名单,以分隔符区分各参数,它不产生Html列表标记,只使用嵌套列表,否则,请使用{{Flatlist}}。
目前,此模板支持50项参数。
Examples
[编辑]| 代码 | 结果 | |
|---|---|---|
| Basic form | {{do list
| Alpha | Beta | Gamma | Delta | Epsilon
| Zeta | Eta | Theta | Iota | Kappa | Lambda
| Mu | Nu | Xi | Omicron | Pi | Rho | Sigma
| Tau | Upsilon | Phi | Chi | Psi | Omega }}
|
Alpha ‧ Beta ‧ Gamma ‧ Delta ‧ Epsilon ‧ Zeta ‧ Eta ‧ Theta ‧ Iota ‧ Kappa ‧ Lambda ‧ Mu ‧ Nu ‧ Xi ‧ Omicron ‧ Pi ‧ Rho ‧ Sigma ‧ Tau ‧ Upsilon ‧ Phi ‧ Chi ‧ Psi ‧ Omega |
| Dash separated | {{do list | delim = -
| Alpha | Beta | Gamma | Delta | Epsilon
| Zeta | Eta | Theta | Iota | Kappa | Lambda
| Mu | Nu | Xi | Omicron | Pi | Rho | Sigma
| Tau | Upsilon | Phi | Chi | Psi | Omega }}
|
Alpha - Beta - Gamma - Delta - Epsilon - Zeta - Eta - Theta - Iota - Kappa - Lambda - Mu - Nu - Xi - Omicron - Pi - Rho - Sigma - Tau - Upsilon - Phi - Chi - Psi - Omega |
| double-bar separated | {{do list | delim = ||
| Alpha | Beta | Gamma | Delta | Epsilon
| Zeta | Eta | Theta | Iota | Kappa | Lambda
| Mu | Nu | Xi | Omicron | Pi | Rho | Sigma
| Tau | Upsilon | Phi | Chi | Psi | Omega }}
|
Alpha || Beta || Gamma || Delta || Epsilon || Zeta || Eta || Theta || Iota || Kappa || Lambda || Mu || Nu || Xi || Omicron || Pi || Rho || Sigma || Tau || Upsilon || Phi || Chi || Psi || Omega |
| Space separated: | {{do list | delim =
| Alpha | Beta | Gamma | Delta | Epsilon
| Zeta | Eta | Theta | Iota | Kappa | Lambda
| Mu | Nu | Xi | Omicron | Pi | Rho | Sigma
| Tau | Upsilon | Phi | Chi | Psi | Omega }}
|
Alpha Beta Gamma Delta Epsilon Zeta Eta Theta Iota Kappa Lambda Mu Nu Xi Omicron Pi Rho Sigma Tau Upsilon Phi Chi Psi Omega |
| Longer phrases (no wrap): | {{do list
| All's well that ends well
| Do unto others as you would have them do unto you
| All the world's a stage
| No pain, no gain
| Six to one, half dozen the other
| A stitch in time saves nine
| One fish, two fish, red fish, blue fish }}
|
All's well that ends well ‧ Do unto others as you would have them do unto you ‧ All the world's a stage ‧ No pain, no gain ‧ Six to one, half dozen the other ‧ A stitch in time saves nine ‧ One fish, two fish, red fish, blue fish |
| Longer phrases (forced wrap in second phrase): | {{do list
| All's well that ends well
| Do unto others {{wrap}}as you would have them do unto you
| All the world's a stage
| No pain, no gain
| Six to one, half dozen the other
| A Journey of a thousand miles begins with
| A stitch in time saves nine
| One fish, two fish, red fish, blue fish }}
|
All's well that ends well ‧ Do unto others as you would have them do unto you ‧ All the world's a stage ‧ No pain, no gain ‧ Six to one, half dozen the other ‧ A stitch in time saves nine ‧ One fish, two fish, red fish, blue fish |
注意一些潜在的分隔符、垂直竖线、垂直双竖线等符号。
参见
[编辑]- {{Unbulleted list}}
- {{flatlist}}
- {{multi-column numbered list}}
- {{pagelist}}