<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>https://techshareroom.com/techshareroom_wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AFormato_texto</id>
	<title>Módulo:Formato texto - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="https://techshareroom.com/techshareroom_wiki/index.php?action=history&amp;feed=atom&amp;title=M%C3%B3dulo%3AFormato_texto"/>
	<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:Formato_texto&amp;action=history"/>
	<updated>2026-05-17T00:52:41Z</updated>
	<subtitle>Historial de revisiones de esta página en la wiki</subtitle>
	<generator>MediaWiki 1.47.0-alpha</generator>
	<entry>
		<id>https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:Formato_texto&amp;diff=530&amp;oldid=prev</id>
		<title>Adgellida: 1 revisión importada</title>
		<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:Formato_texto&amp;diff=530&amp;oldid=prev"/>
		<updated>2021-08-25T20:59:39Z</updated>

		<summary type="html">&lt;p&gt;1 revisión importada&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revisión del 22:59 25 ago 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;es&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Sin diferencias)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Adgellida</name></author>
	</entry>
	<entry>
		<id>https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:Formato_texto&amp;diff=529&amp;oldid=prev</id>
		<title>Plantilla&gt;Juan Mayordomo: arreglo un error</title>
		<link rel="alternate" type="text/html" href="https://techshareroom.com/techshareroom_wiki/index.php?title=M%C3%B3dulo:Formato_texto&amp;diff=529&amp;oldid=prev"/>
		<updated>2019-03-15T18:35:06Z</updated>

		<summary type="html">&lt;p&gt;arreglo un error&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local z = {}&lt;br /&gt;
&lt;br /&gt;
function z.enCursivas(texto, ref)&lt;br /&gt;
	if ref and texto then&lt;br /&gt;
		return &amp;#039;&amp;lt;i&amp;gt;&amp;#039; .. texto .. &amp;#039;&amp;lt;/i&amp;gt;&amp;#039; .. ref&lt;br /&gt;
	elseif texto then&lt;br /&gt;
	    return &amp;#039;&amp;lt;i&amp;gt;&amp;#039; .. texto .. &amp;#039;&amp;lt;/i&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
-- Adaptado de [[:en:Module:String2]], función sentence&lt;br /&gt;
function z.enMayusculas(texto)&lt;br /&gt;
	if not texto or texto == &amp;#039;&amp;#039; then&lt;br /&gt;
		return texto&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	-- [[hipótesis (método científico)|hipótesis]]&lt;br /&gt;
	&lt;br /&gt;
	if texto:find(&amp;quot;^%[%[[^|]+|[^%]]+%]%]&amp;quot;) then&lt;br /&gt;
		local b, c = texto:find(&amp;quot;|%A*%a&amp;quot;) &lt;br /&gt;
		return string.sub(texto, 1, c-1) .. string.upper(string.sub(texto, c, c)) .. string.sub(texto, c+1)&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	local letterpos = texto:find(&amp;#039;%a&amp;#039;)&lt;br /&gt;
	if letterpos then&lt;br /&gt;
		local first = texto:sub(1, letterpos - 1)&lt;br /&gt;
		local letter = texto:sub(letterpos, letterpos)&lt;br /&gt;
		local rest = texto:sub(letterpos + 1)&lt;br /&gt;
		return first .. string.upper(letter) .. rest&lt;br /&gt;
	else&lt;br /&gt;
		return texto&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.enVersalitas(texto)&lt;br /&gt;
	if not texto or texto == &amp;#039;&amp;#039; then&lt;br /&gt;
		return texto&lt;br /&gt;
	end	&lt;br /&gt;
	return &amp;#039;&amp;lt;span style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;&amp;#039; .. texto .. &amp;#039;&amp;lt;/span&amp;gt;&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.enVariasLineas(lista)&lt;br /&gt;
	local resultado&lt;br /&gt;
	local copia={}&lt;br /&gt;
	require(&amp;#039;Módulo:Tablas&amp;#039;).insertarElementosConValor(lista, copia)&lt;br /&gt;
	&lt;br /&gt;
	-- Solo devolver algo si hay al menos un elemento&lt;br /&gt;
	if copia[1] then&lt;br /&gt;
		return table.concat(copia, &amp;#039;&amp;lt;br/&amp;gt;&amp;#039;)&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.entreComillas(texto, ref)&lt;br /&gt;
	if not texto or texto == &amp;#039;&amp;#039; then&lt;br /&gt;
		return texto&lt;br /&gt;
	elseif ref and ref ~=&amp;#039;&amp;#039; then&lt;br /&gt;
		return &amp;#039;«&amp;#039; .. texto .. &amp;#039;»&amp;#039; .. ref&lt;br /&gt;
	else &lt;br /&gt;
	    return &amp;#039;«&amp;#039; .. texto .. &amp;#039;»&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.entreParentesis(texto, calificativo)&lt;br /&gt;
	if not texto or texto == &amp;#039;&amp;#039; then&lt;br /&gt;
		return&lt;br /&gt;
	elseif calificativo and calificativo ~= &amp;#039;&amp;#039; then&lt;br /&gt;
	    return texto .. &amp;#039; (&amp;#039; .. calificativo .. &amp;#039;)&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		return texto&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.separadosPorComa(lista)&lt;br /&gt;
	local copia={}&lt;br /&gt;
	require(&amp;#039;Módulo:Tablas&amp;#039;).insertarElementosConValor(lista, copia)&lt;br /&gt;
	&lt;br /&gt;
	return table.concat(copia, &amp;#039;, &amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.enlazar(enlace, texto, calificativo)&lt;br /&gt;
	local resultado &lt;br /&gt;
	&lt;br /&gt;
	if enlace and texto then&lt;br /&gt;
		resultado = &amp;#039;[[&amp;#039; .. enlace .. &amp;#039;|&amp;#039; .. texto .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	elseif enlace then&lt;br /&gt;
		resultado = &amp;#039;[[&amp;#039; .. enlace .. &amp;#039;]]&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		resultado = texto&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if resultado and calificativo then&lt;br /&gt;
		return resultado .. &amp;#039; &amp;lt;small&amp;gt;(&amp;#039; .. calificativo .. &amp;#039;)&amp;lt;/small&amp;gt;&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		return resultado&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function z.llamadaDesdeUnaPlantilla(frame)&lt;br /&gt;
	local args = frame.args&lt;br /&gt;
	&lt;br /&gt;
	if args[&amp;#039;tipo argumento&amp;#039;] == &amp;#039;tabla&amp;#039; then&lt;br /&gt;
		local tabla = {args[2], args[3], args[4]}&lt;br /&gt;
		return z[args[1]](tabla)&lt;br /&gt;
	else&lt;br /&gt;
		return z[args[1]](args[2], args[3], args[4])&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return z&lt;/div&gt;</summary>
		<author><name>Plantilla&gt;Juan Mayordomo</name></author>
	</entry>
</feed>