Template:vl
{{v|numbers |link (optional)}}
Used to refer to the items in numbered lists, e.g. to specific overload, etc. This is required in order to JavaScript-based standard-versioning to work.
numbers can respresent one or more overload numbers, multiple numbers are separated by comma, and three or more consecutive numbers can be represented by combining the start and end numbers with hyphen, see the examples below.
An optional parameter link is used to generate a link "Version_XX", where XX is links value. This is useful to link to Synopsis' entities and works fine together with {{dcla}} and {{dcl rev multi}}, that are able to generate underlying anchors with names "Version_XX".
Examples:
- {{v|1}} results in (1)
- {{v|1,3}} results in (1,3)
- {{v|2-4}} results in (2-4)
- {{v|1,3|1}} results in (1,3)
- {{v|1-3|42}} results in (1-3)
{{vl|numbers }}
Same as {{v}}, except that the link is automatically generated from the first number in numbers.
Examples:
The above documentation is transcluded from Template:v/doc. (edit | history) Subpages of this template. |