<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://neowiki.dev/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASubjectRow</id>
	<title>Module:SubjectRow - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://neowiki.dev/w/index.php?action=history&amp;feed=atom&amp;title=Module%3ASubjectRow"/>
	<link rel="alternate" type="text/html" href="https://neowiki.dev/w/index.php?title=Module:SubjectRow&amp;action=history"/>
	<updated>2026-06-26T00:00:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://neowiki.dev/w/index.php?title=Module:SubjectRow&amp;diff=280&amp;oldid=prev</id>
		<title>NeoWiki: Importing NeoWiki demo data</title>
		<link rel="alternate" type="text/html" href="https://neowiki.dev/w/index.php?title=Module:SubjectRow&amp;diff=280&amp;oldid=prev"/>
		<updated>2026-06-10T10:18:46Z</updated>

		<summary type="html">&lt;p&gt;Importing NeoWiki demo data&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 10:18, 10 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 34:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		local view&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		local view&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		if viewLayout and viewLayout ~= &#039;&#039; then&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		if viewLayout and viewLayout ~= &#039;&#039; then&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;|&#039; .. viewLayout .. &#039;}}&#039; )&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;|&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;layout=&lt;/ins&gt;&#039; .. viewLayout .. &#039;}}&#039; )&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		else&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;		else&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;}}&#039; )&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;			view = frame:preprocess( &#039;{{#view:&#039; .. id .. &#039;}}&#039; )&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-261:rev-280:wikidiff2=table:1.14.2:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
	<entry>
		<id>https://neowiki.dev/w/index.php?title=Module:SubjectRow&amp;diff=261&amp;oldid=prev</id>
		<title>NeoWiki: Importing NeoWiki demo data</title>
		<link rel="alternate" type="text/html" href="https://neowiki.dev/w/index.php?title=Module:SubjectRow&amp;diff=261&amp;oldid=prev"/>
		<updated>2026-05-11T14:24:50Z</updated>

		<summary type="html">&lt;p&gt;Importing NeoWiki demo data&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;
-- Inline styles use Codex CSS custom properties so the row picks up the&lt;br /&gt;
-- current theme (light / dark) where Codex CSS is loaded; hex fallbacks&lt;br /&gt;
-- reproduce the light-mode values otherwise.&lt;br /&gt;
local style = table.concat( {&lt;br /&gt;
	&amp;#039;display:flex&amp;#039;,&lt;br /&gt;
	&amp;#039;gap:8px&amp;#039;,&lt;br /&gt;
	&amp;#039;padding:16px&amp;#039;,&lt;br /&gt;
	&amp;#039;justify-content:safe center&amp;#039;,&lt;br /&gt;
	&amp;#039;overflow-x:auto&amp;#039;,&lt;br /&gt;
	&amp;#039;align-items:flex-start&amp;#039;,&lt;br /&gt;
	&amp;#039;background:var(--background-color-interactive-subtle, #eaecf0)&amp;#039;,&lt;br /&gt;
	&amp;#039;border:1px solid var(--border-color-subtle, #c8ccd1)&amp;#039;,&lt;br /&gt;
	&amp;#039;border-radius:2px&amp;#039;,&lt;br /&gt;
	&amp;#039;margin-block:1em&amp;#039;,&lt;br /&gt;
}, &amp;#039;;&amp;#039; )&lt;br /&gt;
&lt;br /&gt;
-- Each positional argument is a subject ID, optionally followed by @LayoutName&lt;br /&gt;
-- for a per-view layout override. The named layout= argument is the row&amp;#039;s&lt;br /&gt;
-- default layout when no override is present.&lt;br /&gt;
function p.render( frame )&lt;br /&gt;
	local rowLayout = frame.args.layout&lt;br /&gt;
	local out = { &amp;#039;&amp;lt;div style=&amp;quot;&amp;#039; .. style .. &amp;#039;&amp;quot;&amp;gt;&amp;#039; }&lt;br /&gt;
&lt;br /&gt;
	for _, arg in ipairs( frame.args ) do&lt;br /&gt;
		local id, viewLayout = arg, rowLayout&lt;br /&gt;
		local at = string.find( arg, &amp;#039;@&amp;#039;, 1, true )&lt;br /&gt;
		if at then&lt;br /&gt;
			id = string.sub( arg, 1, at - 1 )&lt;br /&gt;
			viewLayout = string.sub( arg, at + 1 )&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		local view&lt;br /&gt;
		if viewLayout and viewLayout ~= &amp;#039;&amp;#039; then&lt;br /&gt;
			view = frame:preprocess( &amp;#039;{{#view:&amp;#039; .. id .. &amp;#039;|&amp;#039; .. viewLayout .. &amp;#039;}}&amp;#039; )&lt;br /&gt;
		else&lt;br /&gt;
			view = frame:preprocess( &amp;#039;{{#view:&amp;#039; .. id .. &amp;#039;}}&amp;#039; )&lt;br /&gt;
		end&lt;br /&gt;
		-- flex-shrink:0 keeps each infobox at its natural width so the row&lt;br /&gt;
		-- scrolls horizontally on narrow viewports instead of squishing.&lt;br /&gt;
		out[#out + 1] = &amp;#039;&amp;lt;div style=&amp;quot;flex-shrink:0&amp;quot;&amp;gt;&amp;#039; .. view .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	out[#out + 1] = &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
	return table.concat( out )&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>NeoWiki</name></author>
	</entry>
</feed>