<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://nssportwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AWins-losses-pct_in_table%2Fdoc</id>
	<title>Template:Wins-losses-pct in table/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nssportwiki.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AWins-losses-pct_in_table%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:Wins-losses-pct_in_table/doc&amp;action=history"/>
	<updated>2026-05-18T22:58:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://nssportwiki.com/index.php?title=Template:Wins-losses-pct_in_table/doc&amp;diff=66339&amp;oldid=prev</id>
		<title>Osarius: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:Wins-losses-pct_in_table/doc&amp;diff=66339&amp;oldid=prev"/>
		<updated>2024-09-22T09:07:53Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en-GB&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:07, 22 September 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en-GB&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Osarius</name></author>
	</entry>
	<entry>
		<id>https://nssportwiki.com/index.php?title=Template:Wins-losses-pct_in_table/doc&amp;diff=66338&amp;oldid=prev</id>
		<title>wikipedia&gt;Chewsterchew: add template data</title>
		<link rel="alternate" type="text/html" href="https://nssportwiki.com/index.php?title=Template:Wins-losses-pct_in_table/doc&amp;diff=66338&amp;oldid=prev"/>
		<updated>2024-09-04T03:23:25Z</updated>

		<summary type="html">&lt;p&gt;add template data&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Description==&lt;br /&gt;
This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage as follows:&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;wins&amp;gt; || &amp;lt;losses&amp;gt; || &amp;lt;winning percentage&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
or&lt;br /&gt;
: &amp;lt;code&amp;gt;&amp;lt;wins&amp;gt; || &amp;lt;losses&amp;gt; || &amp;lt;ties&amp;gt; || &amp;lt;winning percentage&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
where &amp;lt;code&amp;gt;wins&amp;lt;/code&amp;gt; comes from parameter 1 to this template, &amp;lt;code&amp;gt;losses&amp;lt;/code&amp;gt; comes from parameter 2, &amp;lt;code&amp;gt;ties&amp;lt;/code&amp;gt; comes from parameter 3 if present, and &amp;lt;code&amp;gt;&amp;lt;winning percentage&amp;gt;&amp;lt;/code&amp;gt; is automatically computed based on parameters 1 and 2 and 3 if present.&amp;lt;ref name=percent /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Winning percentage is calculated as a three-decimal place value between .000 and 1.000. The value is &amp;lt;code&amp;gt;wins&amp;lt;/code&amp;gt; / (&amp;lt;code&amp;gt;wins&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;losses&amp;lt;/code&amp;gt;) for 2 parameters, or (&amp;lt;code&amp;gt;wins&amp;lt;/code&amp;gt; + (&amp;lt;code&amp;gt;ties&amp;lt;/code&amp;gt; / 2))  / (&amp;lt;code&amp;gt;wins&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;losses&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;ties&amp;lt;/code&amp;gt;) for 3 parameters. If the total of the parameters is zero, the percentage is displayed as &amp;quot;{{ndash}}&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
* {{tlx|WinLossPct|3|0}} produces {{Font color|black|#dfdfdf|{{WinLossPct|3|0}}}}&lt;br /&gt;
* {{tlx|WinLossPct|6|9}} produces {{Font color|black|#dfdfdf|{{WinLossPct|6|9}}}}&lt;br /&gt;
* {{tlx|WinLossPct|0|5}} produces {{Font color|black|#dfdfdf|{{WinLossPct|0|5}}}}&lt;br /&gt;
* {{tlx|WinLossPct|0|0}} produces {{Font color|black|#dfdfdf|{{WinLossPct|0|0}}}}&lt;br /&gt;
* {{tlx|WinLossPct|5|3|2}} produces {{Font color|black|#dfdfdf|{{WinLossPct|5|3|2}}}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
! Team !! Wins !! Losses !! Percent&lt;br /&gt;
|-&lt;br /&gt;
| Bluebirds  || {{WinLossPct|6|9}}&lt;br /&gt;
|-&lt;br /&gt;
| Blackbirds || {{WinLossPct|4|3}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
! Team !! Wins !! Losses !! Percent&lt;br /&gt;
|-&lt;br /&gt;
| Bluebirds  || {{WinLossPct|6|4}}&lt;br /&gt;
|-&lt;br /&gt;
| Blackbirds || {{WinLossPct|4|6}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
and&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
! Team !! Wins !! Losses !! Ties !! Percent&lt;br /&gt;
|-&lt;br /&gt;
| Lemurs  || {{WinLossPct|3|6|1}}&lt;br /&gt;
|-&lt;br /&gt;
| Ocelots || {{WinLossPct|6|3|1}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
produces:&lt;br /&gt;
&lt;br /&gt;
{| class=wikitable&lt;br /&gt;
! Team !! Wins !! Losses !! Ties !! Percent&lt;br /&gt;
|-&lt;br /&gt;
| Lemurs  || {{WinLossPct|3|6|1}}&lt;br /&gt;
|-&lt;br /&gt;
| Ocelots || {{WinLossPct|6|3|1}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==TemplateData==&lt;br /&gt;
{{TemplateData header}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
	&amp;quot;params&amp;quot;: {&lt;br /&gt;
		&amp;quot;1&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Wins&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The amount of wins to show.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;56&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;2&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Losses&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The amount of losses to show.&amp;quot;,&lt;br /&gt;
			&amp;quot;example&amp;quot;: &amp;quot;52&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;,&lt;br /&gt;
			&amp;quot;required&amp;quot;: true&lt;br /&gt;
		},&lt;br /&gt;
		&amp;quot;3&amp;quot;: {&lt;br /&gt;
			&amp;quot;label&amp;quot;: &amp;quot;Ties&amp;quot;,&lt;br /&gt;
			&amp;quot;description&amp;quot;: &amp;quot;The amount of ties to show.&amp;quot;,&lt;br /&gt;
			&amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
		}&lt;br /&gt;
	},&lt;br /&gt;
	&amp;quot;description&amp;quot;: &amp;quot;This template produces three or four wikitable columns that represent wins, losses, optionally ties, and a winning percentage.&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|GP-wins-losses-pct in table}}&lt;br /&gt;
* {{tl|Winning percentage}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|refs=&lt;br /&gt;
*&amp;lt;ref name=percent&amp;gt;This is what is colloquially referred to as a &amp;quot;percentage&amp;quot; in sports, though it is not mathematically accurate. 6 wins and 6 losses produces &amp;quot;.500&amp;quot;, not &amp;quot;50%&amp;quot;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line --&amp;gt;&lt;br /&gt;
[[Category:Sports statistics templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>wikipedia&gt;Chewsterchew</name></author>
	</entry>
</feed>