« Page de test » : différence entre les versions
De 21Wiki
(→Test) |
Aucun résumé des modifications Balise : Éditeur de wikicode 2017 |
||
Ligne 1 : | Ligne 1 : | ||
== Chronologie == | |||
<graph>{ | |||
"width": 800, | |||
"height": 300, | |||
"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": "gareth_hawthorne", | |||
"nom": "Gareth Hawthorne", | |||
"membre_start": "2024-01-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "kenane_twain", | |||
"nom": "Kenane « Ash » Twain", | |||
"membre_start": "2024-01-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "farell_miller", | |||
"nom": "Farrell Miller", | |||
"membre_start": "2024-01-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "thomas_jackson", | |||
"nom": "Thomas Jackson", | |||
"membre_start": "2024-01-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "jamal_bell", | |||
"nom": "Jamal « Happy » Bell", | |||
"membre_start": "2024-01-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{"label": "rico_narvaez","nom": "Rico Narvaez","membre_start": "2024-01-22","membre_end": "2024-02-24","status": "⚰️"}, | |||
{ | |||
"label": "hugo_thomas", | |||
"nom": "Hugo Thomas", | |||
"membre_start": "2024-01-28", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "william_mayers","nom": "William Mayers","membre_start": "2024-02-16","membre_end": "2024-03-17","status": "⚰️"}, | |||
{ | |||
"label": "dean_hunter", | |||
"nom": "Dean Hunter", | |||
"membre_start": "2024-02-16", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "rob_yeetle", | |||
"nom": "Rob Yeetle", | |||
"membre_start": "2024-02-16", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "gary_owens", | |||
"nom": "Gary Owens", | |||
"membre_start": "2024-03-15", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "addison_herrera", | |||
"nom": "Addison Herrera", | |||
"membre_start": "2024-03-19", | |||
"membre_end": null, | |||
"status": null | |||
}, | |||
{ | |||
"label": "alejandro_mejía_flores", | |||
"nom": "Alejandro Mejía Flores", | |||
"membre_start": "2024-03-19", | |||
"membre_end": null, | |||
"status": 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": "kenane_twain","second_start": "2024-01-15","second_end": null}, | |||
{"label": "farell_miller","second_start": "2024-01-15","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": "gareth_hawthorne","chef_start": "2024-01-15","chef_end": null} | |||
] | |||
}, | |||
{ | |||
"name": "events", | |||
"format": { | |||
"type": "json", | |||
"parse": {"date": "date:\"%Y-%m-%d\""} | |||
}, | |||
"values": [ | |||
{"name": "15/01 - Création du groupe","date": "2024-01-15","y": -20}, | |||
{"name": "24/01 - Prise de quartier","date": "2024-01-24","y": -20}, | |||
{"name": "13/03 - Premier Business","date": "2024-03-13","y": -20}, | |||
{"name": "28/03 - Changement de Business","date": "2024-03-28","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", | |||
"title": {{Légende|type=gang}} | |||
} | |||
], | |||
"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": "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": "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": 9}, | |||
"fill": {"value": "#7b7b7b"} | |||
} | |||
} | |||
}, | |||
{ | |||
"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": "#b1b1b1"} | |||
} | |||
} | |||
}, | |||
{ | |||
"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": "#dedede"} | |||
} | |||
} | |||
}, | |||
{ | |||
"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> | |||
Cadre gris foncé : Chef | |||
Cadre gris clair : Bras droit | |||
<center><gallery widths="75" heights="75"> | <center><gallery widths="75" heights="75"> | ||
Fichier:Icone Gouvernement.png|'''FTC'''|link=[[FTC]] | Fichier:Icone Gouvernement.png|'''FTC'''|link=[[FTC]] |
Version du 9 avril 2024 à 15:26
Chronologie
Erreur de syntaxe
Cadre gris foncé : Chef
Cadre gris clair : Bras droit
-
FTC
Autres entreprises
Magasins
-
Binco
-
Coiffeurs
-
Haters
-
Magasin de pêche
-
Ponsonbys
-
SubUrban
-
Tatoueurs
Services
-
Ammu-Nation
-
Concessionnaires
-
Los Santos Customs
-
Pharmacies
-
Supérettes
-
You Tool
Banques
-
BCSB
-
Fleeca
-
Maze Bank
-
Pacific Bank
Divertissement
-
Diamond Casino & Resort
-
Los Santos Golf Club
-
Maze Bank Arena
-
Salle d'arcade
MANQUE AUTO-ECOLES, FOURRIERE, BIJOUTERIES, VELIB