Conan Exiles Wiki
Register
(change what var we're looking for)
No edit summary
 
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#if:{{#var:ITEMLINK_OUTPUT_{{{1}}}<!-- 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.
+
<includeonly>{{#if:{{#var:IL_x_{{{1}}}_{{{2|}}}_{{{3|}}}<!-- end var -->}}|{{#var:IL_O_{{{1}}}_{{{2|}}}_{{{3|}}}}}|{{#invoke:ItemLink|Main|{{{1}}}|{{{2|}}}|{{{3|}}}}}<!-- 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:
   
 
<pre><nowiki>{{ItemLink|Flawless Reptilian Gauntlets}}</nowiki></pre>
 
<pre><nowiki>{{ItemLink|Flawless Reptilian Gauntlets}}</nowiki></pre>
{{ItemLink|Flawless Reptilian Gauntlets}}<br/>
+
{{ItemLink|Reptilian Gauntlets}} - not dlc, not epic<br>
{{ItemLink|Aquilonian Artisan Table}}
+
{{ItemLink|Aquilonian Artisan Table}} - dlc, not epic<br>
  +
{{ItemLink|Zingaran Freebooter Vest}} - epic<br>
  +
{{ItemLink|Argossean Mariner's Harness (Epic)}} - dlc, epic<br>
  +
{{ItemLink|Argossean Mariner's Harness (Epic)|Argossean Mariner's Harness}} - dlc, epic, alternative text<br>
  +
{{ItemLink|Perfected Medium Tasset}} - perfect<br>
  +
{{ItemLink|Branch|iconOnly=true}} - icon only<br>
  +
{{ItemLink|Branch|iconOnly=true|size=128px}} - icon only, size 128px<br>
  +
{{ItemLink|Argossean Mariner's Harness (Epic)|iconOnly=true|size=128px}} - icon only, dlc, epic, size 128px<br>
  +
{{ItemLink|Iron Guardian Sword Arm}} - with background<br>
  +
{{ItemLink|Iron Guardian Sword Arm|iconOnly=true|size=128px}} - icon only, with background<br>
   
 
To change the text of the link according to your grammatical context, you can use a second parameter
 
To change the text of the link according to your grammatical context, you can use a second parameter

Latest revision as of 06:36, 22 August 2023

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

Icon crocodile armor gauntlets Reptilian Gauntlets - not dlc, not epic
Icon aquilonian Workstation Aquilonian Artisan Table - dlc, not epic
Epic icon zingarianLight chest Zingaran Freebooter Vest - epic
Icon argossean light chest Argossean Mariner's Harness (Epic) - dlc, epic
Icon argossean light chest Argossean Mariner's Harness - dlc, epic, alternative text
Icon Medium exile tasset-1 Perfected Medium Tasset - perfect
Icon branch - icon only
Icon branch - icon only, size 128px
Icon argossean light chest - icon only, dlc, epic, size 128px
Icon golem arm iron Iron Guardian Sword Arm - with background
Icon golem arm iron - icon only, with background

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