Difference between revisions of "Template:LSL Function/list/element"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
{{#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:{{{3|}}}|<br/> | If '''{{{2|none}}}''' describes a location not in '''{{{1|none}}}''' then {{{return|}}} is returned.{{#if:{{{3|}}}|<br/> | ||
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}}}}}} | {{#if:{{{nc|}}} | ||
|If the type of the element at '''{{{2|none}}}''' in '''{{{1|none}}}''' is not a [[{{{3|}}}{{#var:lang}}|{{{3|}}}]] then {{{return|}}} is returned. <br/> In this case use: ([[{{{3|}}}{{#var:lang}}|{{{3|}}}]])[[llList2String{{#var:lang}}|llList2String]](src, index); | |||
|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> |