User:Lady Elyssa/Builds/Sandbox2
Wiki Based Build Editor Testing Sandbox[edit]
I am undoubtedly way over my head in even attempting something like this but also seems like it is way over due. It should prove an interesting and decidedly challenging project with lots to learn along the way.
Let's start with something simple and try to read the current game build number from the API. Looks like I will have to create a widget or two requiring the use of javascript to perform the Json calls and return the relevant data that will need to be parsed.
{{API endpoint infobox | endpoint = /v2/build | method = GET | format = json | version = v2 | release = | scope = | optional = }}
Requirements[edit]
To use API calls and existing wiki data to ensure build editor is always? up to date with minimal manual maintenance required.
- https://wiki.guildwars2.com/wiki/Category:Guides
- Templates
- Widgets
- https://wiki.guildwars2.com/wiki/Help:Widgets
- https://wiki.guildwars2.com/wiki/Widget:Daily_achievements
- https://wiki.guildwars2.com/wiki/Talk:Event_timers#Request_for_highlighting_the_bosses_missing_on_the_user_account
- https://wiki.guildwars2.com/wiki/User:Dagger/Widget_drafts/API
- https://wiki.guildwars2.com/index.php?title=Special:Search&profile=all&search=world%20boss%20table&fulltext=1
- https://wiki.guildwars2.com/wiki/Template:World_boss_table
- https://wiki.guildwars2.com/wiki/Widget:World_boss_timer
- Extnsions
- Functions
- On click selectable elements that can change data elements being viewed.
- https://wiki.guildwars2.com/wiki/Template:Clear
- https://wiki.guildwars2.com/wiki/Widget:Filter_table
- https://wiki.guildwars2.com/wiki/Template:Item_icon
- https://wiki.guildwars2.com/wiki/Template:STDT
- https://wiki.guildwars2.com/wiki/Sigil
- https://wiki.guildwars2.com/wiki/Template:Sigil_overview_table_row
- https://wiki.guildwars2.com/wiki/Template:Tp
- https://wiki.guildwars2.com/wiki/Template:Upgrade_component_table
- https://wiki.guildwars2.com/wiki/User:Venom20/Sandbox/minibar_tests
- https://wiki.guildwars2.com/wiki/User:Venom20/Template:Minibar
- Get Data directly from Wiki or API
- Layout using HTML Elements for easier? layout/formatting or tables?
- Select Game Mode
- Select Profession
- Select Race (optional)
- Select Gear Rarity
- Select Stat Prefix for Armor (Power, Condition, Healing, Support, etc)
- Select Stat Prefix for Weapons (Power, Condition, Healing, Support, etc)
- Stats for Armor and Weapons to be selectable and to use Query Forms to fetch the relevant data.
- Sigils
A rough mockup of how things might look...