<?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=Template_talk%3ATree-Unit</id>
		<title>Template talk:Tree-Unit - 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=Template_talk%3ATree-Unit"/>
		<link rel="alternate" type="text/html" href="https://old-wiki.warthunder.com/index.php?title=Template_talk:Tree-Unit&amp;action=history"/>
		<updated>2026-04-04T12:30:38Z</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=Template_talk:Tree-Unit&amp;diff=26695&amp;oldid=prev</id>
		<title>U30585107: to inceptor</title>
		<link rel="alternate" type="text/html" href="https://old-wiki.warthunder.com/index.php?title=Template_talk:Tree-Unit&amp;diff=26695&amp;oldid=prev"/>
				<updated>2019-06-09T19:04:00Z</updated>
		
		<summary type="html">&lt;p&gt;to inceptor&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==making my edit work==&lt;br /&gt;
So the way it is suppose to work is that it would check &amp;lt;nowiki&amp;gt;{{#unit:name|gift}}&amp;lt;/nowiki&amp;gt; and choose the premium background if it returns 1. As #unit currently works nonpremium event vehicles are also marked as premium. I built in the argument 'overwrite' to force it to choose the standard background when it is 0 and premium when it is 1. &lt;br /&gt;
&lt;br /&gt;
So a nonpremium event vehicle like the E100 would need &amp;lt;nowiki&amp;gt;{{Tree-Unit|E100|overwrite=0}}&amp;lt;/nowiki&amp;gt; and if a vehicle hasnt been labelled as a premium yet like the A7M1 you would need &amp;lt;nowiki&amp;gt;{{Tree-Unit|A7M1|overwrite=1}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If we don't want to mess with 'overwrite' we would have to:&lt;br /&gt;
# make sure  &amp;lt;nowiki&amp;gt;{{#unit:name|gift}}&amp;lt;/nowiki&amp;gt; has all premiums labelled as such&lt;br /&gt;
# make  &amp;lt;nowiki&amp;gt;{{#unit:name|gift}}&amp;lt;/nowiki&amp;gt; return &amp;quot;2&amp;quot; or some other value to designate nonpremium event vehicles(and adjust this template accordingly).--[[User:U30585107|U30585107]] ([[User talk:U30585107|talk]]) 19:03, 9 June 2019 (UTC)&lt;/div&gt;</summary>
		<author><name>U30585107</name></author>	</entry>

	</feed>