Jump to content

Module:Peter Bowman/odmiana/tabelki

Unchecked
From Wikipedia

Documentation for this module may be created at Module:Peter Bowman/odmiana/tabelki/doc

local p = {
    tabla_es = {}
}

p.tabla_eo = function (tema, visible, class)
    
    return (not visible and [=[<!--
    --><div class="NavFrame collapse-odmiana" style="display:inline">
	<div class="NavHead" style="background:transparent; text-align:left; padding-right:55px; display:inline">&nbsp;</div>
	<div class="NavContent" style="text-align: left; display:inline;">]=] or "")..[=[
 
	<table class="]=]..(class or "wikitable")..[=[" style="margin-left:0.5em; margin-bottom:0.5em; border: 1px solid; border-collapse:collapse; text-align: center" cellpadding="3" rules="all">
 
		<tr>
			<th style="font-weight:normal">[[tempo#eo|tempo]]</th>
			<th style="font-weight:normal">[[vortformo#eo|vortformo]]</th>
			<th style="font-weight:normal">[[aktiva participo#eo|aktiva participo]]</th>
			<th style="font-weight:normal">[[pasiva participo#eo|pasiva participo]]</th>
		</tr>
		<tr>
			<th style="font-weight:normal">[[nuna#eo|nuna]]</th>
			<td>]=]..tema..[=[as</td>
			<td>]=]..tema..[=[anta</td>
			<td>]=]..tema..[=[ata</td>
		</tr>
		<tr>
			<th style="font-weight:normal">[[pasinta#eo|pasinta]]</th>
			<td>]=]..tema..[=[is</td>
			<td>]=]..tema..[=[inta</td>
			<td>]=]..tema..[=[ita</td>
		</tr>
		<tr>
			<th style="font-weight:normal">[[venonta#eo|venonta]]</th>
			<td>]=]..tema..[=[os</td>
			<td>]=]..tema..[=[onta</td>
			<td>]=]..tema..[=[ota</td>
		</tr>
		<tr><th colspan="4"></th></tr>
		<tr>
			<th style="font-weight:normal">[[kondizionala#eo|kondizionala]]</th>
			<td>]=]..tema..[=[us</td>
			<td rowspan="2" colspan="2"></td>
		</tr>
		<tr>
			<th style="font-weight:normal">[[imperativo#eo|imperativo]]</th>
			<td>]=]..tema..[=[u</td>
		</tr>
 
	</table>]=]..(not visible and "</div></div>" or "")
    
end

p.tabla_es.normal = function (c, esPronominal, conj, modelo, notas, visible, class, participio, part_ipto, eimorfo, imorfo, defectivo, part_doble, alt)
    local part, es = participio or c.part, "#es|"
	local part2 = part..(part_doble and ", "..part_doble or "")
	local _notas = (c.notas or "")..(notas and "<li>"..notas.."</li>" or "")
	local _modelo = c.modelo or modelo
	local _conj = ""
	for i = 1, conj do _conj = _conj.."I" end

	local aux0 = (not visible) and [=[<!--

	-->[[Aneks:Jezyk hiszpanski - koniugacja ]=].._conj..[=[|koniugacja ]=].._conj..[=[]]: czasownik <!--
	-->]=]..((_modelo == "reg") and "" or "nie")..[=[regularny<!--
	-->]=]..((eimorfo or imorfo) and " ulomny ([[verbo defectivo#es|defectivo]])" or "")..[=[<!--
	-->]=]..((_modelo == "reg") and "" or ", model [[Aneks:Jezyk hiszpanski - odmiana czasownika ".._modelo.."|".._modelo.."]]")..[=[<!--
	-->]=]..(alt and " z przemiana <b>"..alt.."</b> ([[Aneks:Jezyk hiszpanski - odmiana czasownika "..c.alt.."|"..c.alt.."]])" or "")..[=[<!--
	-->]=]..(c.tild and (alt and " i " or " z ").."akcentuacja rozziewu ([[Aneks:Jezyk hiszpanski - odmiana czasownika "..c.tild.."|"..c.tild.."]])" or "")..[=[<!--
	-->]=]..(c.dipt and (alt and " i " or " ze ").."stala dwugloska ([[Aneks:Jezyk hiszpanski - odmiana czasownika "..c.dipt.."|"..c.dipt.."]]"..(c.dipt2
			and ", [[Aneks:Jezyk hiszpanski - odmiana czasownika "..c.dipt2.."|"..c.dipt2.."]]" or "")..")" or "")..[=[<!--
	-->]=]..((participio or c.part_irr or part_doble)
		and (part_doble and ", imieslów bierny podwójny <b>"..c.part.."</b>, <b>"..part_doble.."</b>"
			or (", imieslow bierny <b>"..(participio or c.part).."</b>"..[=[<!--
	-->]=]..(part_ipto and ", <i>(Argentyna, Urugwaj)</i> <b>"..part_ipto.."</b>" or ""))) or "")..[=[<!--

	--><div class="NavFrame collapse-odmiana" style="display:inline">
	<div class="NavHead" style="background:transparent; text-align:left; padding-right:55px; display:inline">&nbsp;</div>
	<div class="NavContent" style="text-align: left; display:inline;">]=] or ""

	local aux1 = [=[

	<table class="]=]..(class or "")..[=[" style="text-align:center; border:none;">]=]..((_notas == "") and "" or [=[
		<tr><td colspan="7" style="padding:0;border:none;width:100%">
			<table class="wikitable odmiana collapsible collapsed" style="width:100%; margin:0 0 5px 0;">
			<tr><th>&nbsp;notas</th></tr>
			<tr><td style="text-align:left"><ul>]=].._notas..[=[</ul></td></tr>
		</table></td></tr>]=])..[=[

		<tr>
			<th>[[forma no personal#es|formas no personales]]</th>
			<th colspan="2">[[infinitivo#es|infinitivo]]</th>
			<th colspan="2">[[gerundio#es|gerundio]]</th>
			<th colspan="2">[[participio#es|participio]]</th>
		</tr>

		<tr>
			<th>[[simple#es|simples]]</th>
			<td colspan="2">]=]..c.inf..(esPronominal and "se" or "")..[=[</td>
			<td colspan="2">]=]..(c.no_part and "—" or "[["..(esPronominal and c.ger2 or c.ger).."]]")..[=[</td>
			<td colspan="2">]=]..(c.no_part and "—" or "[["..part..es..(c._part or part).."]]".. (part_doble and ", [["..part_doble..es..part_doble.."]]" or ""))..[=[</td>
		</tr>
		<tr>
			<th>[[compuesto#es|compuestas]]</th>
			<td colspan="2">]=]..(c.no_part and "—" or (esPronominal and "[[haber#es|haberse]] " or "[[haber#es|haber]] ")..part2)..[=[</td>
			<td colspan="2">]=]..(c.no_part and "—" or (esPronominal and "[[haber#es|habiéndose]] " or "[[haber#es|habiendo]] ")..part2)..[=[</td>
			<td colspan="2">—</td>
		</tr>

		<tr><td colspan="7" style="padding:0; border:none; height:5px; background:#FFFFFF"></td></tr>

		<tr>
			<th>[[forma personal#es|formas personales]]</th>
			<th colspan="3">[[número singular#es|número singular]]</th>
			<th colspan="3">[[número plural#es|número plural]]</th>
		</tr>
	]=]

	local aux2 = [=[

		<tr>
			<th style="font-weight:bold">[[modo indicativo#es|modo indicativo]]</th>
			<th width="13%">[[yo#es|yo]]</th>
			<th" width="13%">]=]..((c.p_i_2s == c.p_i_2vs) and "[[tú#es|tú]], [[vos#es|vos]]" or "[[tú#es|tú]] / [[vos#es|vos]]")..[=[</th>
			<th width="13%">[[él#es|él]], [[ella#es|ella]]</br>[[usted#es|usted]]</th>
			<th width="13%">[[nosotros#es|nosotros]]</br>[[nosotras#es|nosotras]]</th>
			<th width="13%">[[vosotros#es|vosotros]]</br>[[vosotras#es|vosotras]]</th>
			<th width="13%">[[ellos#es|ellos]], [[ellas#es|ellas]]</br>[[ustedes#es|ustedes]]</th>
		</tr>
		<tr>
			<th>[[presente#es|presente]]</th>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.p_i_1s.."]]")..[=[</td>
			<td>]=]..(imorfo and "—" or (esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.p_i_2s.."]]")..[=[<!--
			-->]=]..((c.p_i_2s == c.p_i_2vs) and "" or ("</br>"..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.p_i_2vs.."]]"))..[=[</td>
			<td>]=]..(imorfo and "—" or (esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.p_i_3s.."]]")..[=[</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.p_i_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.p_i_2p..[=[]]</td>
			<td>]=]..(imorfo and "—" or (esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.p_i_3p.."]]")..[=[</td>
		</tr>
		<tr>
			<th>[[pretérito imperfecto#es|pretérito imperfecto]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.pi_i_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.pi_i_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi_i_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.pi_i_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.pi_i_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi_i_3p..[=[]]</td>
		</tr>
		<tr>
			<th>[[pretérito perfecto simple#es|pretérito perfecto simple]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.pps_i_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.pps_i_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pps_i_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.pps_i_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.pps_i_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pps_i_3p..[=[]]</td>
		</tr>
		<tr>
			<th>[[futuro simple#es|futuro simple]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.f_i_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.f_i_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.f_i_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.f_i_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.f_i_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.f_i_3p..[=[]]</td>
		</tr>
		<tr>
			<th>[[condicional simple#es|condicional simple]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.c_i_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.c_i_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.c_i_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.c_i_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.c_i_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.c_i_3p..[=[]]</td>
		</tr>
	]=]

	local aux3 = c.no_part and "" or [=[

		<tr>
			<td colspan="7" style="padding:0;border:none;">
			<table class="wikitable ]=]..class..[=[ collapsible collapsed" style="width:100%; margin:5px 0 5px 0;">

			<tr><th colspan="7">&nbsp;[[tiempo compuesto#es|tiempos compuestos]]</th></tr>

			<tr>
				<th>[[pretérito perfecto compuesto#es|pretérito perfecto compuesto]]</th>
				<td width="13%">]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|he]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|has]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|ha]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hemos]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|habéis]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|han]] "..part2..[=[</td>
			</tr>
			<tr>
				<th>[[pretérito pluscuamperfecto#es|pretérito pluscuamperfecto]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|había]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|habías]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|había]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|habíamos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|habíais]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|habían]] "..part2..[=[</td>
			</tr>
			<tr>
				<th>[[pretérito anterior#es|pretérito anterior]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|hube]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|hubiste]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubo]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hubimos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|hubisteis]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubieron]] "..part2..[=[</td>
			</tr>
			<tr>
				<th>[[futuro compuesto#es|futuro compuesto]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|habré]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|habrás]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|habrá]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|habremos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|habréis]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|habrán]] "..part2..[=[</td>
			</tr>
			<tr>
				<th>[[condicional compuesto#es|condicional compuesto]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|habría]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|habrías]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|habría]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|habríamos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|habríais]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|habrían]] "..part2..[=[</td>
			</tr>

			</table></td></tr>
	]=]

	local aux4 = [=[

		<tr>
			<th style="font-weight:bold">[[modo subjuntivo#es|modo subjuntivo]]</th>
			<th>[[yo#es|yo]]</th>
			<th>[[tú#es|tú]], [[vos#es|vos]]</th>
			<th>[[él#es|él]], [[ella#es|ella]]</br>[[usted#es|usted]]</th>
			<th>[[nosotros#es|nosotros]]</br>[[nosotras#es|nosotras]]</th>
			<th>[[vosotros#es|vosotros]]</br>[[vosotras#es|vosotras]]</th>
			<th>[[ellos#es|ellos]], [[ellas#es|ellas]]</br>[[ustedes#es|ustedes]]</th>
		</tr>
		<tr>
			<th>[[presente#es|presente]]</th>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.p_s_1s.."]]")..[=[</td>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.p_s_2s.."]]")..[=[</td>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.p_s_3s.."]]")..[=[</td>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.p_s_1p.."]]")..[=[</td>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.p_s_2p.."]]")..[=[</td>
			<td>]=]..((eimorfo or imorfo) and "—" or (esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.p_s_3p.."]]")..[=[</td>
		</tr>
		<tr>
			<th rowspan="2">[[pretérito imperfecto#es|pretérito imperfecto]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.pi1_s_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.pi1_s_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi1_s_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.pi1_s_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.pi1_s_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi1_s_3p..[=[]]</td>
		</tr>
		<tr>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.pi2_s_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.pi2_s_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi2_s_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.pi2_s_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.pi2_s_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.pi2_s_3p..[=[]]</td>
		</tr>
		<tr>
			<th>[[futuro simple#es|futuro simple]]</th>
			<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;[[" or "[[")..c.f_s_1s..[=[]]</td>
			<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;[[" or "[[")..c.f_s_2s..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.f_s_3s..[=[]]</td>
			<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;[[" or "[[")..c.f_s_1p..[=[]]</td>
			<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;[[" or "[[")..c.f_s_2p..[=[]]</td>
			<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;[[" or "[[")..c.f_s_3p..[=[]]</td>
		</tr>
	]=]

	local aux5 = c.no_part and "" or [=[

		<tr>
			<td colspan="7" style="padding:0;border:none;">
			<table class="wikitable ]=]..class..[=[ collapsible collapsed" style="width:100%; margin:5px 0 5px 0;">

			<tr><th colspan="7">&nbsp;[[tiempo compuesto#es|tiempos compuestos]]</th></tr>

			<tr>
				<th>[[pretérito perfecto#es|pretérito perfecto]]</th>
				<td width="13%">]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|haya]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|hayas]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|haya]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hayamos]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|hayáis]] "..part2..[=[</td>
				<td width="13%">]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hayan]] "..part2..[=[</td>
			</tr>
			<tr>
				<th rowspan="2">[[pretérito pluscuamperfecto#es|pretérito pluscuamperfecto]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|hubiera]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|hubieras]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubiera]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hubiéramos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|hubierais]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubieran]] "..part2..[=[</td>
			</tr>
			<tr>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|hubiese]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|hubieses]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubiese]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hubiésemos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|hubieseis]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubiesen]] "..part2..[=[</td>
			</tr>
			<tr>
				<th style="font-weight:normal">[[futuro compuesto#es|futuro compuesto]]</th>
				<td>]=]..(esPronominal and "[[me#es|me]]&nbsp;" or "").."[[haber#es|hubiere]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[te#es|te]]&nbsp;" or "").."[[haber#es|hubieres]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubiere]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[nos#es|nos]]&nbsp;" or "").."[[haber#es|hubiéremos]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[os#es|os]]&nbsp;" or "").."[[haber#es|hubiereis]] "..part2..[=[</td>
				<td>]=]..(esPronominal and "[[se#es|se]]&nbsp;" or "").."[[haber#es|hubieren]] "..part2..[=[</td>
			</tr>

			</table></td></tr>
	]=]

	local aux6 = [=[

		<tr>
			<th style="font-weight:bold">[[modo imperativo#es|modo imperativo]]</th>
			<th>[[tú#es|tú]]</th>
			<th>[[vos#es|vos]]</th>
			<th>[[usted#es|usted]]</th>
			<th>[[nosotros#es|nosotros]]</br>[[nosotras#es|nosotras]]</th>
			<th>[[vosotros#es|vosotros]]</br>[[vosotras#es|vosotras]]</th>
			<th>[[ustedes#es|ustedes]]</th>
		</tr>
		<tr>
			<th>[[presente#es|presente]]</th>
			<td>]=]..(imorfo and "—" or "[["..(esPronominal and c.imp_pron_2s or c.imp_2s).."]]")..[=[</td>
			<td>[[]=]..(esPronominal and c.imp_pron_2vs or c.imp_2vs)..[=[]]</td>
			<td><i>]=]..((eimorfo or imorfo) and "—" or "[["..(esPronominal and c.imp_pron_3s or c.p_s_3s).."]]")..[=[</i></td>
			<td><i>]=]..((eimorfo or imorfo) and "—" or "[["..(esPronominal and c.imp_pron_1p or c.p_s_1p).."]]")..[=[</i></td>
			<td>[[]=]..(esPronominal and c.imp_pron_2p or c.imp_2p)..[=[]]</td>
			<td><i>]=]..((eimorfo or imorfo) and "—" or "[["..(esPronominal and c.imp_pron_3p or c.p_s_3p).."]]")..[=[</i></td>
		</tr>

		</table>]=]..(not visible and "</div></div>" or "")

	return aux0..aux1..aux2..aux3..aux4..aux5..aux6
end

return p