Module:Data/doc

Description
This module is used to set and get data from data modules.

set
Makes the parameter accessable.

Either by calling a template e.g. Infobox Or by calling a function Or by querying direclty, using it without parameter will return all values (mostly used by function get) image=Serenity_Stone.png armor=100

get
Or use the get function image=Serenity_Stone.png armor=100

swap
Used to swap parameters from a source template, through a swap template and calls the function set afterward.

Currently used for pet stones, they have the same values for different attributes.

loop
Calls the template with a list of given parameter from the parent frame, see loop

transfer
Transfers all parent parameters and the given local parameter to the target template.

concat
Concats all numerical, not empty, parent parameter with sep.

list
Loops through the parent parameters and concats them by sep

match
Should be called through the set function, it will go through the local parameter to find a matching case and calls the given template

log
Prints the first local parameter