Difference between revisions of "Template:Ilink"

From WildStar Wiki
Jump to: navigation, search
(Added display.)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>[[{{{2}}}|<span class="itemlink ajaxttlink {{#if:{{{1|}}}|Q{{{1}}}|}}"> &#91;{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}&#93;</span>]]</includeonly><noinclude>
+
<includeonly>{{#cargo_query:tables=Items|fields=_pageName=Page,Image,Rarity,CONCAT("{{{2|}}}")=Display|where=_pageName="{{{1}}}"|format=template|template=Ilink/layout|named args=yes|no html|default=|more results text=|limit=1|group by=_pageName}}</includeonly><noinclude>
  +
{{doc}}
   
 
[[Category:Templates]]</noinclude>
 
Provides a link formatted for item tooltips<br><br>''Usage:''
 
 
{{t|ilink|quality|name|display}}
 
You must declare quality in all situations.
 
* <span class="Qjunk">junk</span>
 
* <span class="Qcommon">common</span>
 
* <span class="Quncommon">uncommon</span>
 
* <span class="Qrare">rare</span>
 
* <span class="Qepic">epic</span>
 
 
[[Category:Templates]]
 

Latest revision as of 16:38, 11 March 2018

Template-info.png Documentation

Provides a link formatted for tooltips with an icon.

Usage

{{ilink|name|display}}