#ask: syntax elements

From semantic-mediawiki.org
Jump to: navigation, search

This page provides an overview of the possible syntax elements an inline query using the #ask parser function may hold:

Help pageSyntax elementDescription
#ask: annotation markup raw format
#-ia
Allows embedded annotation markup within text to retain its raw (parsed) format12
#ask: annotation query marker
@annotation
Marks an inline query as part of an annotation3
#ask: control query marker
@control=slider
Allows to dynamically alter a result display without the need to reload a page4
#ask: deferred query marker
@deferred
Marks an inline query as deferred from regular parsing4
#ask: hierarchy depth restriction
+depth=
Restricts the hierarchy depth of a query5
#ask: highlight search tokens
#-hl
Allows to highlight search tokens within a result set6
#ask: printout column alignment
+align=
Defines an alignment for the content of a printout column
#ask: printout column width
+width=
Defines a width for a printout column7
#ask: printout sorting order
+order=
Defines the sorting order for printout statements (dot chain syntax)8
NoteNote: This table is not yet complete. See also this help page.

See also

References

  1. ^  Semantic MediaWiki: GitHub pull request gh:smw:2325
  2. ^  Semantic MediaWiki: GitHub issue gh:scite:40
  3. ^  Semantic MediaWiki: GitHub pull request gh:smw:2572
  4. a b  Semantic MediaWiki: GitHub pull request gh:smw:2398 (Add support for @deferred mode)
  5. ^  Semantic MediaWiki: GitHub issue gh:smw:2662
  6. ^  Semantic MediaWiki: GitHub pull request gh:smw:2253
  7. ^  Semantic MediaWiki: GitHub pull request gh:smw:2677
  8. ^  Semantic MediaWiki: GitHub pull request gh:smw:2073