User:Pmw57/The Aether/Mod/Item test

=Tests for the Mod/Item template= These tests are initially developed using the User:Pmw57/Mod/Item template. The tests are then moved over to use Template:Mod/Item as a final integration check.

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, while linking through to where the image should be.

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

Test 6
If a second or third image name is given, show those other images

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

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

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

Test 10
If multiple inventory images are provided, show them all.

A maximum of 25 inventory images can be shown in this manner.

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 ?, N/A, ? and ? respectively.

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