« Test » : différence entre les versions

De 21Wiki
Aucun résumé des modifications
Balise : Éditeur de wikicode 2017
Aucun résumé des modifications
Balises : Révocation manuelle Éditeur de wikicode 2017
 
(263 versions intermédiaires par 8 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
<graph>{
{{Liste automatique|type=Bureau des Juges}}
  "width": 800,
  "height": 1000,
  "data": [
    {
      "name": "membres",
      "format": {
        "type": "json",
        "parse": {
          "membre_start": "date:\"%Y-%m-%d\"",
          "membre_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "smoke",
          "nom": "Tom « Smoke » Neal",
          "membre_start": "2021-03-01",
          "membre_end": "2021-05-28",
          "status": "⚰️"
        },
        {
          "label": "bozo",
          "nom": "Xavier « Bozo » Guilb",
          "membre_start": "2021-03-01",
          "membre_end": "2021-05-28",
          "status": "✈️"
        },
        {
          "label": "nek",
          "nom": "Ethan « Nek » Auburn",
          "membre_start": "2021-03-01",
          "membre_end": "2021-05-28",
          "status": "✈️"
        },
        {
          "label": "ice",
          "nom": "Xavier « Ice » Flinch",
          "membre_start": "2021-04-01",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "storm",
          "nom": "Lakra « Storm » Morue",
          "membre_start": "2021-04-01",
          "membre_end": "2021-08-01",
          "status": "⚰️"
        },
        {
          "label": "daze",
          "nom": "Djinos « Daze » Corozza",
          "membre_start": "2021-04-15",
          "membre_end": "2021-08-25",
          "status": "✈️"
        },
        {
          "label": "dune",
          "nom": "Dente « Dune » Di Leo",
          "membre_start": "2021-05-01",
          "membre_end": "2021-05-28",
          "status": "✈️"
        },
        {
          "label": "soso",
          "nom": "Luc « Soso » Xolker",
          "membre_start": "2021-05-01",
          "membre_end": "2021-05-28",
          "status": "✈️"
        },
        {
          "label": "rgb",
          "nom": "Letho « RGB » Langa",
          "membre_start": "2021-05-15",
          "membre_end": "2021-08-25",
          "status": "✈️"
        },
        {
          "label": "alexei",
          "nom": "Alexei Doxalev",
          "membre_start": "2021-05-15",
          "membre_end": "2021-05-28",
          "status": "🚪"
        },
        {
          "label": "tonio",
          "nom": "Tonio Castello",
          "membre_start": "2021-07-01",
          "membre_end": "2021-09-04",
          "status": "⚰️"
        },
        {
          "label": "light",
          "nom": "Thomas « Light » Parker",
          "membre_start": "2021-07-01",
          "membre_end": "2021-09-14",
          "status": "🚪"
        },
        {
          "label": "riot",
          "nom": "Richard « Riot » Finley",
          "membre_start": "2021-07-01",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "gonzi",
          "nom": "Moya « Gonzi » Gonzalo",
          "membre_start": "2021-07-01",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "zoul",
          "nom": "Maxime « Zoul » Weeldio",
          "membre_start": "2021-07-01",
          "membre_end": "2021-09-14",
          "status": "🚪"
        },
        {
          "label": "shield",
          "nom": "Ulric « Shield » Larsen",
          "membre_start": "2021-07-01",
          "membre_end": "2021-09-14",
          "status": "✈️"
        },
        {
          "label": "ryu",
          "nom": "Ken « Ryu » Woo-Jin",
          "membre_start": "2021-08-02",
          "membre_end": "2021-09-14",
          "status": "✈️"
        },
        {
          "label": "charlie",
          "nom": "Charlie Lucheco",
          "membre_start": "2021-09-01",
          "membre_end": "2021-09-25",
          "status": "🚪"
        },
        {
          "label": "kaze",
          "nom": "Taylor « Kazé » Newton",
          "membre_start": "2021-09-05",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "lexi",
          "nom": "Lexi Arteaga",
          "membre_start": "2021-09-17",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "liam",
          "nom": "Liam Bovin",
          "membre_start": "2021-09-17",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "tom",
          "nom": "Tom Dunhill",
          "membre_start": "2021-09-17",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "john",
          "nom": "John Shepard",
          "membre_start": "2021-09-17",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "abdel",
          "nom": "Abdel Kamel",
          "membre_start": "2021-09-17",
          "membre_end": "2021-09-26",
          "status": "⚰️"
        },
        {
          "label": "corleone",
          "nom": "Mamadou « Corleone » Mbakambi",
          "membre_start": "2021-09-24",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "tyler",
          "nom": "Tyler Smith",
          "membre_start": "2021-09-25",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "wolf",
          "nom": "Logan « Wolf » Graton",
          "membre_start": "2021-10-22",
          "membre_end": "2021-11-15",
          "status": ""
        },
        {
          "label": "sucre",
          "nom": "Soukrai « Sucre » Winchester",
          "membre_start": "2021-10-26",
          "membre_end": "2021-11-15",
          "status": ""
        }
      ]
    },
    {
      "name": "seconds",
      "format": {
        "type": "json",
        "parse": {
          "second_start": "date:\"%Y-%m-%d\"",
          "second_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "bozo",
          "second_start": "2021-03-01",
          "second_end": "2021-05-28"
        },
        {
          "label": "storm",
          "second_start": "2021-05-28",
          "second_end": "2021-08-01"
        },
        {
          "label": "rgb",
          "second_start": "2021-08-01",
          "second_end": "2021-08-25"
        },
        {
          "label": "daze",
          "second_start": "2021-08-01",
          "second_end": "2021-08-25"
        },
        {
          "label": "gonzi",
          "second_start": "2021-08-25",
          "second_end": "2021-10-01"
        },
        {
          "label": "riot",
          "second_start": "2021-10-01",
          "second_end": "2021-11-15"
        }
      ]
    },
    {
      "name": "chefs",
      "format": {
        "type": "json",
        "parse": {
          "chef_start": "date:\"%Y-%m-%d\"",
          "chef_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "smoke",
          "chef_start": "2021-03-01",
          "chef_end": "2021-05-28"
        },
        {
          "label": "ice",
          "chef_start": "2021-05-28",
          "chef_end": "2021-11-15"
        }
      ]
    },
    {
      "name": "events",
      "format": {
        "type": "json",
        "parse": {"date": "date:\"%Y-%m-%d\""}
      },
      "values": [
        {
          "name": "15/03 - Business de cannabis",
          "date": "2021-03-15",
          "y": -20
        },
        {
          "name": "28/05 - Putsch de Ice et Lakra",
          "date": "2021-05-28",
          "y": -20
        },
        {
          "name": "06/07 - Blanchiment",
          "date": "2021-07-06",
          "y": -35
        },
        {
          "name": "07/07 - Prise d'otages de Sandy Shores",
          "date": "2021-07-07",
          "y": -20
        },
        {
          "name": "14/09 - Deuxième « Réunion des six »",
          "date": "2021-09-14",
          "y": -30
        },
        {
          "name": "17/09 - Recrutement de masse de Moya",
          "date": "2021-09-17",
          "y": -20
        },
        {
          "name": "25/09 - prise d'otages croisée avec les Verts",
          "date": "2021-09-25",
          "y": -20
        }
      ]
    }
  ],
  "scales": [
    {
      "name": "y",
      "type": "ordinal",
      "range": "height",
      "domain": {"data": "membres","field": "label"}
    },
    {
      "name": "x",
      "type": "time",
      "range": "width",
      "round": false,
      "nice": "month",
      "domain": {
        "data": "membres",
        "field": ["membre_start","membre_end"]
      }
    }
  ],
  "axes": [
    {
      "type": "x",
      "scale": "x",
      "grid": true,
      "format": "%m/%y"
    }
  ],
  "marks": [
    {
      "type": "text",
      "from": {"data": "events"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "date"},
          "y": {"field": "y"},
          "angle": {"value": -30},
          "fill": {"value": "#000"},
          "text": {"field": "name"},
          "fontSize": {"value": 14}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "events"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "date"},
          "y": {"field": "y"},
          "width": {"value": 0.5},
          "height": {"field": {"group": "height"},"offset": 20},
          "fill": {"value": "#0090FF"}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "membres"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "membre_end","offset": -2},
          "y": {"scale": "y","field": "label","offset": 6},
          "fill": {"value": "#000"},
          "text": {"field": "status"},
          "fontSize": {"value": 14}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "chefs"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "chef_start"},
          "x2": {"scale": "x","field": "chef_end"},
          "y": {"scale": "y","field": "label","offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#000"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "seconds"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "second_start"},
          "x2": {"scale": "x","field": "second_end"},
          "y": {"scale": "y","field": "label","offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#999"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "membres"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "membre_start"},
          "x2": {"scale": "x","field": "membre_end"},
          "y": {"scale": "y","field": "label"},
          "height": {"value": 4},
          "fill": {"value": "#FFDD8A"}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "membres"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "membre_start"},
          "y": {"scale": "y","field": "label","offset": -7},
          "fill": {"value": "#000"},
          "text": {"field": "nom"},
          "fontSize": {"value": 14}
        }
      }
    }
  ]
}</graph>

Dernière version du 1 septembre 2024 à 13:52