<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://old-wiki.warthunder.com/index.php?action=history&amp;feed=atom&amp;title=User%3AU12017485%2FTDp</id>
		<title>User:U12017485/TDp - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://old-wiki.warthunder.com/index.php?action=history&amp;feed=atom&amp;title=User%3AU12017485%2FTDp"/>
		<link rel="alternate" type="text/html" href="https://old-wiki.warthunder.com/index.php?title=User:U12017485/TDp&amp;action=history"/>
		<updated>2026-05-02T22:21:03Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://old-wiki.warthunder.com/index.php?title=User:U12017485/TDp&amp;diff=190325&amp;oldid=prev</id>
		<title>U12017485: Created a template for better illustration of a scale differences</title>
		<link rel="alternate" type="text/html" href="https://old-wiki.warthunder.com/index.php?title=User:U12017485/TDp&amp;diff=190325&amp;oldid=prev"/>
				<updated>2024-07-26T10:36:22Z</updated>
		
		<summary type="html">&lt;p&gt;Created a template for better illustration of a scale differences&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;| style=&amp;quot;padding:0;height:100%;&amp;quot; |&amp;lt;div style=&amp;quot;background-color:{{{color|rgb(207, 216, 220)}}};width:{{{value|{{#expr:{{{valueP|}}}*100}}}}}%;height:100%;overflow:visible;white-space:nowrap;padding:{{{padding|0.2em 0.4em 0.2em 0.4em}}};display:flex;align-items:center;box-sizing:border-box;&amp;quot;&amp;gt;&amp;lt;div&amp;gt;{{{1}}}&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template allows you to create progress bars within table cells.&lt;br /&gt;
&lt;br /&gt;
Note&lt;br /&gt;
# row needs to have height set to 100% for this to work (&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;|- style=&amp;quot;height: 100%;&amp;quot;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;)&lt;br /&gt;
# this template already contains &amp;lt;code&amp;gt;|&amp;lt;/code&amp;gt; (table row command), so it should be used directly in line&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align:center&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code&lt;br /&gt;
! Sample&lt;br /&gt;
|- style=&amp;quot;height: 100%;&amp;quot; &lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{User:U12017485/TDp|value=50|2 Lorem ipsum dolor sit amet}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{User:U12017485/TDp|value=50|2 Lorem ipsum dolor sit amet}}&lt;br /&gt;
|- style=&amp;quot;height: 100%;&amp;quot; &lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{User:U12017485/TDp|color=#94a4b0|value=45|1 Lorem ipsum dolor sit amet}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{User:U12017485/TDp|color=#94a4b0|value=45|1 Lorem ipsum dolor sit amet}}&lt;br /&gt;
|- style=&amp;quot;height: 100%;&amp;quot; &lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{User:U12017485/TDp|color=#94a4b0|valueP=0.40|4 Lorem ipsum dolor sit amet}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
{{User:U12017485/TDp|color=#94a4b0|valueP=0.40|4 Lorem ipsum dolor sit amet}}&lt;br /&gt;
|- style=&amp;quot;height: 100%;&amp;quot; &lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{User:U12017485/TDp|color=rgb(176, 190, 197)|valueP=0.35|padding=0|3 Lorem ipsum dolor sit amet}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; (this sample shows a new parameter: [https://developer.mozilla.org/en-US/docs/Web/CSS/padding padding], and a color matching the table borders)&lt;br /&gt;
{{User:U12017485/TDp|color=rgb(176, 190, 197)|valueP=0.35|padding=0|3 Lorem ipsum dolor sit amet}}&lt;br /&gt;
|}&lt;br /&gt;
Wiki's sorting still works fine, ignoring the html, and going straight for the content :)&lt;br /&gt;
&lt;br /&gt;
Code sample for a whole table:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;text-align:center&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Test&lt;br /&gt;
! Sample&lt;br /&gt;
|- style=&amp;quot;height: 100%;&amp;quot; &lt;br /&gt;
| test&lt;br /&gt;
{{User:U12017485/TDp|value=50|Lorem ipsum dolor sit amet}} &amp;lt;!-- this line correctly does '''not''' start with &amp;lt;code&amp;gt;| &amp;lt;/code&amp;gt;! --&amp;gt;&lt;br /&gt;
|}&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>U12017485</name></author>	</entry>

	</feed>