Difference between revisions of "Template:LSL Function/list/element"
Jump to navigation
Jump to search
m |
|||
Line 3: | Line 3: | ||
{{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}} | {{#vardefine:p_{{{2|none}}}_desc|Index of the element of interest.}} | ||
{{#vardefine:header_footnote|{{#if:{{{return|}}}|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}} | {{#vardefine:header_footnote|{{#if:{{{return|}}}|{{#if:{{#var:header_footnote}}|{{#var:header_footnote}}<br/>}} | ||
If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned. | If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.{{#if:{{{3|}}}|<br/> | ||
{{#if:{{{3|}}}|<br/>If the element at | If the type of the element at '''{{{2|none}}}''' in '''{{{1|none}}}''' is not a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] it is [[typecast]] to a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]]. If it cannot be typecast {{{return|}}} is returned.}}|{{#var:header_footnote}}}}}} | ||
}}<includeonly>{{LSLC|List/Read Element{{#var:lang}}}}</includeonly> | }}<includeonly>{{LSLC|List/Read Element{{#var:lang}}}}</includeonly> |