« 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
 
(233 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": "gangs",
      "transform": [
        {
          "type": "formula",
          "field": "disparition",
          "expr": "datum.disparition ? datum.disparition : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "creation": "date:\"%Y-%m-%d\"",
          "disparition": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "lost",
          "nom": "Lost MC",
          "color": "#3F3F3F",
          "creation": "2021-02-01",
          "disparition": null,
          "status": null
        },
        {
          "label": "vagos",
          "nom": "Vagos",
          "color": "#ffff00",
          "creation": "2021-02-01",
          "disparition": null,
          "status": null
        },
        {
          "label": "nameless",
          "nom": "Nameless",
          "color": "#ff7f00",
          "creation": "2021-02-01",
          "disparition": "2021-08-03",
          "status": "💥"
        },
        {
          "label": "mano",
          "nom": "La Mano",
          "color": "#000000",
          "creation": "2021-05-10",
          "disparition": null,
          "status": null
        },
        {
          "label": "kkangpae",
          "nom": "KkangPae",
          "color": "#FF0000",
          "creation": "2021-05-14",
          "disparition": "2021-10-13",
          "status": "👮"
        },
        {
          "label": "verts",
          "nom": "Les Verts",
          "color": "#387238",
          "creation": "2021-05-19",
          "disparition": null,
          "status": null
        },
        {
          "label": "syndicate",
          "nom": "Syndicate",
          "color": "#777777",
          "creation": "2021-05-20",
          "disparition": "2021-05-30",
          "status": "🤝"
        },
        {
          "label": "reapers",
          "nom": "Reapers",
          "color": "#9F483F",
          "creation": "2021-05-24",
          "disparition": "2021-08-29",
          "status": "❌"
        },
        {
          "label": "ballas",
          "nom": "Ballas",
          "color": "#783E9A",
          "creation": "2021-05-26",
          "disparition": null,
          "status": null
        },
        {
          "label": "basscounty",
          "nom": "Bass County",
          "color": "#b47340",
          "creation": "2021-06-09",
          "disparition": "2021-07-14",
          "status": "❌"
        },
        {
          "label": "baron",
          "nom": "Le Club du Baron",
          "color": "#262d2d",
          "creation": "2021-06-12",
          "disparition": "2021-08-18",
          "status": "❌"
        },
        {
          "label": "zetas",
          "nom": "Zetas",
          "color": "#928156",
          "creation": "2021-06-18",
          "disparition": null,
          "status": null
        },
        {
          "label": "mr4",
          "nom": "MR4",
          "color": "#1E263C",
          "creation": "2021-06-28",
          "disparition": "2021-09-17",
          "status": "❌"
        },
        {
          "label": "forsaken",
          "nom": "Forsaken",
          "color": "#777777",
          "creation": "2021-07-14",
          "disparition": "2021-07-22",
          "status": "🤝"
        },
        {
          "label": "ankou",
          "nom": "Ankou",
          "color": "#382D1A",
          "creation": "2021-07-25",
          "disparition": "2021-08-08",
          "status": "❌"
        },
        {
          "label": "phoenix",
          "nom": "Phoenix",
          "color": "#12A3E2",
          "creation": "2021-08-03",
          "disparition": "2021-08-30",
          "status": "🤝"
        },
        {
          "label": "aesir",
          "nom": "Aesir",
          "color": "#0867B0",
          "creation": "2021-08-05",
          "disparition": "2021-09-02",
          "status": "❌"
        },
        {
          "label": "parias",
          "nom": "Les Parias",
          "color": "#58453A",
          "creation": "2021-08-15",
          "disparition": "2021-09-30",
          "status": "💥"
        },
        {
          "label": "ruche",
          "nom": "La Ruche",
          "color": "#f05a26",
          "creation": "2021-08-28",
          "disparition": "2021-09-28",
          "status": "❌"
        },
        {
          "label": "syndicat",
          "nom": "Syndicat",
          "color": "#2E2821",
          "creation": "2021-09-01",
          "disparition": null,
          "status": null
        },
        {
          "label": "blackangels",
          "nom": "Black Angels",
          "color": "#A23C35",
          "creation": "2021-09-24",
          "disparition": null,
          "status": null
        },
        {
          "label": "wave",
          "nom": "Wave",
          "color": "#224D64",
          "creation": "2021-10-19",
          "disparition": null,
          "status": null
        },
        {
          "label": "aztecas",
          "nom": "Aztecas",
          "color": "#AAC1CC",
          "creation": "2021-10-22",
          "disparition": null,
          "status": null
        }
      ]
    },
    {
      "name": "drogue",
      "transform": [
        {
          "type": "formula",
          "field": "fin",
          "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "debut": "date:\"%Y-%m-%d\"",
          "fin": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "lost",
          "debut": "2021-02-25",
          "fin": "2021-07-06"
        },
        {
          "label": "vagos",
          "debut": "2021-02-25",
          "fin": "2021-07-06"
        },
        {
          "label": "mano",
          "debut": "2021-05-27",
          "fin": "2021-07-06"
        },
        {"label": "verts","debut": "2021-07-06","fin": "2021-11-21"},
        {
          "label": "nameless",
          "debut": "2021-07-06",
          "fin": "2021-07-26"
        },
        {
          "label": "zetas",
          "debut": "2021-07-26",
          "fin": "2021-10-14"
        },
        {
          "label": "ballas",
          "debut": "2021-10-14",
          "fin": null
        },
        {
          "label": "vagos",
          "debut": "2021-11-21",
          "fin": null
        }
      ]
    },
    {
      "name": "drogue-poulain",
      "transform": [
        {
          "type": "formula",
          "field": "fin",
          "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "debut": "date:\"%Y-%m-%d\"",
          "fin": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "mano",
          "debut": "2021-05-10",
          "fin": "2021-05-19"
        },
        {
          "label": "ballas",
          "debut": "2021-06-01",
          "fin": "2021-07-01"
        },
        {
          "label": "reapers",
          "debut": "2021-06-01",
          "fin": "2021-07-01"
        },
        {
          "label": "verts",
          "debut": "2021-06-01",
          "fin": "2021-07-06"
        },
        {
          "label": "mr4",
          "debut": "2021-06-29",
          "fin": "2021-07-06"
        },
        {
          "label": "reapers",
          "debut": "2021-07-22",
          "fin": "2021-08-12"
        },
        {
          "label": "ballas",
          "debut": "2021-08-28",
          "fin": "2021-09-24"
        },
        {
          "label": "syndicat",
          "debut": "2021-10-02",
          "fin": "2021-10-20"
        }
      ]
    },
    {
      "name": "armes-poulain",
      "transform": [
        {
          "type": "formula",
          "field": "fin",
          "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "debut": "date:\"%Y-%m-%d\"",
          "fin": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "wave",
          "debut": "2021-11-18",
          "fin": null
        }
      ]
    },
    {
      "name": "blanchi",
      "transform": [
        {
          "type": "formula",
          "field": "fin",
          "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "debut": "date:\"%Y-%m-%d\"",
          "fin": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {
          "label": "nameless",
          "debut": "2021-02-25",
          "fin": "2021-07-06"
        },
        {
          "label": "kkangpae",
          "debut": "2021-05-14",
          "fin": "2021-07-06"
        },
        {"label": "lost","debut": "2021-06-07","fin": null},
        {"label": "vagos","debut": "2021-06-07","fin": "2021-11-21"},
        {"label": "verts","debut": "2021-11-21","fin": null}
      ]
    },
    {
      "name": "armes",
      "transform": [
        {
          "type": "formula",
          "field": "fin",
          "expr": "datum.fin ? datum.fin : datetime(year(now()) + '/' + (month(now())+1) + '/' + date(now()))"
        }
      ],
      "format": {
        "type": "json",
        "parse": {
          "debut": "date:\"%Y-%m-%d\"",
          "fin": "date:\"%Y-%m-%d\""
        }
      },
      "values": [
        {"label": "mano","debut": "2021-07-06","fin": null},
        {
          "label": "kkangpae",
          "debut": "2021-07-06",
          "fin": "2021-10-13"
        },
        {"label": "zetas","debut": "2021-10-14","fin": null}
      ]
    },
    {
      "name": "events",
      "format": {
        "type": "json",
        "parse": {"date": "date:\"%Y-%m-%d\""}
      },
      "values": [
        {
          "name": "25/02 - Premiers business",
          "date": "2021-02-25"
        },
        {
          "name": "27/05 - Nouvelle vague de la criminalité",
          "date": "2021-05-27"
        },
        {
          "name": "06/07 - Redistribution des business",
          "date": "2021-07-06"
        },
        {
          "name": "22/07 - Première « réunion des 6 »",
          "date": "2021-07-22"
        },
        {
          "name": "14/09 - Deuxième « réunion des 6 »",
          "date": "2021-09-14"
        },
        {
          "name": "13/10 - Démantèlement de Kkangpae",
          "date": "2021-10-13"
        },
        {
          "name": "18/11 - Accords de paix Mano-Vagos",
          "date": "2021-11-18"
        }
      ]
    }
  ],
  "scales": [
    {
      "name": "y",
      "type": "ordinal",
      "range": "height",
      "domain": {"data": "gangs","field": "label"}
    },
    {
      "name": "x",
      "type": "time",
      "range": "width",
      "nice": "month",
      "domain": {"data": "gangs","field": ["creation","disparition"]}
    }
  ],
  "axes": [
    {
      "type": "x",
      "scale": "x",
      "grid": true,
      "format": "%m/%y",
      "title": "🟢Drogue 🔵Blanchiment ⚫Armes"
    }
  ],
  "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": "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": "text",
      "from": {"data": "gangs"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "creation"},
          "y": {"scale": "y","field": "label","offset": -7},
          "fill": {"value": "#000"},
          "text": {"field": "nom"},
          "fontSize": {"value": 14}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "blanchi"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "debut"},
          "x2": {"scale": "x","field": "fin"},
          "y": {"scale": "y","field": "label","offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#12A3E2"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "armes"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "debut"},
          "x2": {"scale": "x","field": "fin"},
          "y": {"scale": "y","field": "label","offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#595959"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "drogue"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "debut"},
          "x2": {"scale": "x","field": "fin"},
          "y": {"scale": "y","field": "label","offset": -3},
          "height": {"value": 10},
          "fill": {"value": "#72B233"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "drogue-poulain"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "debut"},
          "x2": {"scale": "x","field": "fin"},
          "y": {"scale": "y","field": "label","offset": -1.5},
          "height": {"value": 7},
          "fill": {"value": "#72B233"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "armes-poulain"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "debut"},
          "x2": {"scale": "x","field": "fin"},
          "y": {"scale": "y","field": "label","offset": -1.5},
          "height": {"value": 7},
          "fill": {"value": "#595959"}
        }
      }
    },
    {
      "type": "rect",
      "from": {"data": "gangs"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "creation"},
          "x2": {"scale": "x","field": "disparition"},
          "y": {"scale": "y","field": "label"},
          "height": {"value": 4},
          "fill": {"field": "color"}
        }
      }
    },
    {
      "type": "text",
      "from": {"data": "gangs"},
      "properties": {
        "enter": {
          "x": {"scale": "x","field": "disparition","offset": -2},
          "y": {"scale": "y","field": "label","offset": 6},
          "fill": {"value": "#000"},
          "text": {"field": "status"},
          "fontSize": {"value": 14}
        }
      }
    }
  ]
}</graph>

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