Template:Get Element Types
This template only serves to find all element types for a given page. It is called with only one parameter:
{{Get Element Types|page=}}
After calling this template, there exist two arrays (using extension ArrayExtension):
- Array "Cats", containing all categories that page is a member of (with a comma as delimiter)
- Array "ElementTypes", containing the types of element that the page is a member of (stripped of the prefix "Element type" and with a comma as delimiter)
Thus, if page EL.Example is a member of categories FooBar, Element type foo, Element type bar, then
Cats=FooBar, Element type foo, Element type bar
ElementTypes=foo, bar