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
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
Should show a First Appearances field.

Test 2
Should show a field called First Appearance. The link must be within the mod's area.

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
The firstver field should link to a local version page. Not the global one for Minecraft