« Issue:SRF/671 » : différence entre les versions

De Semantic MediaWiki - Sandbox

(Page créée avec « {{#ask: Located in::+ |format=tree |parent=Located in |root=Германия }} ---- {{#ask: Located in::+ |format=tree |parent=Located in |root=Germany }} »)
 
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Ligne 1 : Ligne 1 :
In the ''tree'' format of ''Semantic Formats'' the parameter <code>root</code> works only if its value consists of Latin characters.
{| class="wikitable"
! Case !! Wikitext !! Output !! Expected
|-
| Non-Latin root
|
<nowiki>{{#ask:
[[Located in::+]]
|format=tree
|parent=Located in
|root=ישראל
}}</nowiki>
|
{{#ask:
{{#ask:
  [[Located in::+]]
  [[Located in::+]]
  |format=tree
  |format=tree
  |parent=Located in
  |parent=Located in
  |root=Германия
  |root=ישראל
}}
}}
----
|
* [[ישראל]]
** [[תל אביב]]
|-
| Latin root
|
<nowiki>{{#ask:
[[Located in::+]]
|format=tree
|parent=Located in
|root=Germany
}}</nowiki>
|
{{#ask:
{{#ask:
  [[Located in::+]]
  [[Located in::+]]
Ligne 12 : Ligne 37 :
  |root=Germany
  |root=Germany
}}
}}
| What is output
|}

Version du 25 octobre 2021 à 19:34

In the tree format of Semantic Formats the parameter root works only if its value consists of Latin characters.

Case Wikitext Output Expected
Non-Latin root
{{#ask:
 [[Located in::+]]
 |format=tree
 |parent=Located in
 |root=ישראל
 }}


Latin root
{{#ask:
 [[Located in::+]]
 |format=tree
 |parent=Located in
 |root=Germany
 }}


What is output
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.