Comments (2)
Method for getting all the infobox content (some is not saved in cargo):
https://nomanssky.fandom.com/api.php?action=parse&format=json&origin=*&page=Eisvana%20Research%20Outpost&prop=sections%7Cwikitext§ion=0
returns
{
"parse": {
"title": "Eisvana Research Outpost",
"pageid": 546876,
"sections": [],
"wikitext": {
"*": "{{Version|Echoes}}\n{{Eisvana}}\n{{Base infobox\n| name = Eisvana Research Outpost\n| image = 20230928192154_1.jpg\n| civilized = Eisvana\n| researchteam = Eisvana Wiki Scholars\n| builderlink = Lenni009\n| builder =\n| galaxy = Eissentam\n| region = Uskabar\n| system = EV6-30 Cadiaue-Omf\n| planet = Sidenh Alpha\n| moon =\n| axes = -11.28, +95.92\n| coordinates = {{Glyphs2Coords|6030A21107FE}}\n| portalglyphs = 6030A21107FE\n| type = Residential\n| mode = Permadeath\n| platform = PC\n| release = Echoes\n| farm = No\n| geobay = No\n| landingpad = Yes\n| arena = No\n| terminal = Yes\n| racetrack = No\n| censusplayer = Lenni\n| censusreddit = Lenni009\n| censusdiscord = lenni009\n| censusfriend =\n| censusarrival = 2023/09/25\n| censusrenewal = 2023, 2024\n| censusshow = Y\n}}\n'''Eisvana Research Outpost''' is a player base."
}
}
}
Which can then be piped into parseWikiTemplate
to get an object representation of the infobox in the shape of Record<string, string>
from eisvana-census.
Make a new component DynamicSections
that checks whether there are any unexpected h2 sections, and then adds those to the editor as well.
from eisvana-census.
Related Issues (20)
- Form: Display images from queried page
- Refractor wiki page builder
- Form: Updating Page: Rework infobox image
- Form: Check possibility of refactoring image input
- Form: Update Base: Don't submit anything if nothing was changed HOT 2
- Form: put submitCensus() into try-catch
- Filesize limit is 25MB per message for bots/webhooks
- Use smooth scrolling only when reduced motion is not preferred
- Gallery: Mobile buttons should have type=button
- Add a way for people to select another base as their primary base HOT 2
- Try to paginate census table and renewal list
- # is an illegal character in cargo queries
- Get Version template automatically
- Doc doesn't mention keywords and favicon
- Pagination on mobile behaves in an odd way HOT 1
- Revision selector doesn't show text on mobile
- Improve user response UX
- Table:Experiment: animate card margin HOT 1
- Glyph buttons look weird on mobile
- Table: spaces in social parm isn't handled properly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eisvana-census.