Template:eli
From cppreference.com
This is one of the family of templates used for creation of an External links list. Each of such list contains one or more links to external web resources and is usually held by the last section (if any) on a page. Put together, these templates internally create a wiki-table.
{{elink begin}}
- Starts the External links list. Used in these pages.
{{elink|1=text-with-link}}
- Adds an item to the list. Each element is preceded by an increasing enumeration number. Used in these pages.
- Note that the num parameter, which was used to list entries, has been deprecated (ignored). The enumeration occurs automatically by incrementing the internal variable
eli_counter
.
{{elink end}}
- Ends the External links list. Used in these pages.
{{eli|text-with-link}}
- A "one-liner" form that combines the three above: {{elink begin}}+{{elink|text-with-link}}+{{elink end}}. Used in these pages.
[edit] Examples
The sequence
{{elink begin}} {{elink|{{enwiki|Scale parameter}}. From Wikipedia.}} {{elink|{{enwiki|Location parameter}}. From Wikipedia.}} {{elink end}}
results in:
1. | Scale parameter. From Wikipedia. |
2. | Location parameter. From Wikipedia. |
The sequence
{{eli|{{enwiki|Riemann zeta function}}. From Wikipedia.}}
results in:
Riemann zeta function. From Wikipedia. |
The above documentation is transcluded from Template:elink/doc. (edit | history) Subpages of this template. |