Conan Exiles Wiki
No edit summary
No edit summary
Line 1: Line 1:
 
<includeonly>{{#cargo_query:tables=Item
 
<includeonly>{{#cargo_query:tables=Item
 
| fields=_pageName,image
 
| fields=_pageName,image
| where=name="{{{1}}}" AND NOT _pageName LIKE '%Template%'
+
| where=name="{{{1}}}" AND name = _pageName AND NOT _pageName LIKE '%Template%'
 
| group by=_pageName
 
| group by=_pageName
 
| default=Item name not found
 
| default=Item name not found
Line 10: Line 10:
 
Usage example:
 
Usage example:
   
<pre><nowiki>{{ItemLink|Obsidian Pick}}</nowiki></pre>
+
<pre><nowiki>{{ItemLink|Flawless Reptilian Gauntlets}}</nowiki></pre>
{{ItemLink|Obsidian Pick}}
+
{{ItemLink|Flawless Reptilian Gauntlets}}
   
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]

Revision as of 11:09, 31 October 2018

This template is designed to output the linked name of an ITEM along with its icon. It does this by querying the name of the item from the ITEMS cargo table.

Usage example:

{{ItemLink|Flawless Reptilian Gauntlets}}

Item name not found