User:Red Agliator/My Sandbox/Help/Displaying Query Results

There are many ways to format the output of Semantic Mediawiki  queries. The most common ways are text with commas, bullet or number lists, and tables. (SMW result formats has a complete list.)

This wiki also has a few templates that allow you to do special formatting. Why? With the built-in formats, clicking an image will take you to that file's info page. The specialty templates allow you to display images, and have them link to the wiki page for that object.

These examples are ready to cut, paste, and modify. They all start with the same search, looking for all scavenged tools. In the very shortest form:

Each snippet is modified from that to show how to get that example's format.

Single Line with Commas
Scavenged Tools (page names)

Types of Scavenged Tools (page property)

Bullet List
Scavenged Tools (page names)

Table (simplest query format)
Scavenged Tools and their Types (page names, with property)

Editable Table
Pages for item categories (Tools, Crafting Materials, etc.) to make it easy for people to quickly add notes for new items. Note: items added to this type of table will still need to have item pages created to be fully added to the wiki.

Scavenged Tools (page names with property)

Gallery with Clickable Thumbnails
Scavenged Tools (page names and pictures)

Note: The image property must use the exact capitalization that the wiki uses. Specifically, the first character of the property name needs to be capitalized, since the wiki automatically capitalizes every page and property name that way.

Table with Clickable Thumbnails
Scavenged Tools (and their Types) (page names, with picture and property)