Bugreporter added a comment.

  As an much simplified example (note what I propose is much more complex and 
the following only contain parts that need to demonstrate how things will work):
  
  https://en.wikipedia.org/wiki/Data:List_of_current_United_States_senators.json
  
    { "data":
      [
        { "@name": "Tommy Tuberville", "Class": "Class 2", "Party": 
"Republican", "Born": "September 18, 1954", "Occupations": ["College football 
coach", "Investment management firm partner"], "Alma mater": "Southern Arkansas 
University", "Elected": "January 3, 2021"},
       ...
      ],
      "fields": [
        "Class": ...,
        "Party": {
            "suggested-values": ["Republican", "Democratic"],
            "display-style": {"abbreviation": ...},
            ...
        }, 
        ...
      ]
      "default-order": "state, class"
    }
  
  https://en.wikipedia.org/wiki/List_of_current_United_States_senators:
  
    {{#include: Data:List_of_current_United_States_senators.json | 
columns=State, @link/Senator, Party, Born, Occupations, Alma mater, elected, 
class | display=table }}
  
  https://en.wikipedia.org/wiki/Template:Current_U.S._senators:
  
    {{#include: Data:List_of_current_United_States_senators.json | 
columns=State, @link/Senator, Party%abbreviation | display=navbox }}

TASK DETAIL
  https://phabricator.wikimedia.org/T332484

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Bugreporter
Cc: Pppery, Aklapper, Stang, Ericliu1912, Bugreporter, Astuthiodit_1, 
karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, 
Gq86, GoranSMilovanovic, QZanden, LawExplorer, Silverfish, Reasno, _jensen, 
rosalieper, Scott_WUaS, Jheald, mys_721tx, Wikidata-bugs, Base, aude, jayvdb, 
zhuyifei1999, Yurik, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org

Reply via email to