Difference between revisions of "Template:LSL Function/list/element"
Jump to navigation
Jump to search
m (New page: {{#if: {{#vardefine:p_{{{1|none}}}_desc|List containing the element of interest.}} {{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}} }}<includeonly>{{LSLC|List/Read Elem...) |
|||
Line 1: | Line 1: | ||
{{#if: | {{LSL_Function/negative index|true|{{{2|none}}}}}{{#if: | ||
{{#vardefine:p_{{{1|none}}}_desc|List containing the element of interest.}} | {{#vardefine:p_{{{1|none}}}_desc|List containing the element of interest.}} | ||
{{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}} | {{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}} | ||
{{#vardefine:{{#if:{{{3|}}}|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}} | |||
If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{3|}}} is returned.|{{#var:header_footnote}}}}}} | |||
}}<includeonly>{{LSLC|List/Read Element}}</includeonly> | }}<includeonly>{{LSLC|List/Read Element}}</includeonly> |