Шаблон:Arrays: различия между версиями

Материал из Викимультии — энциклопедии мультипликации
Перейти к навигации Перейти к поиску
[непроверенная версия][отпатрулированная версия]
Нет описания правки
 
Нет описания правки
 
Строка 15: Строка 15:
:RemoveAll: Removes and then returns all elements in a second array (SubInfo) from the first array.
:RemoveAll: Removes and then returns all elements in a second array (SubInfo) from the first array.
:ItemCnt: Returns the number of times an item is in an array.
:ItemCnt: Returns the number of times an item is in an array.
[[Категория:Шаблоны:Аниме:Наруто]]{{doc-end}}</noinclude>
[[Категория:Шаблоны:Наруто]]{{doc-end}}</noinclude>

Текущая версия от 21:13, 18 февраля 2020

(i) Документация

{{Arrays|<Array>|<SubInfo>|action=<Action Name>|delim=<Custom Delimiter>}}

Action Names are
Length: Returns the number of items in the array.
Get: Returns value in (SubInfo) index of array.
RemoveAll: Removes and then returns all elements in a second array (SubInfo) from the first array.
ItemCnt: Returns the number of times an item is in an array.