<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrait</id>
	<title>Module:Trait - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrait"/>
	<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;action=history"/>
	<updated>2026-05-02T12:03:19Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141206&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: table class ffxi-table</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141206&amp;oldid=prev"/>
		<updated>2025-10-11T14:35:04Z</updated>

		<summary type="html">&lt;p&gt;table class ffxi-table&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 14:35, 11 October 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&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;	-- render the table&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;	-- render the table&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;	local root = mw.html.create(&quot;table&quot;)&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 root = mw.html.create(&quot;table&quot;)&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;        :addClass(&quot;horizon-table sortable&quot;)&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;        :addClass(&quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ffxi-table &lt;/ins&gt;horizon-table sortable&quot;)&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;        :css(&quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;max-&lt;/del&gt;width&quot;, &quot;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;fit-content&lt;/del&gt;&quot;)&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;        :css(&quot;width&quot;, &quot;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;auto&lt;/ins&gt;&quot;)&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;        :css(&quot;text-align&quot;, &quot;center&quot;)&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;        :css(&quot;text-align&quot;, &quot;center&quot;)&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;br /&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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141205&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: nicer &quot;not found&quot; message</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141205&amp;oldid=prev"/>
		<updated>2025-09-26T03:10:48Z</updated>

		<summary type="html">&lt;p&gt;nicer &amp;quot;not found&amp;quot; message&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 03:10, 26 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&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;br /&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;br /&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 not cargo_result or not cargo_result[1] 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 not cargo_result or not cargo_result[1] then&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&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;		local message = mw.html.create(&quot;p&quot;)&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;		return &quot;invalid trait&quot;&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&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;		message:wikitext(&quot;No jobs learn this trait by leveling up. It may be granted by equipment only.&quot;)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&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;		return tostring(message)&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;	end&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;	end&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;br /&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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141204&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: tiers_to_jobs_table: text align, em dashes for empty cells</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141204&amp;oldid=prev"/>
		<updated>2025-09-23T20:48:03Z</updated>

		<summary type="html">&lt;p&gt;tiers_to_jobs_table: text align, em dashes for empty cells&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 20:48, 23 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 140:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 140:&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;        	:tag(&quot;td&quot;)&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;        	:tag(&quot;td&quot;)&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;        	:attr(&quot;data-sort-value&quot;, tier)&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;        	:attr(&quot;data-sort-value&quot;, tier)&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&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;        	:css(&quot;text-align&quot;, &quot;left&quot;)&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;        	:wikitext(trait)&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;        	:wikitext(trait)&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;			:wikitext(&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;			:wikitext(&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 162:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 163:&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;			end&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;			end&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;			&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;			&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;			cell:wikitext(cargo_result[tier][j])&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;			cell:wikitext(cargo_result[tier][j]&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; or &quot;&amp;amp;mdash;&quot;&lt;/ins&gt;)&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;			&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;			&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;			cell:done()&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;			cell:done()&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141203&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: additional guardrail</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141203&amp;oldid=prev"/>
		<updated>2025-09-22T23:10:23Z</updated>

		<summary type="html">&lt;p&gt;additional guardrail&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 23:10, 22 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&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;	)&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;	)&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;br /&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;br /&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;	if not cargo_result then&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;	if not cargo_result&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; or not cargo_result[1]&lt;/ins&gt; then&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;		return &quot;invalid trait&quot;&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;		return &quot;invalid trait&quot;&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;	end&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;	end&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141202&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: typo</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141202&amp;oldid=prev"/>
		<updated>2025-09-22T23:09:02Z</updated>

		<summary type="html">&lt;p&gt;typo&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 23:09, 22 September 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 26:&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 no parameter, default to current page name&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 no parameter, default to current page name&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 not trait or trait == &#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 not trait or trait == &#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;    	&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;page&lt;/del&gt; = mw.title.getCurrentTitle().text&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;    	&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;trait&lt;/ins&gt; = mw.title.getCurrentTitle().text&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;    end&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;    end&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;br /&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;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141201&amp;oldid=prev</id>
		<title>imported&gt;Kaimoon0: Created page with &quot;--  A module for functions relating to job traits.    local p = {}  --[[ tiers_to_jobs_table  Displays information about a job trait&#039;s different tiers in table format, given the job trait name as a parameter. If no parameter is given, defaults to the page name. Uses the Cargo table JobTraitUnlocks, which holds data set by the {{job trait unlock}} templates on each job page.  Example: {{#invoke:Trait|tiers to jobs table}} (on Attack Bonus page)  {{#invoke:Trait|tiers...&quot;</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Module:Trait&amp;diff=141201&amp;oldid=prev"/>
		<updated>2025-09-22T23:07:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;--&lt;a href=&quot;/index.php?title=A_module_for_functions_relating_to_job_traits.&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;A module for functions relating to job traits. (page does not exist)&quot;&gt;A module for functions relating to job traits.  &lt;/a&gt;  local p = {}  --[[ tiers_to_jobs_table  Displays information about a job trait&amp;#039;s different tiers in table format, given the job trait name as a parameter. If no parameter is given, defaults to the page name. Uses the Cargo table JobTraitUnlocks, which holds data set by the {{job trait unlock}} templates on each job page.  Example: {{#invoke:Trait|tiers to jobs table}} (on Attack Bonus page)  {{#invoke:Trait|tiers...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;--[[&lt;br /&gt;
&lt;br /&gt;
A module for functions relating to job traits.&lt;br /&gt;
&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
--[[&lt;br /&gt;
tiers_to_jobs_table&lt;br /&gt;
&lt;br /&gt;
Displays information about a job trait&amp;#039;s different tiers in table format, given&lt;br /&gt;
the job trait name as a parameter. If no parameter is given, defaults to the&lt;br /&gt;
page name. Uses the Cargo table JobTraitUnlocks, which holds data set by the&lt;br /&gt;
{{job trait unlock}} templates on each job page.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
{{#invoke:Trait|tiers to jobs table}} (on Attack Bonus page)&lt;br /&gt;
&lt;br /&gt;
{{#invoke:Trait|tiers to jobs table|Attack Bonus}}&lt;br /&gt;
]]&lt;br /&gt;
&lt;br /&gt;
function p.tiers_to_jobs_table(frame)&lt;br /&gt;
    local trait = frame.args[1]&lt;br /&gt;
&lt;br /&gt;
	-- If no parameter, default to current page name&lt;br /&gt;
    if not trait or trait == &amp;#039;&amp;#039; then&lt;br /&gt;
    	page = mw.title.getCurrentTitle().text&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
	local cargo_result = mw.ext.cargo.query(&lt;br /&gt;
		&amp;quot;JobTraitUnlocks&amp;quot;,&lt;br /&gt;
		[=[&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Warrior&amp;#039; THEN Level END)=[[Warrior|WAR]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Monk&amp;#039; THEN Level END)=[[Monk|MNK]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;White Mage&amp;#039; THEN Level END)=[[White Mage|WHM]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Black Mage&amp;#039; THEN Level END)=[[Black Mage|BLM]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Red Mage&amp;#039; THEN Level END)=[[Red Mage|RDM]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Thief&amp;#039; THEN Level END)=[[Thief|THF]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Paladin&amp;#039; THEN Level END)=[[Paladin|PLD]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Dark Knight&amp;#039; THEN Level END)=[[Dark Knight|DRK]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Beastmaster&amp;#039; THEN Level END)=[[Beastmaster|BST]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Bard&amp;#039; THEN Level END)=[[Bard|BRD]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Ranger&amp;#039; THEN Level END)=[[Ranger|RNG]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Summoner&amp;#039; THEN Level END)=[[Summoner|SMN]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Samurai&amp;#039; THEN Level END)=[[Samurai|SAM]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Ninja&amp;#039; THEN Level END)=[[Ninja|NIN]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Dragoon&amp;#039; THEN Level END)=[[Dragoon|DRG]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Blue Mage&amp;#039; THEN Level END)=[[Blue Mage|BLU]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Corsair&amp;#039; THEN Level END)=[[Corsair|COR]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Puppetmaster&amp;#039; THEN Level END)=[[Puppetmaster|PUP]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Dancer&amp;#039; THEN Level END)=[[Dancer|DNC]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Scholar&amp;#039; THEN Level END)=[[Scholar|SCH]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Geomancer&amp;#039; THEN Level END)=[[Geomancer|GEO]],&lt;br /&gt;
			GROUP_CONCAT(CASE WHEN Job=&amp;#039;Rune Fencer&amp;#039; THEN Level END)=[[Rune Fencer|RUN]]&lt;br /&gt;
		]=],&lt;br /&gt;
		{&lt;br /&gt;
			where = &amp;quot;Trait=&amp;#039;&amp;quot; .. trait .. &amp;quot;&amp;#039;&amp;quot;,&lt;br /&gt;
			orderBy = &amp;quot;Tier&amp;quot;,&lt;br /&gt;
			groupBy = &amp;quot;Tier&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	)&lt;br /&gt;
&lt;br /&gt;
	if not cargo_result then&lt;br /&gt;
		return &amp;quot;invalid trait&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	local jobs =&lt;br /&gt;
		{&lt;br /&gt;
			&amp;quot;[[Warrior|WAR]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Monk|MNK]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[White Mage|WHM]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Black Mage|BLM]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Red Mage|RDM]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Thief|THF]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Paladin|PLD]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Dark Knight|DRK]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Beastmaster|BST]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Bard|BRD]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Ranger|RNG]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Summoner|SMN]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Samurai|SAM]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Ninja|NIN]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Dragoon|DRG]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Blue Mage|BLU]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Corsair|COR]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Puppetmaster|PUP]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Dancer|DNC]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Scholar|SCH]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Geomancer|GEO]]&amp;quot;,&lt;br /&gt;
			&amp;quot;[[Rune Fencer|RUN]]&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
	-- prune empty columns from jobs, iterating backwards&lt;br /&gt;
	for i = #jobs, 1, -1 do&lt;br /&gt;
		if not cargo_result[1][jobs[i]] then&lt;br /&gt;
			table.remove(jobs, i)&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
	-- render the table&lt;br /&gt;
	local root = mw.html.create(&amp;quot;table&amp;quot;)&lt;br /&gt;
        :addClass(&amp;quot;horizon-table sortable&amp;quot;)&lt;br /&gt;
        :css(&amp;quot;max-width&amp;quot;, &amp;quot;fit-content&amp;quot;)&lt;br /&gt;
        :css(&amp;quot;text-align&amp;quot;, &amp;quot;center&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    -- Table header row&lt;br /&gt;
    local header_row = root:tag(&amp;quot;tr&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
    header_row&lt;br /&gt;
		:tag(&amp;quot;th&amp;quot;)&lt;br /&gt;
		:attr(&amp;quot;scope&amp;quot;, &amp;quot;col&amp;quot;)&lt;br /&gt;
		:wikitext(&amp;quot;Tier&amp;quot;)&lt;br /&gt;
		:done()&lt;br /&gt;
&lt;br /&gt;
	for _, j in ipairs(jobs) do&lt;br /&gt;
		local header = header_row:tag(&amp;quot;th&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
		if j == &amp;quot;[[Blue Mage|BLU]]&amp;quot; or j == &amp;quot;[[Corsair|COR]]&amp;quot; or j == &amp;quot;[[Puppetmaster|PUP]]&amp;quot; then&lt;br /&gt;
			header:addClass(&amp;quot;toau&amp;quot;)&lt;br /&gt;
		elseif j == &amp;quot;[[Dancer|DNC]]&amp;quot; or j == &amp;quot;[[Scholar|SCH]]&amp;quot; then&lt;br /&gt;
			header:addClass(&amp;quot;wotg&amp;quot;)&lt;br /&gt;
		elseif j == &amp;quot;[[Geomancer|GEO]]&amp;quot; or j == &amp;quot;[[Rune Fencer|RUN]]&amp;quot; then&lt;br /&gt;
			header:addClass(&amp;quot;soa&amp;quot;)&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		header&lt;br /&gt;
			:attr(&amp;quot;scope&amp;quot;, &amp;quot;col&amp;quot;)&lt;br /&gt;
			:addClass(&amp;quot;unsortable&amp;quot;)&lt;br /&gt;
			:wikitext(j)&lt;br /&gt;
			:done()&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
    -- Table rows&lt;br /&gt;
	for tier, cargo_row in ipairs(cargo_result) do&lt;br /&gt;
&lt;br /&gt;
        local row = root:tag(&amp;quot;tr&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
        row&lt;br /&gt;
        	:tag(&amp;quot;td&amp;quot;)&lt;br /&gt;
        	:attr(&amp;quot;data-sort-value&amp;quot;, tier)&lt;br /&gt;
        	:wikitext(trait)&lt;br /&gt;
			:wikitext(&lt;br /&gt;
				tier == 2 and &amp;#039; II&amp;#039; or&lt;br /&gt;
				tier == 3 and &amp;#039; III&amp;#039; or&lt;br /&gt;
				tier == 4 and &amp;#039; IV&amp;#039; or&lt;br /&gt;
				tier == 5 and &amp;#039; V&amp;#039; or&lt;br /&gt;
				tier == 6 and &amp;#039; VI&amp;#039; or&lt;br /&gt;
				&amp;#039;&amp;#039;&lt;br /&gt;
			)&lt;br /&gt;
        	:done()&lt;br /&gt;
&lt;br /&gt;
		for _, j in ipairs(jobs) do&lt;br /&gt;
			local cell = row:tag(&amp;quot;td&amp;quot;)&lt;br /&gt;
			&lt;br /&gt;
			if j == &amp;quot;[[Blue Mage|BLU]]&amp;quot; or j == &amp;quot;[[Corsair|COR]]&amp;quot; or j == &amp;quot;[[Puppetmaster|PUP]]&amp;quot; then&lt;br /&gt;
				cell:addClass(&amp;quot;toau&amp;quot;)&lt;br /&gt;
			elseif j == &amp;quot;[[Dancer|DNC]]&amp;quot; or j == &amp;quot;[[Scholar|SCH]]&amp;quot; then&lt;br /&gt;
				cell:addClass(&amp;quot;wotg&amp;quot;)&lt;br /&gt;
			elseif j == &amp;quot;[[Geomancer|GEO]]&amp;quot; or j == &amp;quot;[[Rune Fencer|RUN]]&amp;quot; then&lt;br /&gt;
				cell:addClass(&amp;quot;soa&amp;quot;)&lt;br /&gt;
			end&lt;br /&gt;
			&lt;br /&gt;
			cell:wikitext(cargo_result[tier][j])&lt;br /&gt;
			&lt;br /&gt;
			cell:done()&lt;br /&gt;
		end&lt;br /&gt;
		&lt;br /&gt;
		row:done()&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    root:done()&lt;br /&gt;
    &lt;br /&gt;
    return tostring(root)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
p[&amp;quot;tiers to jobs table&amp;quot;] = p.tiers_to_jobs_table -- alias&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Kaimoon0</name></author>
	</entry>
</feed>