Difference between revisions of "Ask"

From its-wiki.no
Jump to: navigation, search
(Example)
(Example)
Line 52: Line 52:
 
ongoing projects, based on  <nowiki> {{now}}::<{{Due_date}} </nowiki>
 
ongoing projects, based on  <nowiki> {{now}}::<{{Due_date}} </nowiki>
 
* CURRENTYEAR is {{CURRENTYEAR}}, CURRENTTIME is {{CURRENTTIME}}, LOCALTIME is {{LOCALTIME}}
 
* CURRENTYEAR is {{CURRENTYEAR}}, CURRENTTIME is {{CURRENTTIME}}, LOCALTIME is {{LOCALTIME}}
* date: {{#formatdate:25 Februar 2016|dMY}} or "now": {{#time: d m Y|now }}   
+
* date: {{#formatdate:25 Februar 2016|dMY}} or "now": {{#time: d MM Y|now }}   
 
=== recent pages ===
 
=== recent pages ===
 
{{#ask:[[Modification date::+]]
 
{{#ask:[[Modification date::+]]

Revision as of 11:07, 12 March 2015

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 12:35, LOCALTIME is 12:35
  • date: 25 Februar 2016 or "now": 06 MayMay 2024

recent pages


recent pages in slideshow

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

recent pages, random

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

  1. Native iOS version review of 2015/04/20
  2. File:20171031SDN discussions.pdf
  3. DigI TIGO Meeting 18Apr2018
  4. Maurice Isabwe
  5. File:Rye17 Treningsplan2018.pdf
  6. ... further results

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

Variables