Module:Util/pages/dpl/Documentation: Difference between revisions

From Zelda Wiki, the Zelda encyclopedia
< Module:Util‎ | pages‎ | dpl
Jump to navigation Jump to search
(Created page with "{{#invoke:Documentation|Module}}")
 
m (PhantomCaleb moved page Module:Util/page/dpl/Documentation to Module:Util/pages/dpl/Documentation without leaving a redirect)
 
(No difference)

Latest revision as of 17:36, 5 May 2024

dpl(args)

This function is wrapper for the DPL parser function.

When constructing queries, keep in mind DPL's configured limits.

  • A single query can return no more than 500 results. (maxResultCount)
  • A single query using category selection may contain no more than 4 categories. (maxCategoryCount)

Returns

  • Array of results.

Examples

#InputOutputResult
1
dpl({
  namespace = "Category",
  titlematch = "Link|Zelda",
})
{"Category:Link", "Category:Zelda"}
Green check.svg
Repeating arguments
2
dpl({
  category = "Lynels",
  notcategory = {
    "Sub-Bosses",
    "Enemies in Hyrule Warriors: Age of Calamity",
  },
})
{"Blue Lynel", "Red Lynel"}
Green check.svg