Ask

From its-wiki.no
Revision as of 11:08, 12 March 2015 by Josef.Noll (Talk | contribs)

Jump to: navigation, search

Explanation of Semantic MediaWiki ask function

help page

http://semantic-mediawiki.org/wiki/Help:Selecting_pages, including " ::>, ::! "

output to vcard

Warning: exports all users on this wiki ... further results

for errors, see Josef_Noll

Example

 {{#ask:[[Category::User]]
 |?=search for users#
 |?User
 |?Date
 |?Title
 |format=broadtable
 |limit=5
 |offset=1
 |link=all
 |sort=User count
 |order=descending
 |headers=plain
 |mainlabel=search for users
 |intro=results
 |outro=done
 |searchlabel=… further results
 |default=no results found
 |class=sortable wikitable smwtable
 }}

<!--- ask with OR connection, as used in Template:User --->
{{#ask: [[Supervisor::{{SUBJECTPAGENAME}}]] OR [[Lecturer::{{SUBJECTPAGENAME}}]] OR 
[[User::{{SUBJECTPAGENAME}}]] OR [[{{SUBJECTPAGENAME}}]]

ommit main label: | mainlabel=- |

{{#show: Berlin | ?population }} 

Example

ongoing projects, based on {{now}}::<{{Due_date}}

  • CURRENTYEAR is 2024, CURRENTTIME is 20:38, LOCALTIME is 20:38
  • date: 25 Februar 2016 or "now": 06 May 2024

recent pages


recent pages in slideshow

Note: format=slideshow is supported in this version, and shown in:

  • Some part "<nowiki>...</nowiki>" of the query was not understood.
  • Some subquery has no valid condition.

recent pages, random

[[modification date::+]] shows only pages that exist (not deleted ones)

  1. UNIK9710
  2. Screenshot 2021-04-08 at 14.23.25.png
  3. WiMax
  4. Modem
  5. Health in the Digital World-Wilton Park Oct2020
  6. ... further results

The part "{{{ns}}}" of the query was not understood. Results might not be as expected.

Variables