<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASMW_table%2Fdoc</id>
	<title>Template:SMW table/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.runerealm.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASMW_table%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:SMW_table/doc&amp;action=history"/>
	<updated>2026-05-01T04:19:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.1</generator>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:SMW_table/doc&amp;diff=38733&amp;oldid=prev</id>
		<title>Alex at 10:58, 17 October 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:SMW_table/doc&amp;diff=38733&amp;oldid=prev"/>
		<updated>2024-10-17T10:58:50Z</updated>

		<summary type="html">&lt;p&gt;&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 12:58, 17 October 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 60:&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;}}&amp;lt;/pre&amp;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;}}&amp;lt;/pre&amp;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;This query will look for any submodules of &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/del&gt;pages with the given categories, &#039;&#039;OR&#039;&#039; &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;mw.&lt;/del&gt;pages in these categories that have a specified combat level (implying that there is no switch infobox)&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;This query will look for any submodules of pages with the given categories, &#039;&#039;OR&#039;&#039; pages in these categories that have a specified combat level (implying that there is no switch infobox)&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;&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;{{SMW table|class=mw-collapsible mw-collapsed&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;{{SMW table|class=mw-collapsible mw-collapsed&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-37792:rev-38733:wikidiff2=table:1.13.0:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
	<entry>
		<id>https://wiki.runerealm.org/index.php?title=Template:SMW_table/doc&amp;diff=37792&amp;oldid=prev</id>
		<title>Alex: Created page with &quot;{{documentation}}  This template can be used to generate a table based on a Semantic MediaWiki query, able to show any number of SMW properties in its columns.  == Parameters ==  The following table shows the available parameters, with &lt;code&gt;X&lt;/code&gt; representing the index of the column/property that is being customised. For the parameters that specify a version without &lt;code&gt;X&lt;/code&gt;, the default can be defined by setting the parameter without a number (e.g. &lt;code&gt;|data...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.runerealm.org/index.php?title=Template:SMW_table/doc&amp;diff=37792&amp;oldid=prev"/>
		<updated>2024-10-16T23:47:27Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{documentation}}  This template can be used to generate a table based on a Semantic MediaWiki query, able to show any number of SMW properties in its columns.  == Parameters ==  The following table shows the available parameters, with &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; representing the index of the column/property that is being customised. For the parameters that specify a version without &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt;, the default can be defined by setting the parameter without a number (e.g. &amp;lt;code&amp;gt;|data...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{documentation}}&lt;br /&gt;
&lt;br /&gt;
This template can be used to generate a table based on a Semantic MediaWiki query, able to show any number of SMW properties in its columns.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
&lt;br /&gt;
The following table shows the available parameters, with &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt; representing the index of the column/property that is being customised. For the parameters that specify a version without &amp;lt;code&amp;gt;X&amp;lt;/code&amp;gt;, the default can be defined by setting the parameter without a number (e.g. &amp;lt;code&amp;gt;|data=number&amp;lt;/code&amp;gt; to set the default column datatype to numbers)&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Default&lt;br /&gt;
!Use&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;colX&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{NA}}&lt;br /&gt;
|To specify the property to search for. This value will also be passed as the second &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;headerX&amp;lt;/code&amp;gt; format.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;imgX&amp;lt;/code&amp;gt;&lt;br /&gt;
|[[File:Unknown NPC.png|x30px|link=]]&lt;br /&gt;
|To specify the image that should be placed at the top of the table. This value will be passed as the first &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; in the &amp;lt;code&amp;gt;headerX&amp;lt;/code&amp;gt; format.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;limit&amp;lt;/code&amp;gt;&lt;br /&gt;
|100&lt;br /&gt;
|Set the maximum amount of results that are shown in a single table.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;header&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;headerX&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;[[File:%s|link=|%s]]&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
|Provides the format for the table header. The first &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; in this string will be substituted by the value of &amp;lt;code&amp;gt;img&amp;lt;/code&amp;gt; in that column, and the second &amp;lt;code&amp;gt;%s&amp;lt;/code&amp;gt; will be substituted by the value of &amp;lt;code&amp;gt;col&amp;lt;/code&amp;gt; for that column.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;dataX&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;number&amp;lt;/code&amp;gt;&lt;br /&gt;
|The format given in the specified column. This value determines the sort order for that column. Set to &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt; if the column contains text instead of numbers.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;sep&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sepX&amp;lt;/code&amp;gt;&lt;br /&gt;
|&amp;lt;code&amp;gt;, &amp;lt;/code&amp;gt;&lt;br /&gt;
|The separator used to join properties that contain multiple values. If one value is associated with the given property this parameter is not used.&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;code&amp;gt;class&amp;lt;/code&amp;gt;&lt;br /&gt;
|{{NA}}&lt;br /&gt;
|Additional classes to assign to the table. Classes that will always be assigned are &amp;lt;code&amp;gt;wikitable sortable sticky-header&amp;lt;/code&amp;gt;.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
A &amp;lt;code&amp;gt;col0&amp;lt;/code&amp;gt; may also be specified to insert a row to the left of the article name, which may be useful for inserting images. If such a col is specified, the &amp;lt;code&amp;gt;data0&amp;lt;/code&amp;gt; parameter can be used to specify if the column should be shown as an &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt; (default), &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;pre&amp;gt;{{SMW table|class=mw-collapsible mw-collapsed&lt;br /&gt;
|[[Is variant of::&amp;lt;q&amp;gt;[[Category:Undead]]&amp;lt;/q&amp;gt;]][[Is variant of::&amp;lt;q&amp;gt;[[Category:Monsters]]&amp;lt;/q&amp;gt;]] OR &lt;br /&gt;
[[Combat level::+]][[Category:Undead]][[Category:Monsters]]&lt;br /&gt;
|data=number&lt;br /&gt;
|col0=Image&lt;br /&gt;
|col1=Is members only|img1=Member icon.png&lt;br /&gt;
|col2=Attack level|img2=Attack icon.png&lt;br /&gt;
|col3=Strength level|img3=Strength icon.png&lt;br /&gt;
|col4=Defence level|img4=Defence icon.png&lt;br /&gt;
|col5=Ranged level|img5=Ranged icon.png&lt;br /&gt;
|col6=Magic level|img6=Magic icon.png&lt;br /&gt;
|col7=Hitpoints|img7=Hitpoints icon.png&lt;br /&gt;
|col8=Combat level|img8=Attack style icon.png&lt;br /&gt;
|col9=NPC ID|header9=NPC ID|sep8=&amp;lt;nowiki&amp;gt; / &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This query will look for any submodules of mw.pages with the given categories, &amp;#039;&amp;#039;OR&amp;#039;&amp;#039; mw.pages in these categories that have a specified combat level (implying that there is no switch infobox)&lt;br /&gt;
&lt;br /&gt;
{{SMW table|class=mw-collapsible mw-collapsed&lt;br /&gt;
|[[Is variant of::&amp;lt;q&amp;gt;[[Category:Undead]]&amp;lt;/q&amp;gt;]][[Is variant of::&amp;lt;q&amp;gt;[[Category:Monsters]]&amp;lt;/q&amp;gt;]] OR &lt;br /&gt;
[[Combat level::+]][[Category:Undead]][[Category:Monsters]]&lt;br /&gt;
|data=number&lt;br /&gt;
|col0=Image&lt;br /&gt;
|col1=Is members only|img1=Member icon.png&lt;br /&gt;
|col2=Attack level|img2=Attack icon.png&lt;br /&gt;
|col3=Strength level|img3=Strength icon.png&lt;br /&gt;
|col4=Defence level|img4=Defence icon.png&lt;br /&gt;
|col5=Ranged level|img5=Ranged icon.png&lt;br /&gt;
|col6=Magic level|img6=Magic icon.png&lt;br /&gt;
|col7=Hitpoints|img7=Hitpoints icon.png&lt;br /&gt;
|col8=Combat level|img8=Attack style icon.png&lt;br /&gt;
|col9=NPC ID|header9=NPC ID|sep8=&amp;lt;nowiki&amp;gt; / &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Alex</name></author>
	</entry>
</feed>