Template:Tabstop/doc
Jump to navigation
Jump to search
With this template you can create text and lists with tabstops.
Use of this template
[edit]Param 1
[edit]The first param specify the number of tabstops. The use of the following parameters thereto depends on this number.
Param | Description | Value | Default |
---|---|---|---|
No. 1 | Number of tabstops | 1, 2 or 3 | 1 |
One tabstop
[edit]Param | Description | Value | Default |
---|---|---|---|
No. 2 | Position of tabstop | Number | Length of longest word |
No. 3 | Length of the second entries | Number | No limit |
No. 4 | Text starting from the left side | Text | Empty |
No. 5 | Text starting at the tabstop | Text | Empty |
... | Texts of the following rows | Text | Empty |
Two tabstops
[edit]Param | Description | Value | Default |
---|---|---|---|
No. 2 | Position of tabstop 1 | Number | Length of longest word |
No. 3 | Position of tabstop 2 | Number | Length of longest word |
No. 4 | Length of the second entries | Number | No limit |
No. 5 | Text starting from the left side | Text | Empty |
No. 6 | Text starting at tabstop 1 | Text | Empty |
No. 7 | Text starting at tabstop 2 | Text | Empty |
... | Texts of the following rows | Text | Empty |
Three tabstops
[edit]Param | Description | Value | Default |
---|---|---|---|
No. 2 | Position of tabstop 1 | Number | Length of longest word |
No. 3 | Position of tabstop 2 | Number | Length of longest word |
No. 4 | Position of tabstop 3 | Number | Length of longest word |
No. 5 | Length of the second entries | Number | No limit |
No. 6 | Text starting from the left side | Text | Empty |
No. 7 | Text starting at tabstop 1 | Text | Empty |
No. 8 | Text starting at tabstop 2 | Text | Empty |
No. 9 | Text starting at tabstop 3 | Text | Empty |
... | Texts of the following rows | Text | Empty |
Examples
[edit]Copy template | Result | ||||
---|---|---|---|---|---|
{{Tabstop |||
| *This is a text: | good day
| *This is a text too: | sunday
}}
|
| ||||
{{Tabstop | 1 | 150 |
| *This is a text: | good day
| *This is a text too: | sunday
}}
|
| ||||
{{subst:Tabstop | 1 | 150 |
| *This is a text: | good day
| *This is a text too: | sunday
}}
|
|
For frequently used articles you should use the template with the prefix subst: according to the example 3.