Item logic.
shortcut in if statement
Added a pageless item for pagelinking tests.
And consistency in naming fixed.
A little about the templates.
Minor template fix