item1
|
item2
|
item3
|
item4
|
...
|
| This template uses Lua: |
This template creates an horizontal list of items enclosed within borders (only top and bottom borders by default). It is intended to depict a deque in computer science articles (or any linear data structure). The borders are defined with table CSS.
Example:
{{tubelist|A|B|C|D}}
A
|
B
|
C
|
D
|
Unnamed parameters define the items of the list. The 1st one must not start with a ">".
Example:
{| {{tubelist|table}}
! First
| {{tubelist|>|A|B|C|D}}
|-
! Second
| {{tubelist|>>>|C|D|E|right=yes|left=yes|style=dotted|color=red|span=i|width=2px}}
|-
! Third
| {{tubelist|>>|B|C|D|right=yes|left=yes|style=dashed|color=green|span=b}}
|}
The list is supposed to be included in a table (wikitable). When two or more tubelists are defined in successive rows, the items are in the same columns. The list is shifted to the right, based on the length of the 1st unnamed parameter, that must start with a ">",
>…tstylespacingmarging of table in stand-alone mode. Default to 2px.hspacingborder-spacing in stand-alone mode, i.e. spacing between cells. Default to 0.styleborder-style of the tube. Default to solid.colorborder-color of the tube. Default to blue.leftyes.rightyes.bgcolorbackground-color of each cell.widthradiusspancodeInformasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.