Module:Term List/Documentation

From Zelda Wiki, the Zelda encyclopedia
Jump to navigation Jump to search

This is the documentation page for Module:Term List

This is the main module for the following templates:

In addition, this module exports the following functions.

termList

termList(game, pages, [options])

Parameters

Returns

  • A list the same size as pages with Module:Term#printTerm applied to each page.
  • A list the same size as pages with Module:Term#fetchTerm applied to each page. The page name is returned as-is if it stores no terms.

Examples

#InputOutputResultStatus
Link's relatives
1
termList(
  "TWWHD",
  {
    "Link's Grandma",
    "Aryll <small>(little sister)</small>",
  },
  { link = true }
)
{
  "[[Link's Grandma#The Wind Waker|Grandma]]",
  "[[Aryll#The Wind Waker|Aryll]] <small>(little sister)</small>",
}
table
Green check.svg
{"Grandma", "Aryll"}
table
Green check.svg