User:Philmasterplus/TemplateSandbox

From Kolmafia
Jump to navigation Jump to search


Utility template that extracts a field from a specially formatted page.

Template parameters

ParameterDescriptionTypeStatus
Page name1

Name of the source page to extract the data from. The source page is evaluated as a #switch-statement.

Example
visit_url
Pagerequired
Field name2

Field name to extract from the source page.

Example
function1.parameter1
Linerequired
Default value3

Default value if the page does not contain the given field

Example
no_name
Stringoptional

This template is similar to Template:Data in the KoL Coldfront Wiki.