SubobjectTemplateLinkNone
De Semantic MediaWiki - Sandbox
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.