Différences entre les versions de « Modèle:Graph exemple »

76 octets ajoutés ,  11 avril 2016 à 09:05
enfermement du code dans "nowiki" cause bug "makeKey issue"
(enfermement du code dans "nowiki" cause bug "makeKey issue")
 
(Une version intermédiaire par le même utilisateur non affichée)
Ligne 1 : Ligne 1 :
== Embedded directly with <nowiki><graph></nowiki>==
Voir [[Spécial:GraphSandbox|Bac à sable graphique]]
 
=== Embedded directly with <nowiki><graph></nowiki>===


Source : https://www.mediawiki.org/wiki/Extension:Graph/Demo#Embedded_directly_with_.3Cgraph.3E
Source : https://www.mediawiki.org/wiki/Extension:Graph/Demo#Embedded_directly_with_.3Cgraph.3E
Ligne 5 : Ligne 7 :
This example is a <code><nowiki><graph></nowiki></code> tag containing the graph JSON inside the current page.
This example is a <code><nowiki><graph></nowiki></code> tag containing the graph JSON inside the current page.


<nowiki>
<graph>
<graph>
{
{
Ligne 65 : Ligne 68 :
   ]
   ]
}</graph>
}</graph>
</nowiki>


Here's the JSON defining the above graph, from inside its <code><nowiki><graph></nowiki></code> tag.
Here's the JSON defining the above graph, from inside its <code><nowiki><graph></nowiki></code> tag.
6 155

modifications