<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="uz">
	<id>https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Andoza%3AWDL%2Fdoc</id>
	<title>Andoza:WDL/doc - Oʻzgarishlar tarixi</title>
	<link rel="self" type="application/atom+xml" href="https://ziyosfera.uz/index.php?action=history&amp;feed=atom&amp;title=Andoza%3AWDL%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Andoza:WDL/doc&amp;action=history"/>
	<updated>2026-11-21T14:29:46Z</updated>
	<subtitle>Ziyosferadagi mazkur sahifaning oʻzgarishlar tarixi</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://ziyosfera.uz/index.php?title=Andoza:WDL/doc&amp;diff=154030&amp;oldid=prev</id>
		<title>Programmer: Oʻzbekcha Vikipediyadan import qilindi.</title>
		<link rel="alternate" type="text/html" href="https://ziyosfera.uz/index.php?title=Andoza:WDL/doc&amp;diff=154030&amp;oldid=prev"/>
		<updated>2026-08-06T15:32:27Z</updated>

		<summary type="html">&lt;p&gt;Oʻzbekcha Vikipediyadan import qilindi.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Yangi sahifa&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{Lua|Module:WDL}}&lt;br /&gt;
&lt;br /&gt;
== Foylanaish ==&lt;br /&gt;
This template is for use within tables, and will automatically calculate a Win %&lt;br /&gt;
There is the option to align the numbers by adding &amp;lt;code&amp;gt;align=&amp;lt;/code&amp;gt; and then left/centre/right as required, and choose the number of decimal places by defining &amp;lt;code&amp;gt;decimals=&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, putting &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{WDL|30|10|12|8}} &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; within a table will display this. It will display trailing zeroes (e.g. the second and third case)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natija&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|30|10|12|8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|10|1|89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|100|0|0}}&lt;br /&gt;
|}&lt;br /&gt;
To align the numbers to the right, use {{para|align|right}} &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{WDL|30|10|12|8|align=right}} &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; within a table will display this. It will display trailing zeroes (e.g. the second and third case)&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|30|10|12|8|align=right}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|10|1|89|align=right}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|100|0|0|align=right}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
There is also the option of adding in two goals columns before the percentage by using &amp;lt;code&amp;gt;for=&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;against=&amp;lt;/code&amp;gt;. For example, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{WDL|100|10|1|89|for=112|against=88}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{WDL|100|10|1|89|for=112|against=88|diff=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;:&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;7&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|10|1|89|for=112|against=88}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;8&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|10|1|89|for=112|against=88|diff=yes}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
For a total column at the bottom use {{tl|WDLtot}} in the same way.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|30|10|12|8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|10|1|89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|100|100|0|0}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDLtot|230|120|13|97}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If the numbers of wins, losses and draws do not add up correctly, the page will appear in [[:Category:WDL error]].&lt;br /&gt;
&lt;br /&gt;
== Empty parameters ==&lt;br /&gt;
&lt;br /&gt;
If the first parameter is empty, the value for games played is computed from the sum of Wins Draws and Losses&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10|12|8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10|1|89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDLtot||20|13|97}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If any win, draw, or loss parameter is empty, the value is assumed to be zero when computing the percentage&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10||8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10||89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDLtot||20||97}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10||8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL||10||89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDLtot||20||97}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;text-align: center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!colspan=&amp;quot;5&amp;quot;|Natijalar&lt;br /&gt;
|-&lt;br /&gt;
!Oʻ!!Gʻ!!D!!M!!Gʻalaba %&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|20||12|8}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDL|90||1|89}}&lt;br /&gt;
|-&lt;br /&gt;
{{WDLtot|110||13|97}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|win-loss record}}&lt;br /&gt;
* [[:Category:WDL error]] - errors with the template appear in this category&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories go here and interwikis go in Wikidata. --&amp;gt;&lt;br /&gt;
[[Category:Templates with partial table wikitext]]&lt;br /&gt;
[[Category:Sports statistics templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Programmer</name></author>
	</entry>
</feed>