« SubobjectTemplateLinkNone » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « http://wikimedia.7.x6.nabble.com/Show-properties-of-a-subobject-s-parent-page-td5068922.html {{#subobject: |YourSubobjectProperty=Foo |YourSubobjectProperty1=1 |YourSu... ») |
Aucun résumé des modifications |
||
(5 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
http://wikimedia.7.x6.nabble.com/Show-properties-of-a-subobject-s-parent-page-td5068922.html | http://wikimedia.7.x6.nabble.com/Show-properties-of-a-subobject-s-parent-page-td5068922.html | ||
== Data == | |||
<pre> | |||
[[YourParentProperty1::123]] | |||
[[YourParentProperty2::abc]] | |||
{{#subobject: | {{#subobject: | ||
Ligne 6 : | Ligne 11 : | ||
|YourSubobjectProperty2=2 | |YourSubobjectProperty2=2 | ||
}} | }} | ||
</pre> | |||
[[YourParentProperty1::123]] | |||
[[YourParentProperty2::abc]] | |||
{{#subobject: | |||
|YourSubobjectProperty=Foo | |||
|YourSubobjectProperty1=1 | |||
|YourSubobjectProperty2=2 | |||
}} | |||
== Output with link=none == | |||
<pre> | |||
{{#ask: [[YourSubobjectProperty::Foo]] | |||
|?YourSubobjectProperty1 | |||
|?YourSubobjectProperty2 | |||
|format=template | |||
|template=SubobjectTemplateLinkNone | |||
|link=none | |||
}} | |||
</pre> | |||
{{#ask: [[YourSubobjectProperty::Foo]] | |||
|?YourSubobjectProperty1 | |||
|?YourSubobjectProperty2 | |||
|format=template | |||
|template=SubobjectTemplateLinkNone | |||
|link=none | |||
}} | |||
== Output without link=none == | |||
<pre> | |||
{{#ask: [[YourSubobjectProperty::Foo]] | |||
|?YourSubobjectProperty1 | |||
|?YourSubobjectProperty2 | |||
|format=template | |||
|template=SubobjectTemplateLinkNone | |||
}} | |||
</pre> | |||
{{#ask: [[YourSubobjectProperty::Foo]] | {{#ask: [[YourSubobjectProperty::Foo]] | ||
|?YourSubobjectProperty1 | |?YourSubobjectProperty1 | ||
|?YourSubobjectProperty2 | |?YourSubobjectProperty2 | ||
|format=template | |format=template | ||
|template= | |template=SubobjectTemplateLinkNone | ||
}} | }} |
Dernière version du 5 novembre 2016 à 07:30
http://wikimedia.7.x6.nabble.com/Show-properties-of-a-subobject-s-parent-page-td5068922.html
Data
[[YourParentProperty1::123]] [[YourParentProperty2::abc]] {{#subobject: |YourSubobjectProperty=Foo |YourSubobjectProperty1=1 |YourSubobjectProperty2=2 }}
123 abc
Output with link=none
{{#ask: [[YourSubobjectProperty::Foo]] |?YourSubobjectProperty1 |?YourSubobjectProperty2 |format=template |template=SubobjectTemplateLinkNone |link=none }}
{{{1}}}:SubobjectTemplateLinkNone#_8fadb850772cb09ca46de3e30ba7c743
{{#ask: [[Has subobject::{{{1}}}]] |?YourParentProperty1 |?YourParentProperty2 }}
YourParentProperty1 | YourParentProperty2 | |
---|---|---|
SubobjectTemplateLinkNone | 123 | abc |
Output without link=none
{{#ask: [[YourSubobjectProperty::Foo]] |?YourSubobjectProperty1 |?YourSubobjectProperty2 |format=template |template=SubobjectTemplateLinkNone }}
{{{1}}}:SubobjectTemplateLinkNone
{{#ask: [[Has subobject::{{{1}}}]] |?YourParentProperty1 |?YourParentProperty2 }}
La description de la requête contient une condition vide.