<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrack_gauge%2Fdata%2Fdoc</id>
	<title>Module:Track gauge/data/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.railos.org/index.php?action=history&amp;feed=atom&amp;title=Module%3ATrack_gauge%2Fdata%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Track_gauge/data/doc&amp;action=history"/>
	<updated>2026-04-06T07:50:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Track_gauge/data/doc&amp;diff=257&amp;oldid=prev</id>
		<title>Daniel: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Track_gauge/data/doc&amp;diff=257&amp;oldid=prev"/>
		<updated>2021-05-06T09:48:22Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&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-GB&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 09:48, 6 May 2021&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key ros_wiki:diff::1.12:old-256:rev-257 --&gt;
&lt;/table&gt;</summary>
		<author><name>Daniel</name></author>
	</entry>
	<entry>
		<id>https://wiki.railos.org/index.php?title=Module:Track_gauge/data/doc&amp;diff=256&amp;oldid=prev</id>
		<title>w&gt;DePiep: Undid revision 1011262857 by DePiep (talk)</title>
		<link rel="alternate" type="text/html" href="https://wiki.railos.org/index.php?title=Module:Track_gauge/data/doc&amp;diff=256&amp;oldid=prev"/>
		<updated>2021-03-09T22:37:50Z</updated>

		<summary type="html">&lt;p&gt;Undid revision 1011262857 by &lt;a href=&quot;/index.php/Special:Contributions/DePiep&quot; title=&quot;Special:Contributions/DePiep&quot;&gt;DePiep&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:DePiep&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:DePiep (page does not exist)&quot;&gt;talk&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{sandbox other||{{Module rating|protected}}}}&lt;br /&gt;
[[Module:Track gauge/data]] holds the data for [[Module:Track gauge]] and template {{tlt|Track gauge}}. It contains over 230 track gauge definitions (widths), often by different units (defined metric and/or imperial).&lt;br /&gt;
&lt;br /&gt;
==Entry data structure==&lt;br /&gt;
A single entry is a subtable (by &amp;lt;code&amp;gt;{...}&amp;lt;/code&amp;gt;) in the data page. The full entry is approached by an alias (normalised input). The subtable has the following structure:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	[&amp;quot;full-id&amp;quot;] = &amp;quot;1435-met&amp;quot;,		-- Gauge-id including unit&lt;br /&gt;
	[&amp;quot;id&amp;quot;] = &amp;quot;1000&amp;quot;,			-- Gauge identification in mm.&lt;br /&gt;
	[&amp;quot;aliases&amp;quot;] = {[[1000mm]], [[1m]]},	-- Aliases for the gauge (input options; input spaces, commas and capitals are re-formatted by the module).&lt;br /&gt;
	[&amp;quot;def1&amp;quot;] = &amp;quot;met&amp;quot;,			-- The defining measurement, either &amp;quot;met&amp;quot; (metric) or &amp;quot;imp&amp;quot; (imperial).&lt;br /&gt;
	[&amp;quot;name&amp;quot;] = &amp;quot;metre gauge&amp;quot;,		-- Name for the gauge (alternative).&lt;br /&gt;
	[&amp;quot;link&amp;quot;] = &amp;quot;[[Metre gauge railway]]&amp;quot;,		-- Link to named gauge article (alternative, linked).&lt;br /&gt;
	[&amp;quot;pagename&amp;quot;] = &amp;quot;standard gauge&amp;quot;,	-- Link to sourcing Wikipedia article.&lt;br /&gt;
	[&amp;quot;contentcat&amp;quot;] = &amp;quot;Iberian gauge railways&amp;quot;	-- Non-default category name (don&amp;#039;t add &amp;#039;Category:&amp;#039;).&lt;br /&gt;
	[&amp;quot;m&amp;quot;] = &amp;quot;1&amp;quot;,				-- Gauge in metre (the [&amp;quot;mm&amp;quot;] value, below, will not be shown).&lt;br /&gt;
	[&amp;quot;mm&amp;quot;] = &amp;quot;1000&amp;quot;,			-- Gauge in mm.&lt;br /&gt;
	[&amp;quot;ft&amp;quot;] = &amp;quot;3&amp;quot;,				-- The feet part of the gauge.&lt;br /&gt;
	[&amp;quot;in&amp;quot;] = &amp;quot;3&amp;quot;,				-- The inches part of the gauge (can have decimals)&lt;br /&gt;
	[&amp;quot;num&amp;quot;] = &amp;quot;3&amp;quot;,				-- The numerator for fractions of inches (the &amp;quot;3&amp;quot; in 3/8 inches).&lt;br /&gt;
	[&amp;quot;den&amp;quot;] = &amp;quot;8&amp;quot;				-- The denominator for fractions of inches (the &amp;quot;8&amp;quot; in 3/8 inches).&lt;br /&gt;
},&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==About aliases and identifiers==&lt;br /&gt;
A rail track gauge is identified by &amp;quot;id&amp;quot;. That id is the size in mm (a choice, made for this list). Preferably it has an article link where that gauge definition is described and sourced.&lt;br /&gt;
An entry is a data set (a complete subtable) with structure &amp;lt;code&amp;gt;{ [&amp;quot;id&amp;quot;] = &amp;quot;n&amp;quot;, ... }&amp;lt;/code&amp;gt;&lt;br /&gt;
An entry is identified by its Aliases. Aliases are unique; any alias will find only one entry (if present). Two entries can point to one gauge id: usually when definied in metric *and* defined in imperial. e.g., &amp;quot;1435mm&amp;quot; and &amp;quot;56.5in&amp;quot; are different entries (showing different primary size: in met or imp) but they point to the same gauge id: [&amp;quot;id&amp;quot;] = &amp;quot;1435&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The &amp;quot;id&amp;quot;, &amp;quot;aliases&amp;quot;, and &amp;quot;def1&amp;quot; fields are required. Also, some size in metric and in imperial must be present. That is: at least one metric size field (mm or m) and one imperial size field (ft, inch, or num+den) must exist. All other fields are optional.&lt;br /&gt;
&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;id&amp;#039;&amp;#039;&amp;#039;: An id can be reused in multiple entries. Usually used twice when a gauge is defined in both metric and in imperial. Even a third gauge name (by another alias) can be added.&lt;br /&gt;
:&amp;#039;&amp;#039;&amp;#039;alias&amp;#039;&amp;#039;&amp;#039; (input option): An Alias must be unique over all data. Alias names here should not contain any spaces; spaces are trimmed from the input when it is processed, so alias names containing spaces will not be matched.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Development ==&lt;br /&gt;
* Data &amp;quot;history&amp;quot; = {date begin, date end} -- to denote the era of existance&lt;br /&gt;
* Data &amp;quot;unique&amp;quot; = &amp;quot;yes&amp;quot; -- to denote single network&lt;br /&gt;
::See {{track gauge |14 1/4 in|lk=on}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|Track gauge/doc/input options}} -- Overview&lt;/div&gt;</summary>
		<author><name>w&gt;DePiep</name></author>
	</entry>
</feed>