Template:Ilink: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(fix attempt) |
||
| Line 1: | Line 1: | ||
<includeonly>[[{{#switch:{{{1}}}|w=Weapon:|a=Armor:|s=Shield:|i|Item:}}{{ucfirst:{{lc:{{{2}}}}}}}{{#if:{{{ |
<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. |
|||
<pre> |
<pre> |
||
{{ilink |
{{ilink |
||
Revision as of 16:11, 11 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)
}}