- Introduction to Semantic MediaWiki
- Browsing and searching
- Semantic search
- Selecting pages
- Displaying information
- Result formats
- Inline queries
- Semantic Web
|Found errors or typos? Just edit the page or leave a message on the talk page.|
The English language documentation is canonical and most up to date.
The factbox is a box at the bottom of wiki pages which summarises the semantic data that was entered into a page (see a live example at the bottom of this page). This also helps editors to check whether Semantic MediaWiki actually «understood» the supplied information as intended. Users can read the factbox for getting a quick overview, and for using its links to further information. Note that the factbox can be switched off by the site administrator, as some wikis do not wish to show the added information on each page (see Configuration).
Semantic MediaWiki 3.0.0Released on 11 October 2018 and compatible with MW 1.27.0 - 1.31.x. brought changes to the appearance of the factbox making it a tab only solution with CSS (
.smw-tabs). Moreover the previous "table" elements were replaced with "div" elements and made responsive with CSS (
Working with the factbox
Factboxes show information in two columns: the left column displays the property that some information belongs to (e.g. population), while the right column shows the value of that property (e.g. 3,410,000). Each property name is a link to the property's article in the wiki, where one can normally find more information about a property's meaning and usage. Annotations in the factbox usually provide links to involved wiki pages, and for properties that support units of measurement, the factbox also shows converted values in other units.
The icon next to each property value links to a simple search on special page "SearchByProperty" (direct example). See also below on this page. For example, if an article contains the annotation
[[is located in::Germany]] then its factbox links to a search listing all pages with the same annotation, i.e. everything located in Germany. Similarly, the header of the factbox shows an icon that links to a simple semantic browser for the given page (see below).
Finally, the factbox contains a link to retrieve the factbox contents in the machine-readable OWL/RDF format, as explained in the section on Semantic Web technologies in SMW.
Editors can put the behaviour switches
__SHOWFACTBOX__ on any page to hide or display (if nonempty) the factbox on any page, independently of the global wiki configuration.
A live example for the factbox is on the demo page Berlin where it was enabled with
- Factbox not showing presumably due to using memcached
- Factbox is not displayed when using the "MobileFrontend" extension3