This template 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.
Remember that you can conduct experiments, and should test all improvements, in either 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 සංස්කරණය


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:Do_list/doc&oldid=620256" වෙතින් සම්ප්‍රවේශනය කෙරිණි