<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASu%2Fdoc</id>
	<title>Modul:Su/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Modul%3ASu%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Modul:Su/doc&amp;action=history"/>
	<updated>2026-04-06T02:27:06Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Modul:Su/doc&amp;diff=461&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 11. Oktober 2014 um 07:43 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Modul:Su/doc&amp;diff=461&amp;oldid=prev"/>
		<updated>2014-10-11T07:43:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation subpage}}&lt;br /&gt;
{{module rating|release}}&lt;br /&gt;
&lt;br /&gt;
This module implements the {{tl|su}} template. It is used to create two smaller lines of text on one actual line.&lt;br /&gt;
&lt;br /&gt;
== Usage from wikitext ==&lt;br /&gt;
&lt;br /&gt;
This module cannot be used directly from wikitext. It can only be used through a template, usually the {{tl|su}} template. Please see the template page for documentation.&lt;br /&gt;
&lt;br /&gt;
== Usage from Lua modules ==&lt;br /&gt;
&lt;br /&gt;
To use this module from other Lua modules, first load the module.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
local mSu = require('Module:Su')&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can then generate the su links by using the _main function.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
mSu._main(sup, sub, options)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;var&amp;gt;sup&amp;lt;/var&amp;gt; is the contents of the top line, and &amp;lt;var&amp;gt;sub&amp;lt;/var&amp;gt; is the contents of the bottom line. &amp;lt;var&amp;gt;options&amp;lt;/var&amp;gt; is a table that can contain the following fields:&lt;br /&gt;
* &amp;lt;code&amp;gt;align&amp;lt;/code&amp;gt; - this can be set to &amp;quot;r&amp;quot; or &amp;quot;right&amp;quot; for right-alignment, and &amp;quot;c&amp;quot; or &amp;quot;center&amp;quot; for center-alignment. Anything else will make the output left-aligned. Must be a string value.&lt;br /&gt;
* &amp;lt;code&amp;gt;fontSize&amp;lt;/code&amp;gt; - the font size of the text, e.g. &amp;quot;90%&amp;quot;. If set to &amp;quot;f&amp;quot; or &amp;quot;fixed&amp;quot;, the module will output a fixed-width font at 85%. Must be a string value.&lt;br /&gt;
&lt;br /&gt;
All arguments are optional.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Code&lt;br /&gt;
! Result&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|mSu._main('top-line text', 'bottom-line text')|lua}}&lt;br /&gt;
| {{su|p=top-line text|b=bottom-line text}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|1=mSu._main('top-line text', 'bottom-line text', {fontSize = '100%'})|2=lua}}&lt;br /&gt;
| {{su|p=top-line text|b=bottom-line text|w=100%}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|1=mSu._main('top-line text', 'bottom-line text', {fontSize = 'f'})|2=lua}}&lt;br /&gt;
| {{su|p=top-line text|b=bottom-line text|w=f}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|1=mSu._main('top-line text', 'bottom-line text', {align = 'r'})|2=lua}}&lt;br /&gt;
| {{su|p=top-line text|b=bottom-line text|a=r}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|1=mSu._main('top-line text', 'bottom-line text', {align = 'c'})|2=lua}}&lt;br /&gt;
| {{su|p=top-line text|b=bottom-line text|a=c}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|mSu._main('top-line text')|lua}}&lt;br /&gt;
| {{su|p=top-line text}}&lt;br /&gt;
|-&lt;br /&gt;
| {{code snippet|mSu._main(nil, 'bottom-line text')|lua}}&lt;br /&gt;
| {{su|b=bottom-line text}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>