<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://orbusfreepress.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AItemLink%2Fdoc</id>
	<title>Template:ItemLink/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://orbusfreepress.org/index.php?action=history&amp;feed=atom&amp;title=Template%3AItemLink%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://orbusfreepress.org/index.php?title=Template:ItemLink/doc&amp;action=history"/>
	<updated>2026-04-07T08:12:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.1</generator>
	<entry>
		<id>https://orbusfreepress.org/index.php?title=Template:ItemLink/doc&amp;diff=2566&amp;oldid=prev</id>
		<title>Rebmac: Created page with &quot;{{doc/start}} Link to an item page with an item image in front: {{ItemLink|Stone}}  Also supports an optional quantity in front: {{ItemLink|Stone|quantity=5}}  == Usage ==  &lt;n...&quot;</title>
		<link rel="alternate" type="text/html" href="https://orbusfreepress.org/index.php?title=Template:ItemLink/doc&amp;diff=2566&amp;oldid=prev"/>
		<updated>2018-07-26T20:03:19Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{doc/start}} Link to an item page with an item image in front: {{ItemLink|Stone}}  Also supports an optional quantity in front: {{ItemLink|Stone|quantity=5}}  == Usage ==  &amp;lt;n...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc/start}}&lt;br /&gt;
Link to an item page with an item image in front: {{ItemLink|Stone}}&lt;br /&gt;
&lt;br /&gt;
Also supports an optional quantity in front: {{ItemLink|Stone|quantity=5}}&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{ItemLink|Stone}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+ Parameters&lt;br /&gt;
|-&lt;br /&gt;
! Name !! Type !! Required !! Default&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;text&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
|| The value of the first positional parameter, or the second if given&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;link&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
|| The value of the first positional parameter&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;image&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
|| The value of the first positional parameter suffixed with &amp;lt;code&amp;gt;.png&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;size&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
|| 20px&lt;br /&gt;
|-&lt;br /&gt;
|| &amp;lt;code&amp;gt;quantity&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;string&amp;lt;/code&amp;gt;&lt;br /&gt;
|| &amp;lt;code&amp;gt;false&amp;lt;/code&amp;gt;&lt;br /&gt;
||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
Both lines produce the same output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|text=Stone|link=Stone|image=Stone.png|size=20px|quantity=}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|text=Stone|link=Stone|image=Stone.png|size=20px|quantity=}}&lt;br /&gt;
&lt;br /&gt;
Lowercase link:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|text=stone}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|text=stone}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|stone}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|stone}}&lt;br /&gt;
&lt;br /&gt;
Plural link:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|text=Stones}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|text=Stones}}&amp;lt;br&amp;gt;&lt;br /&gt;
Alternative: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone}}s&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone}}s&lt;br /&gt;
&lt;br /&gt;
Quantity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|quantity=5}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|quantity=5}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Stone|quantity=5-10}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Stone|quantity=5-10}}&lt;br /&gt;
&lt;br /&gt;
DLC-suffices are converted automatically to the according icon, if no explicit link-text is given&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Sand (Scorched Earth)}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Sand (Scorched Earth)}}&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{ItemLink|Sand (Scorched Earth)|Sand}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; = {{ItemLink|Sand (Scorched Earth)|Sand}}&lt;br /&gt;
&lt;br /&gt;
{{doc/end}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- Apparently templatedata is not supported, but if it was... --&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
&amp;lt;templatedata&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;Link to an item page with an item image in front&amp;quot;,&lt;br /&gt;
  &amp;quot;params&amp;quot;: {&lt;br /&gt;
    &amp;quot;0&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Item name&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The item.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;,&lt;br /&gt;
      &amp;quot;required&amp;quot;: true&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;item&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Link text&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The link text. Defaults to the item name.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;link&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Link&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The page to link to. Defaults to the item name.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;wiki-page-name&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;image&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Image&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The image to use. Defaults to the item name with .png suffixed.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;wiki-file-name&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;size&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Size&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The image size. Defaults to 20px.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;string&amp;quot;&lt;br /&gt;
    },&lt;br /&gt;
    &amp;quot;quantity&amp;quot;: {&lt;br /&gt;
      &amp;quot;label&amp;quot;: &amp;quot;Quantity&amp;quot;,&lt;br /&gt;
      &amp;quot;description&amp;quot;: &amp;quot;The quantity to display to the left of the image.&amp;quot;,&lt;br /&gt;
      &amp;quot;type&amp;quot;: &amp;quot;number&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/templatedata&amp;gt;&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Rebmac</name></author>
		
	</entry>
</feed>