<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.seculargames.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASDRL</id>
	<title>Template:SDRL - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.seculargames.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASDRL"/>
	<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=Template:SDRL&amp;action=history"/>
	<updated>2026-06-14T19:07:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.seculargames.org/index.php?title=Template:SDRL&amp;diff=45993&amp;oldid=prev</id>
		<title>imported&gt;Fishboy: Created page with &quot;&lt;includeonly&gt;&lt;!-- DRvar_xx are the running page totals for each item                   DRvar_count is the line total                   DRvar_total is the running page total of...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=Template:SDRL&amp;diff=45993&amp;oldid=prev"/>
		<updated>2025-04-16T05:35:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;!-- DRvar_xx are the running page totals for each item                   DRvar_count is the line total                   DRvar_total is the running page total of...&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;!-- DRvar_xx are the running page totals for each item&lt;br /&gt;
                  DRvar_count is the line total&lt;br /&gt;
                  DRvar_total is the running page total of &amp;quot;line totals&amp;quot;&lt;br /&gt;
                  DRvar_columns_manual is the total number of columns minus 1 (for the automatic total column)&lt;br /&gt;
                  And the if statement following this line just stops the variables from displaying line breaks around #vardefines, it doesn&amp;#039;t do anything&lt;br /&gt;
--&amp;gt;{{#if:&lt;br /&gt;
{{#vardefine:DR_linecount | {{#expr: {{#var:DR_linecount}} + 1 }} }}&lt;br /&gt;
{{#vardefine:DRvar_count}}&amp;lt;!-- reset each line --&amp;gt;&lt;br /&gt;
{{#arraymap: {{#var:numbers}} |,|@@@|&lt;br /&gt;
 {{#vardefine:DRvar_count| {{#expr: {{#var:DRvar_count|0}} + {{{{{#var:s@@@}}|0}}} }} }}&lt;br /&gt;
 {{#vardefine:DRvar_@@@  | {{#expr: {{#var:DRvar_@@@}}  + {{{{{#var:s@@@}}|0}}}  }} }}&lt;br /&gt;
|}}&lt;br /&gt;
{{#vardefine:DRvar_total | {{#expr: {{#var:DRvar_total}} + {{#if: {{{Total|}}} | {{{Total|0}}} | {{#var:DRvar_count}} }} }} }}&lt;br /&gt;
}}|- style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
| style=&amp;quot;border-right:1px solid #aaa; text-align:left&amp;quot; | {{#if: {{{Total|}}} | {{{Total|0}}} | {{#var:DRvar_count}} }}&lt;br /&gt;
| {{#arraymap: {{#var:numbers}} |,|@@@|&lt;br /&gt;
    {{#ifexpr: {{#var:DRvar_columns_manual}} &amp;gt; @@@ | {{{{{#var:s@@@}}|0}}}&lt;br /&gt;
{{!}} }}&lt;br /&gt;
  |}}&amp;lt;div style=&amp;quot;white-space:nowrap;&amp;quot; align=&amp;quot;left&amp;quot;&amp;gt;{{trim|{{{1|}}}}}&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;__NOTOC__&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;S&amp;#039;&amp;#039;&amp;#039;tandard &amp;#039;&amp;#039;&amp;#039;D&amp;#039;&amp;#039;&amp;#039;rop &amp;#039;&amp;#039;&amp;#039;R&amp;#039;&amp;#039;&amp;#039;ate &amp;#039;&amp;#039;&amp;#039;L&amp;#039;&amp;#039;&amp;#039;ine template.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
This template produces each user&amp;#039;s data row of a drop rate research table. (i.e. It provides the total number of entries provided by the user and the value for each entry.)&lt;br /&gt;
&lt;br /&gt;
It won&amp;#039;t work without first using the {{tl|SDRH}} (the header template) which initialises parameter names.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
:This template will use whichever parameter names have been specified in the drop rate header, using the &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;s1 ... s50&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt; shortcuts.&lt;br /&gt;
:If shortcuts are not specified, then the parameter names default to the names of the items specified by the unnamed parameters &amp;lt;b&amp;gt;&amp;lt;tt&amp;gt;1 ... 50&amp;lt;/tt&amp;gt;&amp;lt;/b&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
;Unnamed parameter 1&lt;br /&gt;
:The user&amp;#039;s signature. &amp;lt;nowiki&amp;gt;~~~&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
;Total&lt;br /&gt;
:The user specified total. This will change the footer to calculate the average items received each time a box/bag/gift/thing is opened.&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
Empty parameters may be omitted, i.e. there is no point using &amp;lt;tt&amp;gt;&amp;lt;predefined parameter3&amp;gt; = 0&amp;lt;/tt&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{SDRL| &amp;lt;predefined parameter1&amp;gt; = 5 | &amp;lt;predefined parameter3&amp;gt; = 2 | &amp;lt;predefined parameter4&amp;gt; = 1 | ~~~ }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[Category:Drop rate templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Taken from the Guildwars 2 wiki https://wiki.guildwars2.com/wiki/Template:SDRL --!&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fishboy</name></author>
	</entry>
</feed>