Test:SMW: Difference between revisions

From elijah
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 27: Line 27:
{{#ask: [[Article:+]]
{{#ask: [[Article:+]]
  | ?HasAuthor
  | ?HasAuthor
| ?BelongsToTopic
  | format=table
  | format=table
  | limit=100
  | limit=100
}}
}}


-- all pages in category Topics --
{{#ask: [[Article:+]]
<!-- This query will listed all pages in category Topics, but they don't have BelongsToTopic attribue -->
  |?HasImage
  |format=gallery
}}
 
-- All pages in category Topics --
{{#ask: [[Category:Topics]]
{{#ask: [[Category:Topics]]
  | ?BelongsToTopic
  | ?=Page
  | format=table
  | format=table
  | limit=100
  | limit=100
| namespace=Topic
}}
}}


<!-- This query will listed all pages in category Topics -->
-- all pages in Category namespace --
{{#ask: [[Category:Topics]]
<!-- This is a special namesapce namespace -->
| ?=Page
{{#ask: [[Category:+]]
  | format=table
  | format=table
  | limit=100
  | limit=100
| namespace=Topic
}}
}}

Latest revision as of 15:37, 30 October 2025