Difference between revisions of "Ask"
From its-wiki.no
Josef.Noll (Talk | contribs) (→Example) |
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|now}} or "now": {{#time: d M Y|now }} |
=== recent pages === | === recent pages === | ||
{{#ask:[[Modification date::+]] | {{#ask:[[Modification date::+]] |
Revision as of 11:06, 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 05:16, LOCALTIME is 05:16
- date: d mm Y or "now": 27 Sep 2024
recent pages
- TEK9110 (Modification dateThis property is a special property in this wiki. 24 September 2024 15:12:51)
- Diaa Jadaan (Modification dateThis property is a special property in this wiki. 24 September 2024 14:42:40)
- Diaa.jadaan (Modification dateThis property is a special property in this wiki. 24 September 2024 14:42:31)
- Tips and strategies on how to publish research papers in reputable journals 2024/09/19 (Modification dateThis property is a special property in this wiki. 19 September 2024 13:10:12)
- File:202409 ResearchPaper AASTU Noll.pdf (Modification dateThis property is a special property in this wiki. 19 September 2024 13:10:05)
- (Modification dateThis property is a special property in this wiki. 19 September 2024 13:09:44)
- Nurture Seminar at AASTU 19Sep2024 (Modification dateThis property is a special property in this wiki. 19 September 2024 08:37:14)
- (Modification dateThis property is a special property in this wiki. 19 September 2024 08:35:51)
- Nurture Seminar Sep2024 Hawassa (Modification dateThis property is a special property in this wiki. 16 September 2024 05:07:35)
- Connecting the Future for Schools and Communities 2024/09/16 (Modification dateThis property is a special property in this wiki. 16 September 2024 04:59:47)
- ... 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:Elicit-SecurityChallenges AutomatedSystems.txt
- UNIROMA1
- Ntnu
- Climate Change
- Hai Thanh Nguyen
- ... 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