Difference between revisions of "Template:Ilink"

From WildStar Wiki
Jump to: navigation, search
Line 1: Line 1:
<includeonly>[[{{{2}}}|<span class="itemlink ajaxttlink {{#if:{{{1|}}}|Q{{{1}}}|}}"> &#91;{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}&#93;</span>]]</includeonly><noinclude>
+
<includeonly>[[{{#show:{{{1|}}}|?has image|link=none}}|18px|text-bottom|link={{{1}}}]] [[{{{1}}}|<span class="itemlink ajaxttlink {{lc:{{#show:{{{1|}}}|?has rarity|link=none}}}}"> &#91;{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}&#93;</span>]]</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="Qinferior">inferior</span>
 
* <span class="Qaverage">average</span>
 
* <span class="Qgood">good</span>
 
* <span class="Qexcellent">excellent</span>
 
* <span class="Qsuperb">superb</span>
 
* <span class="Qlegendary">legendary</span>
 
* <span class="Qartifact">artifact</span>
 
 
[[Category:Templates]]
 

Revision as of 16:02, 30 September 2015

Template-info.png Documentation

Provides a link formatted for tooltips with an icon.

Usage

{{ilink|name|display}}