User:Pmw57/The Aether/Mod/Food test

=Tests for the Mods/Food template= Template location: User:Pmw57/Mods/Food

Test 1
Given a title, show that title.

Test 2
When no title is given, default to the page name instead.

Test 1
Providing an image name should result in that image being shown.

Test 2
With no image name, should use the template title for the image

Failed due to template code using BASEPAGENAME

Passes after instead using SUBPAGENAME

Test 3
With no image and no template title, should use the SUBPAGENAME - see the test 3 page.

Test 4
With no image, no template title, and no SUBPAGENAME, should use the noimge.svg placeholder.

Test 5
With an image name that doesn't exist, should show a link to the location of the missing image.

Test 6
When invimage= is provided, allows you to show an inventory image.

Test 7
If the title has a matching inventory image, show that image.

Test 8
If just the title is given (with no mod), retrieve the mod from the URL.

Test 1
When information is provided, show that info.

The type must associate the page with the Mods category list, not the main Minecraft category list.

Test 2
When no information is provided, default to a question mark.

Test 1
The firstver field should link to a mod-based version location - not the global one for Minecraft. For example, if the page is Mods/The Aether/Armor/Zanite then the link for version 1.04 should go to Mods/The Aether/Version 1.04

Test 2
The multiplevers field should show those multiple versions, and prevent the first version from being shown.

Test 1
The data field should show the data value of the food item.

Test 2
When multipledata is used, you need to use the data value template. That information should be shown and it should prevent the normal data value from being shown.