Conan Exiles Wiki
Register
(+second parameter)
(dont even enter lua again if we dont need to)
Line 1: Line 1:
<includeonly>{{#invoke:ItemLink|Main|{{{1}}}|{{{2|}}}}}</includeonly><noinclude>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.
+
<includeonly>{{#if:{{#var:ITEMLINK_04{{lc:{{{1}}}}}<!-- end lc -->>}}<!-- end var -->}}|{{#var:ITEMLINK_OUTPUT_{{{1}}}}}|{{#invoke:ItemLink|Main|{{{1}}}|{{{2|}}}}}<!-- end if -->}}</includeonly><noinclude>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:
 
Usage example:

Revision as of 08:53, 17 October 2020

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}}

||Flawless Reptilian Gauntlets}}
||Icon aquilonian Workstation Aquilonian Artisan Table}}

To change the text of the link according to your grammatical context, you can use a second parameter

{{ItemLink|Stone|Stones}}

This Example contains 10 ||Icon stone-1 Stones}}