<?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%3ASDRH</id>
	<title>Template:SDRH - 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%3ASDRH"/>
	<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=Template:SDRH&amp;action=history"/>
	<updated>2026-06-14T17:07:39Z</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:SDRH&amp;diff=45992&amp;oldid=prev</id>
		<title>imported&gt;Fishboy: Created page with &quot;&lt;includeonly&gt;&lt;!--  --&gt;{{#vardefine:DRvar_total|0}}&lt;!--                                  Variable for running total --&gt;{{#vardefine:size|{{{size|50}}}px}}&lt;!--                  ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.seculargames.org/index.php?title=Template:SDRH&amp;diff=45992&amp;oldid=prev"/>
		<updated>2025-04-16T05:32:59Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;&amp;lt;!--  --&amp;gt;{{#vardefine:DRvar_total|0}}&amp;lt;!--                                  Variable for running total --&amp;gt;{{#vardefine:size|{{{size|50}}}px}}&amp;lt;!--                  ...&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;!-- &lt;br /&gt;
--&amp;gt;{{#vardefine:DRvar_total|0}}&amp;lt;!--                                  Variable for running total&lt;br /&gt;
--&amp;gt;{{#vardefine:size|{{{size|50}}}px}}&amp;lt;!--                           Default size of images&lt;br /&gt;
--&amp;gt;{{#vardefine:labels|{{{labels|no}}}}}&amp;lt;!--                         Set to &amp;quot;yes&amp;quot; if labels are to be included&lt;br /&gt;
--&amp;gt;{{#vardefine:numbers|{{{numbers|1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50}}}}}&amp;lt;!--&lt;br /&gt;
--&amp;gt;{{#ifeq: {{{manual totals|yes}}} | yes | {{#vardefine:manual total|1}} }}&amp;lt;!---&lt;br /&gt;
  Generic boilerplate header&lt;br /&gt;
--&amp;gt;{{#ifeq:{{{noheading|false}}}|true||{{research}}&lt;br /&gt;
&lt;br /&gt;
This page is for recording items received from {{{subject|the [[{{#titleparts: {{FULLPAGENAME}}|-1}}]]}}}. The {{#ifeq: {{{manual totals|yes}}} | yes | values at the bottom of the page, i.e. the totals and averages, are updated automatically.&lt;br /&gt;
&lt;br /&gt;
This table has been setup to use a manual total for each line — i.e. the number of boxes opened. This allows you to write down the initial number of boxes, open them all, and then count up the number of items you have received. | line totals, grand totals and overall percentages at the bottom are updated automatically based on the number of entries, and as such may not reflect the actual chance of receiving an item if multiple items are received each time.&lt;br /&gt;
&lt;br /&gt;
Some boxes can give the user multiple amounts of a single item each time they are opened. If a player opens a single box and receives 3 of item A, and 1 of item C, then 1 would be added to the existing line count for both item A and C. }} &lt;br /&gt;
&lt;br /&gt;
To add data, edit the page and copy the referenced new line format at the end of the table. If you already have a line, edit that instead.}}&lt;br /&gt;
&amp;lt;!-- Create table and define variables for item amounts --&amp;gt;{| {{STDT|{{{class|mech1}}}}}&lt;br /&gt;
|- &lt;br /&gt;
! {{{title|[[{{BASEPAGENAME}}]]}}}&lt;br /&gt;
! {{#arraymap:{{numbers|1|50}}|,|@@@|&lt;br /&gt;
&amp;lt;!-- The following customized display variables are setup here: image, image size, image link - this way they can be used in the footer.&lt;br /&gt;
     And also the number of data columns is recorded for later reference.&lt;br /&gt;
---&amp;gt;&lt;br /&gt;
  {{#if: {{{@@@|}}}|&lt;br /&gt;
    {{#vardefine:i@@@|{{#if: {{{i@@@|}}}&lt;br /&gt;
                       | File:{{trim|{{{i@@@}}}}}&amp;lt;!-- trim required due to whitespace --&amp;gt;&lt;br /&gt;
                       | {{#show: {{{@@@}}} | ?Has game icon | link = none | default = File:Skill.png }}&lt;br /&gt;
                       }}&lt;br /&gt;
    }}&lt;br /&gt;
    {{#vardefine:is@@@|{{{is@@@|{{#var:size}}}}}}}&lt;br /&gt;
    {{#vardefine:l@@@|{{{l@@@|{{{@@@}}}}}}}}&lt;br /&gt;
    {{#vardefine:s@@@|{{{s@@@|{{{@@@}}}}}}}}&lt;br /&gt;
    {{#vardefine:DRvar_data_columns|@@@}}&lt;br /&gt;
    {{#vardefine:DRvar_@@@|0}}&lt;br /&gt;
    [[{{#var:i@@@}}|{{#var:is@@@}}|link={{#var:l@@@}}]] !!&lt;br /&gt;
  }}&lt;br /&gt;
|}}{{#ifeq: {{#var:labels}} | yes | &amp;lt;br&amp;gt;&lt;br /&gt;
{{!}}-    &amp;lt;!-- Optional labels section ---&amp;gt;&lt;br /&gt;
! style=&amp;quot;text-align:left;&amp;quot; {{!}} {{#ifeq: {{{manual totals|yes}}} | yes | {{{totals label|Items opened}}} }}{{#arraymap:{{#var:numbers}}|,|@@@|&lt;br /&gt;
    {{#if: {{{@@@|}}} | {{#vardefineecho:label@@@ | !! {{{label@@@|{{{@@@}}}}}}}} }} &lt;br /&gt;
  |}} !! Signature|Signature&lt;br /&gt;
}}&amp;lt;!--&lt;br /&gt;
To only show the used columns, we keep track of the widths used for colspans with these two variables:&lt;br /&gt;
--&amp;gt;{{#vardefine:DRvar_columns_manual|{{#expr: {{#var:DRvar_data_columns|0}} + 1 }}}}&amp;lt;!-- This is used in SDRL and SDRF, and hides values for non-existant data columns&lt;br /&gt;
--&amp;gt;{{#vardefine:DRvar_columns_total |{{#expr: {{#var:DRvar_data_columns|0}} + 2 }}}}&amp;lt;!-- This is used in SDRH and SDRF, and determines the width of the colspan across the width of the table --&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| colspan = {{#var:DRvar_columns_total}} | {{anchor|User Entries}} &amp;#039;&amp;#039;&amp;#039;User entries&amp;#039;&amp;#039;&amp;#039;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;{{TOCright}}&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;H&amp;#039;&amp;#039;&amp;#039;eader template.&lt;br /&gt;
&lt;br /&gt;
{{Template:SDRH/documentation}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|SDRL}}&lt;br /&gt;
* {{tl|SDRF}}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
* Based on work by [[gw1:User:Tub|User:Tub]] from GWW at [[gw1:Royal Gift/Drop rate|Royal Gift/Drop rate]].&lt;br /&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:SDRH --!&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Fishboy</name></author>
	</entry>
</feed>