User:Pmw57/The Aether/Mod/Block test

=Tests for the Mod/Block template= These tests are initially developed using the User:Pmw57/Mod/Block template. The tests are then moved over to use Template:Mod/Block 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.

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
With no type, default to ?

Test 2
With Solid Block (or Solid, or Block), show a requirements section that default to ?

Test 3
With the dirt section, use yes to specify "Sunlight and dirt"

Test 4
With the dirt section, use sand to specify "Sunlight and sand"

Test 5
With the dirt section, use no to specify "None"

Test 1
Use gravity, transparent, light, and tntres to specify their values.

Test 2
When no information is provided, default to ? respectively.

Test 1
Normal tools are named and can be shown. Accepted names are: pick, pickaxe, wooden pickaxe, stone pickaxe, iron pickaxe, diamond pickaxe, gold pickaxe, spade, shovel, axe, hoe, bucket, pail, sword, shears, n/a, and all.

Test 2
With an unknown tool name, prepend Grid and append the mod name to get the image.

Test 3
If the unknown tool cannot be automatically found, attempt to use it as an image reference instead.

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