« 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
 
(234 versions intermédiaires par 7 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
{{Personnage RP
{{Liste automatique|type=Bureau des Juges}}
 
|titre tab1 = Simon
|image_1 = Simon Tar.png
|titre tab2 = Miguel
|image_2 = Miguel Rodriguez.png
|titre tab3 =Milo
|image_3 = Milo Cook.png
 
 
|image1 =
<gallery>
Image:Ballas complet octobre2021.png|Les Ballas
 
Image:Mano complet septembre 2021.png|La Mano   
</gallery>
 
}}
<graph>{
  "width": 800,
  "height": 800,
  "data": [
    {
      "name": "membres",
      "transform": [
        {
          "type": "formula",
          "field": "membre_end",
          "expr": "datum.membre_end ? datum.membre_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "membre_start": "date:\"%Y-%m-%d\"",
          "membre_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "nikolai",
          "nom": "Nikolai Voronov",
          "membre_start": "2021-05-28",
          "membre_end": null,
          "status": null
        },
        {
          "label": "lewis",
          "nom": "Lewis McVoy",
          "membre_start": "2021-05-28",
          "membre_end": "2021-08-11",
          "status": "⚰️"
        },
        {
          "label": "bruce",
          "nom": "Bruce « La Brute » Bronson",
          "membre_start": "2021-05-28",
          "membre_end": null,
          "status": null
        },
        {
          "label": "nick",
          "nom": "Nick Winter",
          "membre_start": "2021-05-28",
          "membre_end": "2021-09-07",
          "status": "🚪"
        },
        {
          "label": "nora",
          "nom": "Nora Linares",
          "membre_start": "2021-05-28",
          "membre_end": null,
          "status": null
        },
        {
          "label": "lana",
          "nom": "Lana Summers",
          "membre_start": "2021-05-28",
          "membre_end": "2021-07-06",
          "status": "⚰️"
        },
        {
          "label": "odric",
          "nom": "Odric Van der Hoeven",
          "membre_start": "2021-05-28",
          "membre_end": "2021-07-18",
          "status": "⚰️"
        },
        {
          "label": "nolan",
          "nom": "Nolan O'Brian",
          "membre_start": "2021-05-28",
          "membre_end": "2021-09-07",
          "status": "✈️"
        },
        {
          "label": "paul",
          "nom": "Paul Graam",
          "membre_start": "2021-06-25",
          "membre_end": null,
          "status": null
        },
        {
          "label": "jackson",
          "nom": "Jackson Lemar",
          "membre_start": "2021-06-25",
          "membre_end": "2021-09-07",
          "status": "✈️"
        },
        {
          "label": "tyler",
          "nom": "Tyler Owen",
          "membre_start": "2021-07-15",
          "membre_end": null,
          "status": null
        },
        {
          "label": "tom",
          "nom": "Tom Carier",
          "membre_start": "2021-08-10",
          "membre_end": null,
          "status": null
        },
        {
          "label": "alek",
          "nom": "Alek Brown",
          "membre_start": "2021-08-20",
          "membre_end": null,
          "status": null
        },
        {
          "label": "adonis",
          "nom": "Adonis Papadopoulos",
          "membre_start": "2021-08-27",
          "membre_end": null,
          "status": null
        },
        {
          "label": "charle",
          "nom": "Charle Bundy",
          "membre_start": "2021-09-06",
          "membre_end": "2021-09-24",
          "status": "✈️"
        },
        {
          "label": "sofiya",
          "nom": "Sofiya Balalaïka",
          "membre_start": "2021-09-19",
          "membre_end": null,
          "status": null
        },
        {
          "label": "ryan",
          "nom": "Ryan Maclay",
          "membre_start": "2021-09-20",
          "membre_end": null,
          "status": null
        },
        {
          "label": "lily",
          "nom": "Lily Adams",
          "membre_start": "2021-10-15",
          "membre_end": null,
          "status": null
        },
        {
          "label": "neil",
          "nom": "Neil Harper",
          "membre_start": "2021-10-21",
          "membre_end": null,
          "status": null
        }
      ]
    },
    {
      "name": "troisieme",
      "transform": [
        {
          "type": "formula",
          "field": "troisieme_end",
          "expr": "datum.troisieme_end ? datum.troisieme_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "troisieme_start": "date:\"%Y-%m-%d\"",
          "troisieme_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "bruce",
          "troisieme_start": "2021-05-28",
          "troisieme_end": "2021-08-11"
        },
        {
          "label": "tyler",
          "troisieme_start": "2021-08-11",
          "troisieme_end": null
        }
      ]
    },
    {
      "name": "seconds",
      "transform": [
        {
          "type": "formula",
          "field": "second_end",
          "expr": "datum.second_end ? datum.second_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "second_start": "date:\"%Y-%m-%d\"",
          "second_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "lewis",
          "second_start": "2021-05-28",
          "second_end": "2021-08-11"
        },
        {
          "label": "bruce",
          "second_start": "2021-08-11",
          "second_end": null
        }
      ]
    },
    {
      "name": "chefs",
      "transform": [
        {
          "type": "formula",
          "field": "chef_end",
          "expr": "datum.chef_end ? datum.chef_end : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "chef_start": "date:\"%Y-%m-%d\"",
          "chef_end": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "nikolai",
          "chef_start": "2021-05-28",
          "chef_end": null
        }
      ]
    },
    {
      "name": "events",
      "format": {
        "type": "json",
        "parse": {"date": "date:\"%Y-%m-%d\""}
      },
      "values": [
        {
          "name": "06/07 - Echec de la 1ère course aux sacs",
          "date": "2021-07-06"
        },
        {
          "name": "26/07 - Echec de la 2ème course aux sacs",
          "date": "2021-07-26"
        },
        {"name": "14/10 - Drogue","date": "2021-10-14"}
      ]
    }
  ],
  "scales": [
    {
      "name": "y",
      "type": "ordinal",
      "range": "height",
      "domain": {"data": "membres","field": "label"}
    },
    {
      "name": "x",
      "type": "time",
      "range": "width",
      "round": false,
      "nice": "week",
      "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": {"value": -25},
          "angle": {"value": -30},
          "fill": {"value": "#000"},
          "text": {"field": "name"},
          "fontSize": {"value": 14}
        }
      }
    },
    {
      "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": "events"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "date"},
          "y": {"value": -20},
          "width": {"value": 0.5},
          "height": {"field": {"group": "height"},"offset": 20},
          "fill": {"value": "#0090FF"}
        }
      }
    },
    {
      "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": "#3c1f4d"}
        }
      }
    },
    {
      "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": "#b35ce6"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "troisieme"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "troisieme_start"},
          "x2": {"scale": "x","field": "troisieme_end"},
          "y": {"scale": "y","field": "label","offset": -1.5},
          "height": {"value": 7},
          "fill": {"value": "#b35ce6"}
        }
      }
    },
    {
      "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": "#783e9a"}
        }
      }
    },
    {
      "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