ଛାଞ୍ଚ:Do list
This ଛାଞ୍ଚ employs intricate features of template syntax.
You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. You can conduct experiments, and should test all major changes, in either this template's sandbox, the general template sandbox, or your user space before changing anything here. |
Usage
ସମ୍ପାଦନାThis template creates formatted inline lists, with an option for arbitrary delimiters. List items are only wrapped immediately after bullets. To force a line wrap, add {{wrap}} in the text at an appropriate place.
Currently, the template supports 50 entries. Place a request on the talk page if more are needed.
Examples
ସମ୍ପାଦନାCode | Result | |
---|---|---|
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 |
note that for some potential delimiters - vertical pipes or equals signs, for instance - the HTML character entity should be used instead of the actual character, otherwise the template will not behave as expected.
See also
ସମ୍ପାଦନା- {{flatlist}}
- {{multi-column numbered list}}
- {{pagelist}}