local export = {}
export.data = {
[1] = {{mood = 'infinitive'}},
[2] = {{mood = 'gerund'}},
[3] = {{mood = 'past participle', gender = 'm', number = 's'}},
[4] = {{mood = 'past participle', gender = 'f', number = 's'}},
[5] = {{mood = 'past participle', gender = 'm', number = 'p'}},
[6] = {{mood = 'past participle', gender = 'f', number = 'p'}},
[7] = {{mood = 'indicative', tense = 'present', pers = 1, number = 's'}},
[8] = {{mood = 'indicative', tense = 'present', pers = 2, number = 's', formal = 'n'}},
[9] = {{mood = 'indicative', tense = 'present', pers = 2, number = 's', formal = 'n', voseo = 'y', region = 'Latin America'}},
[10] = {{mood = 'indicative', tense = 'present', pers = 2, number = 's', formal = 'y'},
{mood = 'indicative', tense = 'present', pers = 3, number = 's'}},
[11] = {{mood = 'indicative', tense = 'present', pers = 1, number = 'p'}},
[12] = {{mood = 'indicative', tense = 'present', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[13] = {{mood = 'indicative', tense = 'present', pers = 2, number = 'p', formal = 'y'},
{mood = 'indicative', tense = 'present', pers = 3, number = 'p'}},
[14] = {{mood = 'indicative', tense = 'imperfect', pers = 1, number = 's'}},
[15] = {{mood = 'indicative', tense = 'imperfect', pers = 2, number = 's', formal = 'n'}},
[16] = {{mood = 'indicative', tense = 'imperfect', pers = 2, number = 's', formal = 'y'},
{mood = 'indicative', tense = 'imperfect', pers = 3, number = 's'}},
[17] = {{mood = 'indicative', tense = 'imperfect', pers = 1, number = 'p'}},
[18] = {{mood = 'indicative', tense = 'imperfect', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[19] = {{mood = 'indicative', tense = 'imperfect', pers = 2, number = 'p', formal = 'y'},
{mood = 'indicative', tense = 'imperfect', pers = 3, number = 'p'}},
[20] = {{mood = 'indicative', tense = 'preterite', pers = 1, number = 's'}},
[21] = {{mood = 'indicative', tense = 'preterite', pers = 2, number = 's', formal = 'n'}},
[22] = {{mood = 'indicative', tense = 'preterite', pers = 2, number = 's', formal = 'y'},
{mood = 'indicative', tense = 'preterite', pers = 3, number = 's'}},
[23] = {{mood = 'indicative', tense = 'preterite', pers = 1, number = 'p'}},
[24] = {{mood = 'indicative', tense = 'preterite', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[25] = {{mood = 'indicative', tense = 'preterite', pers = 2, number = 'p', formal = 'y'},
{mood = 'indicative', tense = 'preterite', pers = 3, number = 'p'}},
[26] = {{mood = 'indicative', tense = 'future', pers = 1, number = 's'}},
[27] = {{mood = 'indicative', tense = 'future', pers = 2, number = 's', formal = 'n'}},
[28] = {{mood = 'indicative', tense = 'future', pers = 2, number = 's', formal = 'y'},
{mood = 'indicative', tense = 'future', pers = 3, number = 's'}},
[29] = {{mood = 'indicative', tense = 'future', pers = 1, number = 'p'}},
[30] = {{mood = 'indicative', tense = 'future', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[31] = {{mood = 'indicative', tense = 'future', pers = 2, number = 'p', formal = 'y'},
{mood = 'indicative', tense = 'future', pers = 3, number = 'p'}},
[32] = {{mood = 'indicative', tense = 'conditional', pers = 1, number = 's'}},
[33] = {{mood = 'indicative', tense = 'conditional', pers = 2, number = 's', formal = 'n'}},
[34] = {{mood = 'indicative', tense = 'conditional', pers = 2, number = 's', formal = 'y'},
{mood = 'indicative', tense = 'conditional', pers = 3, number = 's'}},
[35] = {{mood = 'indicative', tense = 'conditional', pers = 1, number = 'p'}},
[36] = {{mood = 'indicative', tense = 'conditional', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[37] = {{mood = 'indicative', tense = 'conditional', pers = 2, number = 'p', formal = 'y'},
{mood = 'indicative', tense = 'conditional', pers = 3, number = 'p'}},
[38] = {{mood = 'subjunctive', tense = 'present', pers = 1, number = 's'}},
[39] = {{mood = 'subjunctive', tense = 'present', pers = 2, number = 's', formal = 'n'}},
[40] = {{mood = 'subjunctive', tense = 'present', pers = 2, number = 's', formal = 'n', voseo = 'y', region = 'Latin America'}},
[41] = {{mood = 'subjunctive', tense = 'present', pers = 2, number = 's', formal = 'y'},
{mood = 'subjunctive', tense = 'present', pers = 3, number = 's'}},
[42] = {{mood = 'subjunctive', tense = 'present', pers = 1, number = 'p'}},
[43] = {{mood = 'subjunctive', tense = 'present', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[44] = {{mood = 'subjunctive', tense = 'present', pers = 2, number = 'p', formal = 'y'},
{mood = 'subjunctive', tense = 'present', pers = 3, number = 'p'}},
[45] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 1, number = 's'}},
[46] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 2, number = 's', formal = 'n'}},
[47] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 2, number = 's', formal = 'y'},
{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 3, number = 's'}},
[48] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 1, number = 'p'}},
[49] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[50] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 2, number = 'p', formal = 'y'},
{mood = 'subjunctive', tense = 'imperfect', sera = 'ra', pers = 3, number = 'p'}},
[51] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 1, number = 's'}},
[52] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 2, number = 's', formal = 'n'}},
[53] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 2, number = 's', formal = 'y'},
{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 3, number = 's'}},
[54] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 1, number = 'p'}},
[55] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[56] = {{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 2, number = 'p', formal = 'y'},
{mood = 'subjunctive', tense = 'imperfect', sera = 'se', pers = 3, number = 'p'}},
[57] = {{mood = 'subjunctive', tense = 'future', pers = 1, number = 's'}},
[58] = {{mood = 'subjunctive', tense = 'future', pers = 2, number = 's', formal = 'n'}},
[59] = {{mood = 'subjunctive', tense = 'future', pers = 2, number = 's', formal = 'y'},
{mood = 'subjunctive', tense = 'future', pers = 3, number = 's'}},
[60] = {{mood = 'subjunctive', tense = 'future', pers = 1, number = 'p'}},
[61] = {{mood = 'subjunctive', tense = 'future', pers = 2, number = 'p', formal = 'n', region = 'Spain'}},
[62] = {{mood = 'subjunctive', tense = 'future', pers = 2, number = 'p', formal = 'y'},
{mood = 'subjunctive', tense = 'future', pers = 3, number = 'p'}},
[63] = {{mood = 'imperative', sense = 'affirmative', pers = 2, formal = 'n', number = 's'}},
[64] = {{mood = 'imperative', sense = 'affirmative', pers = 2, voseo = 'y', formal = 'n', number = 's', region = 'Latin America'}},
[65] = {{mood = 'imperative', sense = 'affirmative', pers = 2, formal = 'y', number = 's'}},
[66] = {{mood = 'imperative', sense = 'affirmative', pers = 1, number = 'p'}},
[67] = {{mood = 'imperative', sense = 'affirmative', pers = 2, formal = 'n', number = 'p', region = 'Spain'}},
[68] = {{mood = 'imperative', sense = 'affirmative', pers = 2, formal = 'y', number = 'p'}},
[69] = {{mood = 'imperative', sense = 'negative', pers = 2, formal = 'n', number = 's'}},
[70] = {},
[71] = {{mood = 'imperative', sense = 'negative', pers = 1, number = 'p'}},
[72] = {{mood = 'imperative', sense = 'negative', pers = 2, formal = 'n', number = 'p', region = 'Spain'}},
[73] = {}
}
function export.make_template(form_param_table, ending, infinitive)
local result = {'{{es-verb form of|'..infinitive}
table.insert(result, 'ending='..ending)
if form_param_table.mood then
table.insert(result, 'mood='..form_param_table.mood)
end
if form_param_table.tense then
table.insert(result, 'tense='..form_param_table.tense)
end
if form_param_table.number then
table.insert(result, 'number='..form_param_table.number)
end
if form_param_table.pers then
table.insert(result, 'person='..form_param_table.pers)
end
if form_param_table.formal then
table.insert(result, 'formal='..form_param_table.formal)
end
if form_param_table.sense then
table.insert(result, 'sense='..form_param_table.sense)
end
if form_param_table.sera then
table.insert(result, 'sera='..form_param_table.sera)
end
if form_param_table.gender then
table.insert(result, 'gender='..form_param_table.gender)
end
if form_param_table.voseo then
table.insert(result, 'voseo=y')
end
if form_param_table.region then
table.insert(result, 'region='..form_param_table.region)
end
return table.concat(result, '|')..'}}'
end
return export