Template:ItemLink/doc

From CrossCode Wiki
Revision as of 12:29, 25 February 2016 by Streetclaw (talk | contribs) (Table added)
Jump to navigation Jump to search
File:Template-info.svg Template Documentation

This is a template for adding links to items!

{{ItemLink|Winterclaw}} {{ItemLink|Geo-Data #3469}} {{ItemLink|Recruit's Scope}}
{{ItemLink|Ginger Tom. Salad|noIcon=1}} on a {{ItemLink|Scrappy Plate|noIcon=1}}
{{ItemLink|Bergen Ice Cream|noIcon=0}}
{{ItemLink|Ginger Tom. Salad|showName=Blattsalat}}
{{ItemLink|Chili Dog|noLink=1}}
{{ItemLink|Geo-Data #3469|anchorOverride=1}} {{ItemLink|Chili Dog|anchorOverride=1}} (internal use only)
{{ItemLink|Health Pickup}}
{{ItemLink|foo}}

{| class="wikitable"
|-
! Item !! Info
|-
| {{ItemLink|Bergen Ice Cream}} || Itemtext Itemtext Itemtext Itemtext {{ItemLink|Bergen Ice Cream}}
|-
| {{ItemLink|Ginger Tom. Salad}} || Itemtext Itemtext Itemtext Itemtext {{ItemLink|Ginger Tom. Salad}}
|}

will give you:

LV26Winterclaw Geo-Data #3469 LV11Recruit's Scope Ginger Tom. Salad on a LV11Scrappy Plate Bergen Ice Cream Blattsalat Chili Dog Geo-Data #3469 Chili Dog (internal use only) Health Pickup File:Foo.pngfoo

Item Info
Bergen Ice Cream Itemtext Itemtext Itemtext Itemtext Bergen Ice Cream
Ginger Tom. Salad Itemtext Itemtext Itemtext Itemtext Ginger Tom. Salad

Names containing special characters are supported. If an item is misspelled, does not exist or simply has not been added to the template yet, it will show the default item image and link to the Items page. The first parameter is the anchor-name. noIcon can hide the Icon (1 = hide, not 1 = show). showName is for alternative Names.