Module wikitrek-DTSem

Take parameters out of the frame and pass them to p._buildUniversalIncipit().

Return the result.

Functions

p.GenericFromDT (Item, Property) Generic value parser from arbitrary Item and Property Return the result.
p.SeasonsQty (ShortName) Function to calculate the number of seasons of a series
p.RecurringListFromCategory (frame) Function to extract recurring characters and list them
p.RecurringListFull (frame) Function to extract recurring characters from all pages and list them
p.RecurringList (Pages, Series[, MinOccurr=1]) Helper to extract recurring characters and list them


Functions

p.GenericFromDT (Item, Property)
Generic value parser from arbitrary Item and Property Return the result.

Parameters:

  • Item } The Entity
  • Property } String containing the property identifier and number

Returns:

    {string} Value of the mainsnak
p.SeasonsQty (ShortName)
Function to calculate the number of seasons of a series

Parameters:

  • ShortName The short name of the series as in P24

Returns:

    Integer Number of seasons
p.RecurringListFromCategory (frame)
Function to extract recurring characters and list them

Parameters:

  • frame Context from MediaWiki

Returns:

    String Bullet list of characters and episodes
p.RecurringListFull (frame)
Function to extract recurring characters from all pages and list them

Parameters:

  • frame Context from MediaWiki

Returns:

    String Bullet list of characters and episodes
p.RecurringList (Pages, Series[, MinOccurr=1])
Helper to extract recurring characters and list them

Parameters:

  • Pages Table containing characters' pages names
  • Series String with name of the Series
  • MinOccurr Integer with minimum value of occurencies (default 1)

Returns:

    String Bullet list of characters and episodes
generated by LDoc 1.0 Last updated 2025-03-21 22:04:18