文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

此模板一般用於連名單,以分隔符區分各參數,它不產生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

注意一些潛在的分隔符、垂直豎線、垂直雙豎線等符號。

參見

編輯