<?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=Template%3AGetLevelRange%2FPreprocess</id>
	<title>Template:GetLevelRange/Preprocess - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://horizonwiki.lol/index.php?action=history&amp;feed=atom&amp;title=Template%3AGetLevelRange%2FPreprocess"/>
	<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Template:GetLevelRange/Preprocess&amp;action=history"/>
	<updated>2026-05-03T20:15:44Z</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=Template:GetLevelRange/Preprocess&amp;diff=100166&amp;oldid=prev</id>
		<title>imported&gt;Aramachus at 11:44, 16 September 2024</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Template:GetLevelRange/Preprocess&amp;diff=100166&amp;oldid=prev"/>
		<updated>2024-09-16T11:44:11Z</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 11:44, 16 September 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&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;gt;{{#if:{{#explode:{{{1}}}|-|1}}|{{#explode:{{{1}}}|-|1}}|&amp;lt;!--&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;gt;{{#if:{{#explode:{{{1}}}|-|1}}|{{#explode:{{{1}}}|-|1}}|&amp;lt;!--&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 there is a plus at the end of the input, take everything but the plus&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 there is a plus at the end of the input, take everything but the plus&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;--&amp;gt;{{#ifeq:{{#sub:{{{1}}}|-1}}|+|{{#sub:{{{1}}}|0|-1}}&amp;lt;!--&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;--&amp;gt;{{#ifeq:{{#sub:{{{1}}}|-1}}|+|{{#sub:{{{1}}}|0|-1}}&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;|&lt;/ins&gt;&amp;lt;!--&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;else just pass the argument through (could do a check if the expression is valid but that might be costly&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;--&amp;gt;{{{1}}}&amp;lt;!--&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;--&amp;gt;}}}}}}&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&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;gt;}}}}}}&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&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;div&gt;==Usage==&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;==Usage==&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 14:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&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;{{GetLevelRange/Preprocess|55+}}&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;{{GetLevelRange/Preprocess|55+}}&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;div&gt;{{GetLevelRange/Preprocess|55+}}&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;{{GetLevelRange/Preprocess|55+}}&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;br /&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;&amp;lt;pre&amp;gt;{{GetLevelRange/Preprocess|55}}&amp;lt;/pre&amp;gt;&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;{{GetLevelRange/Preprocess|55}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Aramachus</name></author>
	</entry>
	<entry>
		<id>http://horizonwiki.lol/index.php?title=Template:GetLevelRange/Preprocess&amp;diff=100165&amp;oldid=prev</id>
		<title>imported&gt;Aramachus: Created page with &quot;&lt;includeonly&gt;&lt;onlyinclude&gt;{{#if:{{{1|}}}|&lt;!-- if there is a minus in the input, take the part after the minus --&gt;{{#if:{{#explode:{{{1}}}|-|1}}|{{#explode:{{{1}}}|-|1}}|&lt;!-- if there is a plus at the end of the input, take everything but the plus --&gt;{{#ifeq:{{#sub:{{{1}}}|-1}}|+|{{#sub:{{{1}}}|0|-1}}&lt;!-- --&gt;}}}}}}&lt;/onlyinclude&gt;&lt;/includeonly&gt; ==Usage== Preprocessing Template for Template:GetLevelRange that is supposed to catch all exceptions that are not pure numbers...&quot;</title>
		<link rel="alternate" type="text/html" href="http://horizonwiki.lol/index.php?title=Template:GetLevelRange/Preprocess&amp;diff=100165&amp;oldid=prev"/>
		<updated>2024-09-16T11:42:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;onlyinclude&amp;gt;{{#if:{{{1|}}}|&amp;lt;!-- if there is a minus in the input, take the part after the minus --&amp;gt;{{#if:{{#explode:{{{1}}}|-|1}}|{{#explode:{{{1}}}|-|1}}|&amp;lt;!-- if there is a plus at the end of the input, take everything but the plus --&amp;gt;{{#ifeq:{{#sub:{{{1}}}|-1}}|+|{{#sub:{{{1}}}|0|-1}}&amp;lt;!-- --&amp;gt;}}}}}}&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&amp;gt; ==Usage== Preprocessing Template for &lt;a href=&quot;/wiki/Template:GetLevelRange&quot; title=&quot;Template:GetLevelRange&quot;&gt;Template:GetLevelRange&lt;/a&gt; that is supposed to catch all exceptions that are not pure numbers...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;&amp;lt;onlyinclude&amp;gt;{{#if:{{{1|}}}|&amp;lt;!--&lt;br /&gt;
if there is a minus in the input, take the part after the minus&lt;br /&gt;
--&amp;gt;{{#if:{{#explode:{{{1}}}|-|1}}|{{#explode:{{{1}}}|-|1}}|&amp;lt;!--&lt;br /&gt;
if there is a plus at the end of the input, take everything but the plus&lt;br /&gt;
--&amp;gt;{{#ifeq:{{#sub:{{{1}}}|-1}}|+|{{#sub:{{{1}}}|0|-1}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;}}}}}}&amp;lt;/onlyinclude&amp;gt;&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
==Usage==&lt;br /&gt;
Preprocessing Template for [[Template:GetLevelRange]] that is supposed to catch all exceptions that are not pure numbers but, e.g. &amp;quot;41-43&amp;quot; or &amp;quot;55+&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{GetLevelRange/Preprocess|40-42}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{GetLevelRange/Preprocess|40-42}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;{{GetLevelRange/Preprocess|55+}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
{{GetLevelRange/Preprocess|55+}}&lt;/div&gt;</summary>
		<author><name>imported&gt;Aramachus</name></author>
	</entry>
</feed>