Open main menu

UESPWiki β

Template:Save Named Values

SummaryEdit

Allows the saving of several named values to the database using the MetaTemplate Data Sharing #save function.

ParametersEdit

Save Named Values
Parameter Scope Description
(unnamed) required Each set of two parameters represents one name/value pair, with the first parameter being the name and the second the value.
subset optional If specified, all values will be saved to the named subset. (Inherited)

ExamplesEdit

One ValueEdit

{{Save Named Values
|MyVariable|MyValue
}}

Creates a variable in the database called MyVariable with a value of MyValue.

Several ValuesEdit

{{Save Named Values
|foo|bar
|Fred|Wilma
|Barney|Betty
}}

Creates three variables in the database called foo, Fred and Barney with values of bar, Wilma, and Betty respectively.