<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://escforumwiki.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AVertical_header</id>
	<title>Module:Vertical header - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://escforumwiki.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AVertical_header"/>
	<link rel="alternate" type="text/html" href="https://escforumwiki.com/index.php?title=Module:Vertical_header&amp;action=history"/>
	<updated>2026-04-04T19:13:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://escforumwiki.com/index.php?title=Module:Vertical_header&amp;diff=91843&amp;oldid=prev</id>
		<title>Santos: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://escforumwiki.com/index.php?title=Module:Vertical_header&amp;diff=91843&amp;oldid=prev"/>
		<updated>2020-02-28T00:07:33Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:07, 28 February 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Santos</name></author>
	</entry>
	<entry>
		<id>https://escforumwiki.com/index.php?title=Module:Vertical_header&amp;diff=91842&amp;oldid=prev</id>
		<title>en&gt;Andreyyshore: Added cellstyle argument. Makes it easier to customize the appearance of a cell, like applying a background color to the entire cell instead of just the text inside it. Necessary since the module&#039;s internal style tag overrides (actually entirely replaces) other cell-level style definitions. Double quotes are also sanitized now.</title>
		<link rel="alternate" type="text/html" href="https://escforumwiki.com/index.php?title=Module:Vertical_header&amp;diff=91842&amp;oldid=prev"/>
		<updated>2018-10-29T08:46:44Z</updated>

		<summary type="html">&lt;p&gt;Added cellstyle argument. Makes it easier to customize the appearance of a cell, like applying a background color to the entire cell instead of just the text inside it. Necessary since the module&amp;#039;s internal style tag overrides (actually entirely replaces) other cell-level style definitions. Double quotes are also sanitized now.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local p = {}&lt;br /&gt;
&lt;br /&gt;
function p.cell(frame)&lt;br /&gt;
	local text = frame.args.text&lt;br /&gt;
	local sortPadding = frame.args.sortPadding&lt;br /&gt;
	local vertAlign = frame.args.vertAlign&lt;br /&gt;
	local maxWidth = frame.args.maxWidth&lt;br /&gt;
	local noBold = frame.args.noBold&lt;br /&gt;
	local style = frame.args.style:gsub(&amp;quot;\&amp;quot;&amp;quot;, &amp;quot;&amp;amp;quot;&amp;quot;)&lt;br /&gt;
	local cellStyle = frame.args.cellstyle:gsub(&amp;quot;\&amp;quot;&amp;quot;, &amp;quot;&amp;amp;quot;&amp;quot;)&lt;br /&gt;
	local wikiText = &amp;quot;class = \&amp;quot;nowrap&amp;quot;&lt;br /&gt;
	local normalAlign = &amp;quot;&amp;quot;&lt;br /&gt;
	-- local stupidIEAlign = &amp;quot;&amp;quot;&lt;br /&gt;
	local rows = 1&lt;br /&gt;
	local width = 0&lt;br /&gt;
	if maxWidth ~= &amp;quot;&amp;quot; then&lt;br /&gt;
		width = maxWidth&lt;br /&gt;
	else&lt;br /&gt;
		for eachMatch in text:gmatch(&amp;quot;&amp;lt;[bB][rR] */? *&amp;gt;&amp;quot;) do&lt;br /&gt;
			rows = rows + 1&lt;br /&gt;
		end&lt;br /&gt;
		width = rows * 0.875&lt;br /&gt;
		width = width .. &amp;quot;em&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	if sortPadding == &amp;quot;&amp;quot; then&lt;br /&gt;
		wikiText = wikiText .. &amp;quot; unsortable&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	wikiText = wikiText .. &amp;quot;\&amp;quot; style=\&amp;quot;line-height:99%;vertical-align:&amp;quot; .. vertAlign .. &amp;quot;;padding:&amp;quot;&lt;br /&gt;
	if sortPadding == &amp;quot;&amp;quot; then&lt;br /&gt;
		wikiText = wikiText .. &amp;quot;.4em&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		wikiText = wikiText .. &amp;quot;21px&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	wikiText = wikiText .. &amp;quot; .4em .2em;background-position:50% .4em !important;&amp;quot;&lt;br /&gt;
	wikiText = wikiText .. &amp;quot;min-width:&amp;quot; .. width .. &amp;quot;;max-width:&amp;quot; .. width .. &amp;quot;;width:&amp;quot; .. width .. &amp;quot;;overflow:hidden;&amp;quot; .. cellStyle .. &amp;quot;\&amp;quot;&amp;quot;&lt;br /&gt;
	wikiText = wikiText .. &amp;quot; | &amp;lt;div style=\&amp;quot;&amp;quot; .. frame:preprocess(&amp;quot;{{writing-mode|v1}}{{Transform-rotate|180}}&amp;quot;) .. &amp;quot;-ms-transform: none \ ;padding-left:1px;text-align:&amp;quot;&lt;br /&gt;
	if vertAlign == &amp;quot;top&amp;quot; then&lt;br /&gt;
		normalAlign = &amp;quot;right&amp;quot;&lt;br /&gt;
		-- stupidIEAlign = &amp;quot;left&amp;quot;&lt;br /&gt;
	elseif vertAlign == &amp;quot;middle&amp;quot; then&lt;br /&gt;
		normalAlign = &amp;quot;center&amp;quot;&lt;br /&gt;
		-- stupidIEAlign = &amp;quot;center&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		normalAlign = &amp;quot;left&amp;quot;&lt;br /&gt;
		-- stupidIEAlign = &amp;quot;right&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	wikiText = wikiText .. normalAlign .. &amp;quot;;&amp;quot; -- text-align:&amp;quot; .. stupidIEAlign .. &amp;quot; \ ;&amp;quot;&lt;br /&gt;
	wikiText = wikiText .. style .. &amp;quot;\&amp;quot;&amp;gt;&amp;quot;&lt;br /&gt;
	if noBold == &amp;quot;&amp;quot; then&lt;br /&gt;
		wikiText = wikiText .. text&lt;br /&gt;
	else&lt;br /&gt;
		wikiText = wikiText .. frame:preprocess(&amp;quot;{{nobold|1=&amp;quot; .. text .. &amp;quot;}}&amp;quot;)&lt;br /&gt;
	end&lt;br /&gt;
	wikiText = wikiText .. &amp;quot;&amp;lt;/div&amp;gt;&amp;quot;&lt;br /&gt;
	return wikiText&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>en&gt;Andreyyshore</name></author>
	</entry>
</feed>