Template:ItemLink: Difference between revisions

From CrossCode Wiki
Jump to navigation Jump to search
m (Remove pipe (noLink))
(Substitution support)
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{doc}}
<onlyinclude><includeonly>{{safesubst:#invoke:ItemLink|main}}</includeonly></onlyinclude>
<!--
{{Doc}}
Information: Please avoid special Characters
Guide for Item-Anchornames:
* Whitspace = _
* English itemnames only
* Only user the special Charaters _ and -
* Remove all other special Chars like ' . , #
-->
 
<!-- <u></u> fixes some strange behavior (if this part is empty <pre></pre> will be added) -->
</noinclude><includeonly>
{{#ifeq: {{#expr: {{#if: {{{noIcon|}}} | {{{noIcon}}} | 0 }} }} | 1 | <u></u> |
{{#switch: {{{1}}}
|Sandwich
|Hi-Sandwich
|Chef Sandwich
|Mega-Sandwich
|Cross Sandwich = [[File:item-comsumable-white.png]]
|Veggie Sticks
|Veggie Wraps
|Veggie Burger
|Spicy Bun
|Flaming Bun
|Blazing Bun
|Fruit Drink
|Fruit Salad
|Fruit Pie
|Rice Cracker
|Tofu Cracker
|Cheese Cracker
|Green Leaf Tea
|Sweet Berry Tea
|Salty Ice Cream
|Chili Con Carne
|Raw Steak
|Bergen Ice Cream
|Sweet Lemonjuice = [[File:item-consumable-bronze.png]]
|Pepper Night Tea
|Ginger Tom. Salad
|Chili Dog = [[File:item-comsumable-silver.png]]
|Echo Roll = [[File:item-comsumable-platinum.png]]
|Rookieblade
|Edge O' All
|Broken Chakram = [[File:weapon-white.png]]
|Bronze Edge
|Iron Edge = [[File:weapon-bronze.png]]
|Civilian Trigger
|Mugger's Blade
|Daikon
|Battered Fist
|Swiftspike
|Climbing Pick
|Gunner's Trigger
|Rocksplitter
|Copper Gull
|Core Drill
|Silver Hawk
|Brostick of Force
|Rauser
|Rauser NOEZ = [[File:weapon-silver.png]]
|Winterclaw
|Giga Spiral Drill
|D. C-137 Gun = [[File:weapon-gold.png]]
|Winner's Pride = [[File:weapon-platinum.png]]
|Rookiehat
|Explorer's Cap = [[File:hat white.png]]
|Bronze Goggles
|Iron Goggles = [[File:hat bronze.png]]
|Cooling Veil
|Recruit's Scope
|Student's Bandana
|Shady Monocle
|Furry Cap
|Longears
|Proper Tophat
|Pig Mask
|Pig Mask NOEZ = [[File:hat silver.png]]
|Holiday Hat = [[File:hat-platinum.png]]
|Rookiebelt
|Second Hide = [[File:torso-white.png]]
|Bronze Mail
|Iron Mail = [[File:torso-bronze.png]]
|Bovine Armor
|Scrappy Plate
|Assault Vest
|Leaf Cape
|Spiky Jacket
|Hardrock Plate
|Bubblebelt = [[File:torso-silver.png]]
|Rookieboots
|Grasswalkers = [[File:legs-white.png]]
|Bronze Boots
|Iron Boots = [[File:legs-bronze.png]]
|Bronze Anchor
|Fleety Sandals
|Bull Stompers
|Feline Paws
|Icewalkers = [[File:legs-silver.png]]
|Ancient Sandals
|Boom Walkers = [[File:legs-gold.png]]
|Sparkly Boots = [[File:legs-platinum.png]]
|Autumn Leaf
|Gold Beetle
|Feather Leaf
|Pike Wood
|Bug Shell
|Bergen Ice = [[File:trade-white.png]]
|Veggie Set
|Fruit Set
|Spice Set
|Junk Metal
|Season Apples
|Twilight Dew
|Rusty Bits
|Purple Ore Lump
|Metal Gears
|Blue Orb
|Metal Needles
|Headphone Scraps
|Bovine Skin
|Fluffy Fur
|Rock Beak
|Solid Bubble
|Ordinary Fish = [[File:trade-bronze.png]]
|Bear Cicada
|Azure Dragonfly
|Frozen Tear
|Winter Thorn
|Diabolic Horns
|Frosted Carrot
|Perforated Tophat
|Dropped Mic = [[File:trade-silver.png]]
|Spiral Gem
|Perfect Karrot
|Golden Ring
|Blue Shell
|Dungeon Heart
|Golden Triangle
|Masterball
|SecretBall = [[File:trade-gold.png]]
|Achievement
|Thief's Key
|Key Piece
|Disc of Insight
|Disc of Treasure
|Geo-Data #3469
|Pure Autumn Cider
|Autumn Ingredients
|Captured Bunny
|Capture Device
|Vermillion Jewel
|Holiday Present
|Green Leaf Shade
|Mine Master Key
|Mine Key
|The End
|Placeholder #1
|Ye dirty ol' cheater = [[File:valuable-key.png]]
|Health Pickup = [[File:health-small.png]]
|#default = [[File:miscellaneous item white.png]]
}} }} {{#ifeq: {{#expr: {{#if: {{{noLink|}}} | {{{noLink}}} | 0 }} }} | 1 | | {{lo}} {{#switch: {{{1}}}
|Sandwich
|Hi-Sandwich
|Chef Sandwich
|Mega-Sandwich
|Cross Sandwich
|Veggie Sticks
|Veggie Wraps
|Veggie Burger
|Spicy Bun
|Flaming Bun
|Blazing Bun
|Fruit Drink
|Fruit Salad
|Fruit Pie
|Rice Cracker
|Tofu Cracker
|Cheese Cracker
|Green Leaf Tea
|Sweet Berry Tea
|Salty Ice Cream
|Chili Con Carne
|Raw Steak
|Bergen Ice Cream
|Sweet Lemonjuice
|Pepper Night Tea
|Ginger Tom. Salad
|Chili Dog
|Echo Roll
|Placebotion = Items/Consumables#
|Rookieblade
|Edge O' All
|Broken Chakram
|Bronze Edge
|Iron Edge
|Civilian Trigger
|Mugger's Blade
|Daikon
|Battered Fist
|Swiftspike
|Climbing Pick
|Gunner's Trigger
|Rocksplitter
|Copper Gull
|Core Drill
|Silver Hawk
|Brostick of Force
|Rauser
|Rauser NOEZ
|Winterclaw
|Giga Spiral Drill
|D. C-137 Gun
|Winner's Pride = Items/Arms#
|Rookiehat
|Explorer's Cap
|Bronze Goggles
|Iron Goggles
|Cooling Veil
|Recruit's Scope
|Student's Bandana
|Shady Monocle
|Furry Cap
|Longears
|Proper Tophat
|Pig Mask
|Pig Mask NOEZ
|Holiday Hat = Items/Head#
|Rookiebelt
|Second Hide
|Bronze Mail
|Iron Mail
|Bovine Armor
|Scrappy Plate
|Assault Vest
|Leaf Cape
|Spiky Jacket
|Hardrock Plate
|Bubblebelt = Items/Torso#
|Rookieboots
|Grasswalkers
|Bronze Boots
|Iron Boots
|Bronze Anchor
|Fleety Sandals
|Bull Stompers
|Feline Paws
|Icewalkers
|Ancient Sandals
|Boom Walkers
|Sparkly Boots = Items/Legs#
|Autumn Leaf
|Gold Beetle
|Feather Leaf
|Pike Wood
|Bug Shell
|Bergen Ice
|Veggie Set
|Fruit Set
|Spice Set
|Junk Metal
|Season Apples
|Twilight Dew
|Rusty Bits
|Purple Ore Lump
|Metal Gears
|Blue Orb
|Metal Needles
|Headphone Scraps
|Bovine Skin
|Fluffy Fur
|Rock Beak
|Solid Bubble
|Ordinary Fish
|Bear Cicada
|Azure Dragonfly
|Frozen Tear
|Winter Thorn
|Diabolic Horns
|Frosted Carrot
|Perforated Tophat
|Dropped Mic
|Spiral Gem
|Perfect Karrot
|Golden Ring
|Blue Shell
|Dungeon Heart
|Golden Triangle
|Masterball
|SecretBall = Items/Trade#
|Achievement
|Thief's Key
|Key Piece
|Disc of Insight
|Disc of Treasure
|Geo-Data #3469
|Pure Autumn Cider
|Autumn Ingredients
|Captured Bunny
|Capture Device
|Vermillion Jewel
|Holiday Present
|Green Leaf Shade
|Mine Master Key
|Mine Key
|The End
|Placeholder #1
|Ye dirty ol' cheater = Items/Valuables#
|Health Pickup = Combat#
|#default = Items#
}}{{#switch: {{{1}}}
|Ginger Tom. Salad = Ginger Tom Salad
|Edge O' All = Edge O All
|Mugger's Blade = Muggers Blade
|Gunner's Trigger = Gunners Trigger
|Rauser = Rauser NOEZ
|D. C-137 Gun = D C-137 Gun
|Winner's Pride = Winners Pride
|Explorer's Cap = Explorers Cap
|Recruit's Scope = Recruits Scope
|Student's Bandana = Students Bandana
|Pig Mask = Pig Mask NOEZ
|Thief's Key = Thiefs Key
|Geo-Data #3469 = Geo-Data 3469
|Placeholder #1 = Placeholder 1
|Ye dirty ol' cheater = Ye dirty ol cheater
|Health Pickup = Healing
|#default = {{{1}}}
}} {{!}} }}{{#if: {{{showName|}}} | {{{showName}}} | {{{1}}} }}{{#ifeq: {{#expr: {{#if: {{{noLink|}}} | {{{noLink}}} | 0 }} }} | 1 | | {{lc}} }}</includeonly>

Latest revision as of 17:53, 10 May 2021

File:Template-info.svg Template Documentation

This is a template for adding links to items.

About

Add a link to the Item. There are many possibitities to customize the behavior.

Parameter

Item name

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Item Name 1

Item name

Default:
NULL
Example:
* {{ItemLink|Ginger Tom. Salad}}
* {{ItemLink|Edge o' All}}
String Required
Name Override showName

Shows the defined name/Overrides the Item-Name (alternative Name)

Default:
NULL
Example:
Blattsalat
{{ItemLink|Ginger Tom. Salad|showName=Blattsalat}}
String Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Hide and show elements

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
No Icon noIcon

Hides the Icon

Default:
0
Example:
* No Icon (<code>1</code>): {{ItemLink|Ginger Tom. Salad|noIcon=1}}
* Icon (<code>0</code>): {{ItemLink|Ginger Tom. Salad|noIcon=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Ginger Tom. Salad}}
Boolean Optional
No Link noLink

Removes the link

Default:
0
Example:
* No Link (<code>1</code>): {{ItemLink|Chili Dog|noLink=1}}
* Link (<code>0</code>): {{ItemLink|Chili Dog|noLink=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Chili Dog}}
Boolean Optional
No level noLevel

Hides the level

Default:
0
Example:
* Hide (<code>1</code>): {{ItemLink|Scrappy Plate|noLevel=1}}
* Show (<code>0</code>): {{ItemLink|Scrappy Plate|noLevel=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Scrappy Plate}}
Boolean Optional
Show Food Icon showFoodIcon

Show the food icon

Default:
0
Example:
* Show (<code>1</code>): {{ItemLink|Chili Dog|showFoodIcon=1}}
* Hide (<code>0</code>): {{ItemLink|Chili Dog|showFoodIcon=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Chili Dog}}
Boolean Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Wrap behavior

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Disable brakes nowrap

disable or enable Nowrap (prevent line breaks)

Default:
1
Example:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. LV11Scrappy Plate Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. {{ItemLink|Scrappy Plate|nowrap=0}} Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Boolean Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Custom Level

The associated equipment level is shown by default. Use the option only for an deviating equipment level or for adding a level to non equipment items.

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Level override level

Set a custom level to display.

Example:
Equipment:
LV02Edge o' All
LV17Scrappy Plate
LVL↑Old Geta
Other Item(s):
LV15Chili Dog
; Equipment:
: {{ItemLink|Edge o' All|level=2}}
: {{ItemLink|Scrappy Plate|level=17}}
: {{ItemLink|Old Geta|level=ascended}}
; Other Item(s):
: {{ItemLink|Chili Dog|level=15}}
[ Number | "ascended" ] Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Custom Food icon

The food icon is hidden by default see Hide and show elements for showing the associated food icon.

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Food icon override foodIcon

Set a custom food icon

Default:
NULL
Example:
Food: Chili Dog Other Item(s): LV11Scrappy Plate
Food: {{ItemLink|Chili Dog|foodIcon=FruitSalad_FoodIcon.png}} Other Item(s): {{ItemLink|Scrappy Plate|foodIcon=FruitSalad_FoodIcon.png}}
String Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Disable auto-rename

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
No Rename noRename

disable or enable noRename (prevent auto-rename)

Default:
0
Example:
noRename: LV01Rauser Rename: LV01-Rauserr
noRename: {{ItemLink|Rauser|noRename=1}} Rename: {{ItemLink|Rauser|noRename=0}}
Boolean Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Return information (internal use)

Do not use named parameter for 1 ... x. The first Parameter will be automatically marked as 1, the second as 2 and so on.

Parameter Description Type Status
Level return (Data override) levelOverride

disable or enable levelOverride (return the level)

Default:
0
Example:
  • levelOverride: 11
levelOverride: {{ItemLink|Scrappy Plate|levelOverride=1}}
no levelOverride: {{ItemLink|Scrappy Plate|levelOverride=0}}
  • Other Item(s): (blank)
Other Item(s): {{ItemLink|Chili Dog|levelOverride=1}}(blank)
Boolean Optional
Level return (allow ascended) allowAscended

Allow returning ascended when levelOverride is 1.
Lua modules should use mw.loadData("Module:ItemLink/levelList") directly.

Default:
0
Example:
  • allowAscended: {{ItemLink|Lifefiber Dress|levelOverride=1|allowAscended=1}}
    allowAscended: ascended
  • no allowAscended: {{ItemLink|Lifefiber Dress|levelOverride=1|allowAscended=0}} (blank)
    no allowAscended: (blank)
Boolean Optional

See Template:TemplateData and Template:TemplateData/entry for more information about the parameter list and DDNCode for more information about types and the DDN Notation

Special Items

Code Result
{{ItemLink|Health Pickup}}
Health Pickup

Invalid Item

If an item is misspelled, does not exist or simply has not been added to the template will show a broken icon.

Name

Names containing special characters (#) are not supported. Remove them and use showName for this characters.

It is possible that the name appears different than that entered one:

{{ItemLink|Rauser}}
Rauser will be displayed as LV01-Rauserr. In these cases they are marked with an r (for renamed). All renamed Items will be listet in the category AutoRenamedItem.
* {{ItemLink|Rauser}}
* {{ItemLink|-Rauser}}
* {{ItemLink|Rauser|showName=No Rauser}}
* {{ItemLink|Rauser|noRename=1}}

Wikimedia supports linktrail which allows to add specific characters to an link:

[[Hedgehag]]s

Hedgehags

{{ItemLink|Veggie Set}}s
results in Veggie Sets

Under specific conditions (parameter nowrap=0 is needed) Linktrail is supported by ItemLink:

{{ItemLink|Veggie Set|nowrap=0}}s

Veggie Sets

If nowrap is necessary:

{{Nowrap|{{ItemLink|Veggie Set|nowrap=0}}s}}

Veggie Sets

Linktrail and renamed Items:

{{ItemLink|Rauser|nowrap=0}}s

LV01-Rauserrs

Item Lists

List Description
Module:ItemLink/nameList Contains all Items which should be Renamed
Module:ItemLink/levelList Contains all Level data
Module:ItemLink/foodIconList Contains all Food icons

Rules for the Item Lists

  • All Items should be sorted by Id (That ist the position of the Entry inside the item-database.json. Alternative: ItemViewer on Github) - Path to item-database.json:
    • Mac OS
      1. Open the .app package (Context Menu - show package)
      2. Navigate to Contents/Resources/app.nw/data/item-database.json
    • Windows
      1. Create a copy of your Game (.exe)
      2. Rename .exe to .zip
      3. Unpack the zip file
      4. Navigate to Contents/Resources/app.nw/data/item-database.json
  • Only subsections should be editied
  • Achor Nameing rules:
    • Whitspace = _
    • English Item-names only
    • Only use the special characters _ and -
    • Remove all other special Chars like ' . , # ; < > ( ) { } / \
    • Remove all - if they are at first position: -Item -> Item
  • Don't be shy. If there is a missing Item, add it.

Examples

Code Result
{{ItemLink|Winterclaw}}
LV26Winterclaw
{{ItemLink|Geo-Data 3469|showName=Geo-Data #3469}}
Geo-Data #3469
{{ItemLink|Recruit's Scope}}
LV11Recruit's Scope
{{ItemLink|Ginger Tom. Salad|showName=Blattsalat|noLink=1}}
Blattsalat

Raw Example text

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Thief's Key Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Test of raw TemplateData output:

No description.

Template parameters

ParameterDescriptionTypeStatus
Item Name1

Item name

Example
* <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Ginger Tom. Salad.png|24x24px]]</span>[[Ginger Tom. Salad|Ginger Tom. Salad]]</span>
  • <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>05</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Edge o' All.png|24x24px]]</span>[[Edge o' All|Edge o' All]]</span>
* {{ItemLink|Ginger Tom. Salad}}
* {{ItemLink|Edge o' All}}
Stringrequired
Name OverrideshowName

Shows the defined name/Overrides the Item-Name (alternative Name)

Example
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Ginger Tom. Salad.png|24x24px]]</span>[[Ginger Tom. Salad|Blattsalat]]</span>
{{ItemLink|Ginger Tom. Salad|showName=Blattsalat}}
Stringoptional
No IconnoIcon

Hides the Icon

Default
0
Example
* No Icon (<code>1</code>): <span class="nowrap" style="white-space:nowrap">[[Ginger Tom. Salad|Ginger Tom. Salad]]</span>
  • Icon (<code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Ginger Tom. Salad.png|24x24px]]</span>[[Ginger Tom. Salad|Ginger Tom. Salad]]</span>
  • Default (parameter not used / <code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Ginger Tom. Salad.png|24x24px]]</span>[[Ginger Tom. Salad|Ginger Tom. Salad]]</span>
* No Icon (<code>1</code>): {{ItemLink|Ginger Tom. Salad|noIcon=1}}
* Icon (<code>0</code>): {{ItemLink|Ginger Tom. Salad|noIcon=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Ginger Tom. Salad}}
Booleanoptional
No LinknoLink

Removes the link

Default
0
Example
* No Link (<code>1</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>Chili Dog</span>
  • Link (<code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
  • Default (parameter not used / <code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
* No Link (<code>1</code>): {{ItemLink|Chili Dog|noLink=1}}
* Link (<code>0</code>): {{ItemLink|Chili Dog|noLink=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Chili Dog}}
Booleanoptional
No levelnoLevel

Hides the level

Default
0
Example
* Hide (<code>1</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
  • Show (<code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>11</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
  • Default (parameter not used / <code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>11</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
* Hide (<code>1</code>): {{ItemLink|Scrappy Plate|noLevel=1}}
* Show (<code>0</code>): {{ItemLink|Scrappy Plate|noLevel=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Scrappy Plate}}
Booleanoptional
Show Food IconshowFoodIcon

Show the food icon

Default
0
Example
* Show (<code>1</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkFood" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:ChiliDog FoodIcon.png]]</span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
  • Hide (<code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
  • Default (parameter not used / <code>0</code>): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
* Show (<code>1</code>): {{ItemLink|Chili Dog|showFoodIcon=1}}
* Hide (<code>0</code>): {{ItemLink|Chili Dog|showFoodIcon=0}}
* Default (parameter not used / <code>0</code>): {{ItemLink|Chili Dog}}
Booleanoptional
Disable brakesnowrap

disable or enable Nowrap (prevent line breaks)

Default
1
Example
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <span class="itemLinkLevel">LV<sub>11</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]] Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. {{ItemLink|Scrappy Plate|nowrap=0}} Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Booleanoptional
Level overridelevel

Set a custom level to display.

Example
Equipment
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>02</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Edge o' All.png|24x24px]]</span>[[Edge o' All|Edge o' All]]</span>
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>17</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel ascended">LVL↑</span><span class="itemLinkIcon ascended" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Old Geta.png|26x26px]]</span>[[Old Geta|Old Geta]]</span>
Other Item(s)
<span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>15</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span>
; Equipment:
: {{ItemLink|Edge o' All|level=2}}
: {{ItemLink|Scrappy Plate|level=17}}
: {{ItemLink|Old Geta|level=ascended}}
; Other Item(s):
: {{ItemLink|Chili Dog|level=15}}
Contentoptional
Food icon overridefoodIcon

Set a custom food icon

Example
Food: <span class="nowrap" style="white-space:nowrap"><span class="itemLinkFood" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:FruitSalad_FoodIcon.png]]</span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Chili Dog.png|24x24px]]</span>[[Chili Dog|Chili Dog]]</span> Other Item(s): <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>11</sub></span><span class="itemLinkFood" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:FruitSalad_FoodIcon.png]]</span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
Food: {{ItemLink|Chili Dog|foodIcon=FruitSalad_FoodIcon.png}} Other Item(s): {{ItemLink|Scrappy Plate|foodIcon=FruitSalad_FoodIcon.png}}
Stringoptional
No RenamenoRename

disable or enable noRename (prevent auto-rename)

Default
0
Example
noRename: <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>01</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Rauser.png|24x24px]]</span>[[Rauser|Rauser]]</span> Rename: <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>01</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:-Rauser.png|24x24px]]</span>[[-Rauser|-Rauser<sub>r</sub>]]</span>
noRename: {{ItemLink|Rauser|noRename=1}} Rename: {{ItemLink|Rauser|noRename=0}}
Booleanoptional
Level return (Data override)levelOverride

disable or enable levelOverride (return the level)

Default
0
Example
* levelOverride: 11
levelOverride: {{ItemLink|Scrappy Plate|levelOverride=1}}
  • no levelOverride: <span class="nowrap" style="white-space:nowrap"><span class="itemLinkLevel">LV<sub>11</sub></span><span class="itemLinkIcon" style="image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;">[[File:Scrappy Plate.png|24x24px]]</span>[[Scrappy Plate|Scrappy Plate]]</span>
no levelOverride: {{ItemLink|Scrappy Plate|levelOverride=0}}
  • Other Item(s): (blank)
Other Item(s): {{ItemLink|Chili Dog|levelOverride=1}}(blank)
Booleanoptional
Level return (allow ascended)allowAscended

Allow returning <code>ascended</code> when <code>levelOverride</code> is <code>1</code>.<br />Lua modules should use <code>[[mw:Extension:Scribunto/Lua_reference_manual#mw.loadData|mw.loadData]]("[[Module:ItemLink/levelList]]")</code> directly.

Default
0
Example
*
allowAscended: {{ItemLink|Lifefiber Dress|levelOverride=1|allowAscended=1}}
allowAscended: ascended
  • no allowAscended: {{ItemLink|Lifefiber Dress|levelOverride=1|allowAscended=0}} (blank)
    no allowAscended: (blank)
Booleanoptional