{ "description": "Test #subobject with assigned sortkey, default order etc.", "setup": [ { "namespace": "SMW_NS_PROPERTY", "page": "Has text", "contents": "[[Has type::text]]" }, { "page": "Example/P0456/1", "contents": "{{#subobject: foo |Has text=foo }} {{#subobject: bar |Has text=bar }} {{#subobject: baz |Has text=baz }}" }, { "page": "Example/P0456/2", "contents": "{{#subobject: baz |Has text=baz }} {{#subobject: foo |Has text=foo }} {{#subobject: bar |Has text=bar }}" }, { "page": "Example/P0456/Q.1", "contents": "{{#ask: [[-Has subobject::Example/P0456/1]] |?Has text }}" }, { "page": "Example/P0456/Q.2", "contents": "{{#ask: [[-Has subobject::Example/P0456/2]] |?Has text }}" }, { "page": "Example/P0456/3", "contents": "{{#subobject: foo |Has text=foo }} {{#subobject: bar |Has text=bar |@sortkey=zzz }} {{#subobject: baz |Has text=baz }}" }, { "page": "Example/P0456/4", "contents": "{{#subobject: baz |Has text=baz }} {{#subobject: foo |Has text=foo }} {{#subobject: bar |Has text=bar|@sortkey=zzz }}" }, { "page": "Example/P0456/Q.3", "contents": "{{#ask: [[-Has subobject::Example/P0456/3]] |?Has text }}" }, { "page": "Example/P0456/Q.4", "contents": "{{#ask: [[-Has subobject::Example/P0456/4]] |?Has text }}" } ], "tests": [ { "type": "parser", "about": "#0 (default order without explicit sortkey)", "subject": "Example/P0456/Q.1", "assert-output": { "to-contain": [ "