« Issue/4786 » : différence entre les versions
De Semantic MediaWiki - Sandbox
(Page créée avec « <pre><nowiki>{{#if: {{#show:{{FULLPAGENAME}}#Name |?Has text |format=plainlist |link=none |headers=hide |mainlabel=- }} | subobject exists (it won't create it) | subobject… ») Balise : Éditeur de wikicode 2017 |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
(2 versions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4786 | |||
<pre><nowiki>{{#if: {{#show:{{FULLPAGENAME}}#Name | <pre><nowiki>{{#if: {{#show:{{FULLPAGENAME}}#Name | ||
|?Has text | |?Has text | ||
Ligne 5 : | Ligne 7 : | ||
|headers=hide | |headers=hide | ||
|mainlabel=- | |mainlabel=- | ||
|@annotation | |||
}} | subobject exists (it won't create it) | subobject does not exist (now creating it) | }} | subobject exists (it won't create it) | subobject does not exist (now creating it) | ||
Ligne 18 : | Ligne 21 : | ||
|headers=hide | |headers=hide | ||
|mainlabel=- | |mainlabel=- | ||
|@annotation | |||
}} | subobject '''exists''' (it won't create it) | subobject '''does not''' exist (now creating it) | }} | subobject '''exists''' (it won't create it) | subobject '''does not''' exist (now creating it) | ||
Ligne 23 : | Ligne 27 : | ||
}} | }} | ||
[[Category:Issue]] |
Dernière version du 8 juin 2020 à 21:57
Refs: https://github.com/SemanticMediaWiki/SemanticMediaWiki/issues/4786
{{#if: {{#show:{{FULLPAGENAME}}#Name |?Has text |format=plainlist |link=none |headers=hide |mainlabel=- |@annotation }} | subobject exists (it won't create it) | subobject does not exist (now creating it) {{#subobject:Name|Has text=This is a test, subobject is created}} }}
subobject exists (it won't create it)