<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://lg15.com/lgpedia/index.php?action=history&amp;feed=atom&amp;title=Template%3AMAEpcode</id>
		<title>Template:MAEpcode - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://lg15.com/lgpedia/index.php?action=history&amp;feed=atom&amp;title=Template%3AMAEpcode"/>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;action=history"/>
		<updated>2026-04-19T05:08:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172471&amp;oldid=prev</id>
		<title>FH14 at 00:17, 9 August 2016</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172471&amp;oldid=prev"/>
				<updated>2016-08-09T00:17:33Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 00:17, 9 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 37 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-36 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-36) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-36) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-36 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;36&lt;/ins&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 37 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-36 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-36) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-36) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-36 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FH14</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172452&amp;oldid=prev</id>
		<title>FH14 at 18:44, 8 August 2016</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172452&amp;oldid=prev"/>
				<updated>2016-08-08T18:44:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:44, 8 August 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 40) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/del&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/del&gt;}} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/del&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 40) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;37 &lt;/ins&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;36 &lt;/ins&gt;}} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;36&lt;/ins&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;36&lt;/ins&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;36 &lt;/ins&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FH14</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172172&amp;oldid=prev</id>
		<title>FH14 at 06:33, 24 July 2016</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172172&amp;oldid=prev"/>
				<updated>2016-07-24T06:33:56Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:33, 24 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/del&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 41 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-40 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-40) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-40) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-40 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/ins&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 41 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-40 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-40) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-40) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-40 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FH14</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172171&amp;oldid=prev</id>
		<title>FH14 at 06:32, 24 July 2016</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172171&amp;oldid=prev"/>
				<updated>2016-07-24T06:32:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:32, 24 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;42 &lt;/del&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/del&gt;}} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/del&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/del&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/del&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/ins&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/ins&gt;}} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/ins&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/ins&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/ins&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FH14</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172170&amp;oldid=prev</id>
		<title>FH14 at 06:31, 24 July 2016</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=172170&amp;oldid=prev"/>
				<updated>2016-07-24T06:31:02Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:31, 24 July 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;lt;noinclude&amp;gt;{{Delete|Delete and move to Maddypedia.}}&amp;lt;/noinclude&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>FH14</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=160584&amp;oldid=prev</id>
		<title>Kevin at 17:44, 16 May 2009</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=160584&amp;oldid=prev"/>
				<updated>2009-05-16T17:44:32Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:44, 16 May 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&amp;lt;noinclude&amp;gt;{{Delete|Delete and move to Maddypedia.}}&amp;lt;/noinclude&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:UGC page templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kevin</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=155687&amp;oldid=prev</id>
		<title>199.248.185.22 at 16:04, 24 March 2009</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=155687&amp;oldid=prev"/>
				<updated>2009-03-24T16:04:59Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:04, 24 March 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Templates&lt;/del&gt;|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | chapter = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | chapter = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 41) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | chapter = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 42 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-41 }} | chapter = 3 | 3x{{ #ifexpr: ({{{1}}}-41) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-41) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-41 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (chapternumber)x(episodenumber within chapter) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;chapter&amp;lt;/code&amp;gt; can be passed as a second argument to return only the chapter number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;UGC page templates&lt;/ins&gt;|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>199.248.185.22</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=134721&amp;oldid=prev</id>
		<title>Jonpro at 04:24, 6 July 2008</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=134721&amp;oldid=prev"/>
				<updated>2008-07-06T04:24:46Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 04:24, 6 July 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; 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;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season &lt;/del&gt;= 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season &lt;/del&gt;= 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season &lt;/del&gt;= 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/del&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/del&gt;}} | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season &lt;/del&gt;= 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40&lt;/del&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;40 &lt;/del&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;seasonnumber&lt;/del&gt;)x(episodenumber within &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season&lt;/del&gt;) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;epcode&lt;/del&gt;|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season&lt;/del&gt;&amp;lt;/code&amp;gt; can be passed as a second argument to return only the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;season &lt;/del&gt;number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:Templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter &lt;/ins&gt;= 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter &lt;/ins&gt;= 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/ins&gt;) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter &lt;/ins&gt;= 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;42 &lt;/ins&gt;| {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/ins&gt;}} | &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter &lt;/ins&gt;= 3 | 3x{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/ins&gt;) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41&lt;/ins&gt;) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;41 &lt;/ins&gt;}} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapternumber&lt;/ins&gt;)x(episodenumber within &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter&lt;/ins&gt;) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;MAEpcode&lt;/ins&gt;|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter&lt;/ins&gt;&amp;lt;/code&amp;gt; can be passed as a second argument to return only the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;chapter &lt;/ins&gt;number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:Templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jonpro</name></author>	</entry>

	<entry>
		<id>http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=134717&amp;oldid=prev</id>
		<title>Jonpro: New page: &lt;includeonly&gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &lt;!-- --&gt;|{{ #ifexpr: {{{1}}} &lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | season = 0 | 0x{{{1}}} }} |}}&lt;...</title>
		<link rel="alternate" type="text/html" href="http://lg15.com/lgpedia/index.php?title=Template:MAEpcode&amp;diff=134717&amp;oldid=prev"/>
				<updated>2008-07-06T04:17:27Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;lt;includeonly&amp;gt;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | season = 0 | 0x{{{1}}} }} |}}&amp;lt;...&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;{{ #if: {{#ifeq: {{#ifexpr: {{{1}}} | true|true}} | true | {{{1|}}} |}} &amp;lt;!-- --&amp;gt;|{{ #ifexpr: {{{1}}} &amp;lt;= 0 | {{#switch: {{{2}}} | raw = {{{1}}} | season = 0 | 0x{{{1}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 1) and ({{{1}}} &amp;lt;= 13) | {{#switch: {{{2}}} | raw = {{#expr:{{{1}}}}} | season = 1 | 1x{{ #ifexpr: {{{1}}} &amp;lt; 100 |0|}}{{ #ifexpr: {{{1}}} &amp;lt; 10 |0|}}{{#expr:{{{1}}}}} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: ({{{1}}} &amp;gt;= 14) and ({{{1}}} &amp;lt;= 40) | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-13 }} | season = 2 | 2x{{ #ifexpr: ({{{1}}}-13) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-13) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-13 }} }} |}}&amp;lt;!-- --&amp;gt;{{ #ifexpr: {{{1}}} &amp;gt;= 41 | {{#switch: {{{2}}} | raw = {{#expr: {{{1}}}-40 }} | season = 3 | 3x{{ #ifexpr: ({{{1}}}-40) &amp;lt; 100 |0|}}{{ #ifexpr: ({{{1}}}-40) &amp;lt; 10 |0|}}{{#expr: {{{1}}}-40 }} }} |}}&amp;lt;!-- --&amp;gt;|}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template generates episode codes in the form of (seasonnumber)x(episodenumber within season) from normal, continuous episode numbers.&amp;lt;br&amp;gt;'''Usage:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{epcode|Normal episode number}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;'''Example:''' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{MAEpcode|37}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; gives {{MAEpcode|37}}&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;raw&amp;lt;/code&amp;gt; can be passed as a second argument to turn off the leading #x.&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;season&amp;lt;/code&amp;gt; can be passed as a second argument to return only the season number.&amp;lt;br&amp;gt;If the input is not a number, nothing is returned.[[Category:Templates|{{PAGENAME}}]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jonpro</name></author>	</entry>

	</feed>