Différences entre les versions de « HaloTestEvent »
De Semantic MediaWiki - Sandbox
(simplified syntax) |
|||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
+ | __NOTOC__ | ||
+ | |||
Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains | Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains | ||
− | == Example == | + | ==Example== |
− | === | + | ===Inline=== |
− | + | {| border="1" cellpadding="2" cellspacing="0" | |
− | + | ! Venue | |
− | + | | {{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}} | |
− | + | | <code><nowiki>{{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}</nowiki><br/><small><nowiki>{{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}</nowiki></small></code> | |
− | + | |- | |
− | + | ! City | |
− | + | | {{#ask: [[-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}} | |
− | + | | <code><nowiki>{{#ask: [[-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}</nowiki><br/><small><nowiki>{{#ask: [[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]] | ?Has text= | mainlabel=-}}</nowiki></small></code> | |
− | + | |- | |
− | + | ! Country | |
− | + | | {{#ask: [[-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}} | |
− | + | | <code><nowiki>{{#ask: [[-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}</nowiki><br/><small><nowiki>{{#ask: [[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]] | ?Has text= | mainlabel=-}}</nowiki></small></code> | |
+ | |- | ||
+ | ! Continent | ||
+ | | {{#ask: [[-Has page.-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}} | ||
+ | | <code><nowiki>{{#ask: [[-Has page.-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}</nowiki><br/><small><nowiki>{{#ask: [[-Has page::<q>[[-Has page::<q>[[-Has page::<q>[[Has text::Heineken Music Hall]]</q>]]</q>]]</q>]] | ?Has text= | mainlabel=-}}</nowiki></small></code> | ||
+ | |} | ||
− | === | + | ===Tabular=== |
− | + | {{#ask: [[Has text::Heineken Music Hall]] | |
− | + | | ?Has text = Venue | |
− | + | | format = table | |
− | + | }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==See also== | ==See also== |
Dernière version du 7 mars 2016 à 09:22
Inspired with: https://www.semantic-mediawiki.org/wiki/Help:Selecting_pages#Subqueries_and_property_chains
Example
Inline
Venue | Heineken Music Hall | {{#ask: [[Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}
|
---|---|---|
City | Amsterdam | {{#ask: [[-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}
|
Country | Netherlands | {{#ask: [[-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}
|
Continent | Europe | {{#ask: [[-Has page.-Has page.-Has page.Has text::Heineken Music Hall]] | ?Has text= | mainlabel=-}}
|
Tabular
Venue | |
---|---|
HaloTestHeinekenMusicHall | Heineken Music Hall |