<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="sv">
		<id>https://studieboken.iportalen.se/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASu</id>
		<title>Modul:Su - Versionshistorik</title>
		<link rel="self" type="application/atom+xml" href="https://studieboken.iportalen.se/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASu"/>
		<link rel="alternate" type="text/html" href="https://studieboken.iportalen.se/index.php?title=Modul:Su&amp;action=history"/>
		<updated>2026-10-24T19:34:28Z</updated>
		<subtitle>Versionshistorik för denna sida på wikin</subtitle>
		<generator>MediaWiki 1.26.2</generator>

	<entry>
		<id>https://studieboken.iportalen.se/index.php?title=Modul:Su&amp;diff=1389&amp;oldid=prev</id>
		<title>Admin: 1 version importerades</title>
		<link rel="alternate" type="text/html" href="https://studieboken.iportalen.se/index.php?title=Modul:Su&amp;diff=1389&amp;oldid=prev"/>
				<updated>2016-08-24T20:34:32Z</updated>
		
		<summary type="html">&lt;p&gt;1 version importerades&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;' lang='sv'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Äldre version&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Versionen från 24 augusti 2016 kl. 20.34&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;' lang='sv'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Ingen skillnad)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>https://studieboken.iportalen.se/index.php?title=Modul:Su&amp;diff=1388&amp;oldid=prev</id>
		<title>Edokter: Default sub/sup font-size should match with sub/sup size set in Common.css. That should reduce excess line-height. Use proper monospace 'hack'.</title>
		<link rel="alternate" type="text/html" href="https://studieboken.iportalen.se/index.php?title=Modul:Su&amp;diff=1388&amp;oldid=prev"/>
				<updated>2016-05-20T11:53:35Z</updated>
		
		<summary type="html">&lt;p&gt;Default sub/sup font-size should match with sub/sup size set in Common.css. That should reduce excess line-height. Use proper monospace &amp;#039;hack&amp;#039;.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Ny sida&lt;/b&gt;&lt;/p&gt;&lt;div&gt;-- This module implements {{su}}.&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	-- Use arguments from the parent frame only, and remove any blank arguments.&lt;br /&gt;
	-- We don't need to trim whitespace from any arguments, as this module only&lt;br /&gt;
	-- uses named arguments, and whitespace is trimmed from them automatically. &lt;br /&gt;
	local origArgs = frame:getParent().args&lt;br /&gt;
	local args = {}&lt;br /&gt;
	for k, v in pairs(origArgs) do&lt;br /&gt;
		if v ~= '' then&lt;br /&gt;
			args[k] = v&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Define the variables to pass to luaMain.&lt;br /&gt;
	local sup = args.p&lt;br /&gt;
	local sub = args.b&lt;br /&gt;
	local options = {&lt;br /&gt;
		align = args.a,&lt;br /&gt;
		fontSize = args.w,&lt;br /&gt;
		lineHeight = args.lh,&lt;br /&gt;
		verticalAlign = args.va&lt;br /&gt;
	}&lt;br /&gt;
	return p._main(sup, sub, options)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._main(sup, sub, options)&lt;br /&gt;
	options = options or {}&lt;br /&gt;
	local span = mw.html.create('span')&lt;br /&gt;
&lt;br /&gt;
	-- Set the styles.&lt;br /&gt;
	span:css{&lt;br /&gt;
		['display']        = 'inline-block',&lt;br /&gt;
		['margin-bottom']  = '-0.3em',&lt;br /&gt;
		['vertical-align'] = options.verticalAlign or sub and '-0.4em' or '0.8em',&lt;br /&gt;
		['line-height']    = options.lineHeight or '1.2em'&lt;br /&gt;
	}&lt;br /&gt;
	if options.fontSize == 'f' or options.fontSize == 'fixed' then&lt;br /&gt;
		span:css{&lt;br /&gt;
			['font-family'] = 'monospace,monospace',&lt;br /&gt;
			['font-size']   = '80%'&lt;br /&gt;
		}&lt;br /&gt;
	else&lt;br /&gt;
		span:css('font-size', options.fontSize and options.fontSize or '80%')&lt;br /&gt;
	end&lt;br /&gt;
	if options.align == 'r' or options.align == 'right' then&lt;br /&gt;
		span:css('text-align', 'right')&lt;br /&gt;
	elseif options.align == 'c' or options.align == 'center' then&lt;br /&gt;
		span:css('text-align', 'center')&lt;br /&gt;
	else&lt;br /&gt;
		span:css('text-align', 'left')&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- Add the wikitext.&lt;br /&gt;
	span&lt;br /&gt;
		:wikitext(sup)&lt;br /&gt;
		:tag('br', {selfClosing = true}):done()&lt;br /&gt;
		:wikitext(sub)&lt;br /&gt;
	&lt;br /&gt;
	return tostring(span)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>Edokter</name></author>	</entry>

	</feed>