Difference between revisions of "Ask"
From its-wiki.no
Josef.Noll (Talk | contribs) |
Josef.Noll (Talk | contribs) (→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: | + | * date: {{#formatdate:d mm Y|dMY}} or "now": {{#time: d M Y|now }} |
=== recent pages === | === recent pages === | ||
{{#ask:[[Modification date::+]] | {{#ask:[[Modification date::+]] |
Revision as of 11:02, 12 March 2015
Wiki for ITS | ||||||
---|---|---|---|---|---|---|
|
Contents
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 09:32, LOCALTIME is 09:32
- date: d mm Y or "now": 10 Jun 2024
recent pages
- File:MasterThesis Alexander Haddad May2024 updated.pdf (Modification dateThis property is a special property in this wiki. 9 June 2024 20:43:48)
- (Modification dateThis property is a special property in this wiki. 9 June 2024 19:41:38)
- Kjoreplan (Modification dateThis property is a special property in this wiki. 9 June 2024 19:41:13)
- Marketsfoering (Modification dateThis property is a special property in this wiki. 9 June 2024 19:38:35)
- (Modification dateThis property is a special property in this wiki. 9 June 2024 19:35:33)
- (Modification dateThis property is a special property in this wiki. 9 June 2024 19:32:04)
- Multisportuka erfaringer (Modification dateThis property is a special property in this wiki. 9 June 2024 19:20:50)
- Multisportuka (Modification dateThis property is a special property in this wiki. 9 June 2024 19:19:25)
- ITS Talks 6Jun2024 (Modification dateThis property is a special property in this wiki. 6 June 2024 22:32:20)
- Energy Transition in a Norwegian Perspective 2024/06/07 (Modification dateThis property is a special property in this wiki. 6 June 2024 22:31:10)
- ... further results
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)
- File:WP7-ManagementReport-Q1-Q2.2011.pdf
- St. Wiliams Gendro Secondary School
- Ideal Listening Reduction Mechanisms for overprovisioned Cells in 6TiSCH
- Meeting on the feedback given by Josef
- ... further results
The part "{{{ns}}}" of the query was not understood. Results might not be as expected.
Variables
- ARTICLEPAGENAME, TALKPAGENAME
- see more http://en.wikipedia.org/wiki/Help:Magic_words