Template:Item/doc: Difference between revisions

Valaerys (talk | contribs)
Created page with "{{Documentation/Header}} {{Lua}} This template creates an icon and link for a given Item. ==Syntax== {{T|Item|v1=item name|v2=optional size}} ==Parameter List== * {{F|1}} or {{F|name}} — Name of the item. Defaults to {{F|Unknown}}. * {{F|2}} or {{F|size}} — Size of the image in pixels. Defaults to {{F|30}}. * {{F|x}} or {{F|count}} — The amount of the item. * {{F|link}} — Page to link to. Defaults to the item name * {{F|text}} — Text t..."
 
Valaerys (talk | contribs)
mNo edit summary
 
Line 26: Line 26:


===Parameter #2===
===Parameter #2===
{{T|Item|p1=Popsicle|p2=20|recipe=1|_Y_=1}}<br />
{{T|Item|p1=Popsicle|p2=20|_Y_=1}}<br />
{{T|Item|p1=Popsicle|p2=200|recipe=1|_Y_=1}}
{{T|Item|p1=Popsicle|p2=200|_Y_=1}}


===link===
===link===
{{T|Item|p1=Popsicle|p2=link=Popsicle|recipe=Popsicle|_Y_=1}}
{{T|Item|p1=Popsicle|p2=link=Food|_Y_=1}}


===text===
===text===