Don't forget, you can log in with your Play.net account
Template:Ilink: Difference between revisions
Jump to navigation
Jump to search
(fix attempt) |
(bugfix) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{h|}}}|[[{{#switch:{{{1}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{2}}}}}}}#{{{h}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]]|[[{{#switch:{{{1}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{2}}}}}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]] |
<includeonly>{{#if:{{{h|}}}|[[{{#switch:{{{1}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{2}}}}}}}#{{{h}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]]|[[{{#switch:{{{1}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{2}}}}}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]]}}</includeonly><noinclude>A template to make linking to item easier. The options are: i=item, w=weapon, a=armor, and s=shield. In addition, there are several options that currently default to Item but may be utilized in the future. These are: t=tack, h=housing, f=food or drink, j=jewelry, and c=clothing. |
||
}} |
|||
</includeonly><noinclude>A template to make linking to item easier. The options are: i=item, w=weapon, a=armor, and s=shield. In addition, there are several options that currently default to Item but may be utilized in the future. These are: t=tack, h=housing, f=food or drink, j=jewelry, and c=clothing. |
|||
<pre> |
<pre> |
||
{{ilink |
{{ilink |
Revision as of 16:15, 12 April 2012
A template to make linking to item easier. The options are: i=item, w=weapon, a=armor, and s=shield. In addition, there are several options that currently default to Item but may be utilized in the future. These are: t=tack, h=housing, f=food or drink, j=jewelry, and c=clothing.
{{ilink |i/w/a/s |article name |displayed text (optional) |h=<header> (optional) }}