<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://straftat.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AIcon</id>
	<title>Template:Icon - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://straftat.wiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AIcon"/>
	<link rel="alternate" type="text/html" href="https://straftat.wiki/index.php?title=Template:Icon&amp;action=history"/>
	<updated>2026-06-12T23:04:50Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.3</generator>
	<entry>
		<id>https://straftat.wiki/index.php?title=Template:Icon&amp;diff=563&amp;oldid=prev</id>
		<title>Administrator: basic</title>
		<link rel="alternate" type="text/html" href="https://straftat.wiki/index.php?title=Template:Icon&amp;diff=563&amp;oldid=prev"/>
		<updated>2024-12-09T23:58:21Z</updated>

		<summary type="html">&lt;p&gt;basic&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;[[File:{{trim | {{{1}}} }}|link={{{link|}}}|{{#if: {{{w|}}}{{{h|}}} | {{{w|}}}x{{{h|}}}px | x{{trim | {{{2|40}}} }}px }}|alt={{{caption|{{{link|{{{1}}} }}}}}}|class=bg3wiki-icon {{{class|}}}]]&amp;lt;span class=&amp;quot;straftat-wiki-after-icon&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
{{documentation|content=&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png }}&lt;br /&gt;
&lt;br /&gt;
The default size is {{code|x40px}} meaning the icon is scaled until the &amp;#039;&amp;#039;&amp;#039;height&amp;#039;&amp;#039;&amp;#039; is 40 px.  It&amp;#039;s usually important to limit the height since the icons are used inline, and a very high inline image makes for an unpleasant text layout.&lt;br /&gt;
&lt;br /&gt;
An alternative value for the height can be provided like so:&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png | 30 }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png | 30 }}&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png | 50 }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png | 50 }}&lt;br /&gt;
&lt;br /&gt;
Alternatively you can use the named parameters {{code|w}} and {{code|h}}.  Note that these are max values so the more limiting one applies.  In the following example, the height value is essentially ignored because the original image is a square so the width becomes the limiting factor.  (Were the original image 200 by 500, the result would be 20 by 50.)&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png | w = 20 | h = 50 }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png | w = 20 | h = 50 }}&lt;br /&gt;
&lt;br /&gt;
You can also provide a link:&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png | link = AK }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png | link = AK }}&lt;br /&gt;
&lt;br /&gt;
Caption (alt text) will be the link by default but can be changed:&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | AK.png | link = AK | caption = Blah }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | AK.png | link = AK | caption = Blah }}&lt;br /&gt;
&lt;br /&gt;
Behavior when icon is missing:&lt;br /&gt;
&lt;br /&gt;
Usage: &amp;lt;pre&amp;gt;{{icon | Missing Filename 123.png | link = AK }}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Result: {{icon | Missing Filename 123.png | link = AK }}&lt;br /&gt;
&lt;br /&gt;
Drop shadow:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{icon | AK.png | class = straftat-wiki-lightmode-drop-shadow }}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{icon | AK.png | class = straftat-wikilightmode-drop-shadow }}&lt;br /&gt;
}}&lt;br /&gt;
[[Category:Icon templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>