User:Jamespapp/sandbox/SMW/Test resources

Overview
This page tests User:Jamespapp/sandbox/SMW/Logs (and its underlying test template User:Jamespapp/sandbox/SMW/InfoboxItem) by undertaking various SMW queries.

Unless otherwise indicated, the default SMW table layout is rendered.

Categories
It should be noted that User:Jamespapp/sandbox/SMW/Logs is actually only explicitly included in Category:Resources, raw, but because that category has been denoted as a sub-category of Category:Resources, the page is implicitly included in that (parent) category too.

Pages in Category:Resources, raw:

Pages in Category:Resources:

Pages in Category:Resources that have notes:

Pages in Category:Resources that have a lifespan:

Lifespan
Greater than zero:

Anything set for "lifespan":

Has a lifespan of zero (as you can't query for a page that doesn't have a value set for a property):

''NOTE: nothing is listed here as we currently don't set a value of zero for resources that don't have a lifespan (rendered by the infobox template as "N/A"). This test seems to indicate the usefulness of setting a value of zero after all.''

Produced by
Pages in Category:Resources, produced:

Pages in Category:Resources, produced, by Laborer:

Pages in Category:Resources, produced, by Forager Shack:

Pages in Category:Resources, produced, by Firewood Splitter:

Pages in Category:Resources, produced, by Trading Post:

Pages in Category:Resources, produced, by Work Camp: