Semantic MediaWiki: Difference between revisions

From CoMakingSpace Wiki

m (→‎Cheat Sheet: linked "selecting pages")
(linked Metal Workshop/Gallery)
Line 3: Line 3:
How we use it so far:
How we use it so far:
* [https://github.com/comakingspace/do-something/issues/130 giving equipment pages properties like "Tutor::" and "Location::"] so they can easily be listed accordingly
* [https://github.com/comakingspace/do-something/issues/130 giving equipment pages properties like "Tutor::" and "Location::"] so they can easily be listed accordingly
* integrating properties for images into InfoBoxes as a potential way to generate {{NavGal}}s
* integrating properties for images into InfoBoxes as a potential way to auto-generate {{NavGal}}s
** first experiment: [[Metal Workshop/Gallery]]
* ''what else can you think of?''
* ''what else can you think of?''



Revision as of 17:40, 25 February 2020

We started using Semantic MediaWiki (SMW) for some "smart" functions of this wiki around June 2019. Feel free to join the effort!

How we use it so far:

Cheat Sheet

This is not supposed to replace the SMW documentation, but some things are nice to remember/share once you've finally found them:

  • Special:Ask - "sandbox" page for SMW queries (help)
  • assigning properties
    • in-text annotation: [[Property::value]] (only "value", or its |alt text, is displayed)
    • hidden annotation: use the set function
      • alternatively, you could enter | (the space is important!) to the end of a property (e.g. [[Has demo::test| ]]) which might be necessary in certain template elements
  • list of possible result formats (e.g. table or gallery)