Data query/doc


This template allows retrieving data from a data storage template. In conjunction with module Counter, more complex queries can be made.


The are currently no plain data templates left, as they have been converted into modules.

  • {{<template name>|Data query|<parameter name>}}
Advanced Examples
  • This code outputs the number of data entries that are separated by comma in the data template.
    • {{#expr:{{#invoke:counter|counter|{{<template name>|Data query|<parameter name>}}|,}}+1}}
  • This code outputs only the last entry in the data template.
    • {{#explode:{{<template name>|Data query|<parameter name>}}|,|{{#invoke:counter|counter|{{<template name>|Data query|<parameter name>}}|,}}}}

See also

Community content is available under CC-BY-SA unless otherwise noted.