Don't forget, you can log in with your Play.net account
Template:Ilink: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{h|}}}|[[{{#switch:{{{1}}}|w|weapon=Weapon:|a|armor=Armor:|s|shield=Shield:|n=|i|Item:}}{{{2}}}#{{{h}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]]|[[{{#switch:{{{1}}}|w|weapon=Weapon:|a|armor=Armor:|s|shield=Shield:|n=|i|Item:}}{{{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>{{#if:{{{h|}}}|[[{{#switch:{{lc:{{{1}}}}}|w|weapon=Weapon:|a|armor=Armor:|s|shield=Shield:|n=|i|Item:}}{{{2}}}#{{{h}}}|{{#if:{{{3|}}}|{{{3}}}|{{{2}}}}}]]|[[{{#switch:{{lc:{{{1}}}}}|w|weapon=Weapon:|a|armor=Armor:|s|shield=Shield:|n=|i|Item:}}{{{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. |
||
<pre> |
<pre> |
||
{{ilink |
{{ilink |
Latest revision as of 02:46, 10 December 2013
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) }}