« CrysisExamplePage » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « Relates to https://sourceforge.net/p/semediawiki/mailman/message/36056888/ Requires the SBL extension (annotates `Has parent page` property automatically). <pre> {{#ask:... ») |
Aucun résumé des modifications |
||
Ligne 1 : | Ligne 1 : | ||
Relates to https://sourceforge.net/p/semediawiki/mailman/message/36056888/ | Relates to https://sourceforge.net/p/semediawiki/mailman/message/36056888/ | ||
Requires the SBL extension (annotates `Has parent page` property automatically). | == Using `Has parent page` == | ||
Requires the SBL extension (annotates the `Has parent page` property automatically). | |||
<pre> | <pre> | ||
Ligne 11 : | Ligne 13 : | ||
{{#ask: [[Has ability::Flight]] | {{#ask: [[Has ability::Flight]] | ||
|?Has parent page | |?Has parent page | ||
}} | |||
<pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?Has parent page | |||
|mainlabel=- | |||
|headers=hide | |||
}} | |||
</pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?Has parent page | |||
|mainlabel=- | |||
|headers=hide | |||
}} | |||
== Using `Subpage` == | |||
Requires the SESP extension (annotates the `Subpage` property automatically). | |||
The difference is the direction therefore `Subpage` is used as inverted property hence `-`. | |||
<pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?-Subpage | |||
}} | |||
</pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?-Subpage | |||
}} | |||
<pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?-Subpage | |||
|mainlabel=- | |||
|headers=hide | |||
}} | |||
</pre> | |||
{{#ask: [[Has ability::Flight]] | |||
|?-Subpage | |||
|mainlabel=- | |||
|headers=hide | |||
}} | }} |
Version du 30 septembre 2017 à 05:05
Relates to https://sourceforge.net/p/semediawiki/mailman/message/36056888/
Using `Has parent page`
Requires the SBL extension (annotates the `Has parent page` property automatically).
{{#ask: [[Has ability::Flight]] |?Has parent page }}
Has parent page | |
---|---|
CrysisExamplePage/Abilities |
{{#ask: [[Has ability::Flight]] |?Has parent page |mainlabel=- |headers=hide }}
Using `Subpage`
Requires the SESP extension (annotates the `Subpage` property automatically).
The difference is the direction therefore `Subpage` is used as inverted property hence `-`.
{{#ask: [[Has ability::Flight]] |?-Subpage }}
-Cette propriété est une propriété spéciale dans ce wiki. | |
---|---|
CrysisExamplePage/Abilities | CrysisExamplePage |
{{#ask: [[Has ability::Flight]] |?-Subpage |mainlabel=- |headers=hide }}