Module wikitrek-DTFunzioniComuni
Function to convert ISO code to language name in Italian
Functions
p.PropertiesOnTree (Property, Depth, Aggregate[, SkipItem=false[, ForceString=false]]) | Return a specific Property from Item and/or Instance and/or Instance of Instance. |
p.CategoryTree (Frame) | Build and return the list of categories for a specific page |
Functions
- p.PropertiesOnTree (Property, Depth, Aggregate[, SkipItem=false[, ForceString=false]])
-
Return a specific Property from Item and/or Instance and/or
Instance of Instance.
Return the single or multiple values of the Property
Parameters:
- Property The property whose values are returned
- Depth How far to go on the tree: 1 - item only, 2 - item and Instance, 3 - item, Instance and Instance of Instance
- Aggregate Wether to aggregate results or return upon first match
- SkipItem Don't return value for current item, return Instance and Instance of Instance only (default false)
- ForceString Force to return string even in case of Page that should return link (default false)
Returns:
-
Table with single value or array of values
- p.CategoryTree (Frame)
-
Build and return the list of categories for a specific page
Parameters:
- Frame } Info from MW session
Returns:
-
{string} List of properties in Wikitext