User:Mattamue: Difference between revisions
Line 3: | Line 3: | ||
= API stuff = | = API stuff = | ||
* [https://www.mediawiki.org/wiki/API:Tutorial maybe should have started here] | |||
* [https://www.mediawiki.org/w/api.php?action=help help from the mediawiki api's help call] | * [https://www.mediawiki.org/w/api.php?action=help help from the mediawiki api's help call] | ||
* [https://www.mediawiki.org/wiki/API:Query a mediawiki api sub-page on just query that's good] | * [https://www.mediawiki.org/wiki/API:Query a mediawiki api sub-page on just query that's good] |
Revision as of 04:15, 19 July 2022
API stuff
- maybe should have started here
- help from the mediawiki api's help call
- a mediawiki api sub-page on just query that's good
- main page mediawiki api
- help from arelith's own outdated version of the mediwiki
Concepts
&action=query
>&list=categorymembers
>&cmtitle=Category:Spells
- Creates a "cateogrymembers" sub-heading under the query
- Creates a list of the category members identified in the
&cmtitle=
parameter - Doesn't update the details of those members based on query >
&prop=
parameters - Has its own
&cmprop=
sub-property parameter to see more under each entry in the categorymembers section, more limited than&prop=
&cmprop=
is more focused on sorting the results:&cmprop=ids|title|sortkey|sortkeyprefix|type|timestamp
&action=query
>&generator=categorymembers
>&gcmtitle=Category:Spells
- Doesn't create a seperate sub-heading under the query
- Replaces any
&titles=
pages that would normally show up as pages > 0, 1, 2, etc... under the query - Essentially passes each page in the
&gcmtitle=
category page into the pages > 0, 1, 2, etc..., creating unique entries for each page under the query as if all the pages had been passed - Since it just "populates" all the pages under the query, it does capture query >
&prop=transcludedin|templates|revisions|redirects|etc...
parameters across the whole generated list of pages - Does also have its own
&cmprop=
which is smaller and also seems to be focused on sorting, but I've tested and this parameter doesn't work in this version of the Arelith wiki software
Example API call on Arelith's mediawiki api:
http://wiki.nwnarelith.com/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Spells&gcmlimit=max&gcmtype=page&format=json&formatversion=2
/w/api.php?action=query
is a query action, can only have one action at a time&generator=categorymembers
is a generator, rather than using list and then querying the specific page for its contents, get the details at the same time with a generator see more on query & generators. But, not positive on how this is different from list yet.&gcmtitle=Category:Spells
title of the page that's being queried, other ways to do this like id -- not sure yet how this is different from things like parse action and text vs title vs page, is part of categorymembers&gcmlimit=max
so it shows all results on one page, APIs look like limited to 500, is part of categorymembers&gcmtype=page
so it just shows the pages in the generator category and not the sub-categories, can also filter with file, page, subcat -- or using cmnamespace specifically use the namespace like 14 is subcat, is part of categorymembers&format=json
outputs in json so its easily scrapeable&formatversion=2
fancier json with tabs for viewing raw with pretty waterfall version
Resources
https://paletton.com/ -- picking colors
http://wang.wustl.edu/mediawiki/extensions/index.php -- excel paste tables
https://www.tablesgenerator.com/mediawiki_tables -- excel paste tables graphical editor
https://en.wikipedia.org/wiki/Template:Infobox#Hiding_headers_when_all_data_fields_are_hidden
https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#.23if
https://www.mediawiki.org/wiki/Manual:Collapsible_elements
https://meta.wikimedia.org/wiki/Help:Parser_function#LC
https://www.mediawiki.org/wiki/Help:Magic_words#Namespaces
http://stackoverflow.com/questions/224602/how-do-you-make-div-elements-display-inline
https://www.mediawiki.org/wiki/Help:Page_status_indicators
https://meta.wikimedia.org/wiki/Help:Parser_function (formatnum)
https://www.mediawiki.org/wiki/Help:Magic_words#URL_encoded_page_names (for forcing page names)
https://nwn.fandom.com/wiki/Enhancement_bonus https://nwn.fandom.com/wiki/Piercing-slashing_damage https://nwn.fandom.com/wiki/Damage_bonus -- complicated damage type interactions
Useful when tracking down changes/historical stuff related to updates:
Old update thread, doesn't have divine focus update or deck of stars -- https://web.archive.org/web/*/http://arelith.com/node/1120*
Last medium-old forums -- https://web.archive.org/web/20150330201418/http://arelith.com/forum
All of the even older forums... not much in there -- https://web.archive.org/web/*/http://www.arelith.com/phpBB3/*
All of the old forum posts... not all of them, but those that are archived -- https://web.archive.org/web/*/http://arelith.com/node/*
Note for later, see about using the wayback downloader to download this? https://github.com/hartator/wayback-machine-downloader
Pastebin
![]() Character Creation | |
Characters on Arelith: | |
---|---|
Race - Alignment | |
Deity - Class | |
Gifts - Backgrounds | |
Mark of Destiny | |
Epic Sacrifice | |
Customization | |
Head List |
CLASS is a DEFAULT/CUSTOM BASE/PRESTIGE class with Arelith specific changes.
Introduction
Arelith CLASS enjoy many changes that benefit their SOMETHING. The #Path: PATH expand those options. Mechanical changes are included in the #Class Mechanics on this page and explained in the #Arelith Changes section. Base mechanics can be found on NWNWiki. The #Roleplay Tips section provides suggestions for character development.
Class Mechanics
Requirements
Alignment restrictions: NONE-ANY
Skills: hide 8, move silently 8
Class Features
Hit die:
Proficiencies: -------- armor (light, medium), shields, weapons (martial, simple)
Skill points: NNN + int modifier ((NNN + int modifier) * 4 at 1st level)
Class Skills:
Unavailable feats: scribe scroll, craft wand, weapon specialization
Bonus feats:
Primary saving throw(s):
Base attack bonus: +1/level ////// +3/4 level
Spellcasting: Divine (spell failure from armor is ignored), wisdom-based (a base wisdom score of 10 + the spell's level is required to cast a spell, bonus spells are based on modified wisdom, and the wisdom modifier affects spell DCs), and requires preparation
Level Progression
Hit points rolls on Arelith are always maximum.
LEVELS TABLE
Spells
SPELLS TABLE
Epic CLASS
Bonus feats:
Epic bonus feats:
Unavailable epic feats: epic weapon specialization, outsider shape, construct shape, dragon shape, undead shape
EPIC LEVELS TABLE
Arelith Changes
Change | Level | Description |
---|---|---|
Changes | - | A table to list changes. Cleaner than bullet points. |
Path: PATH
Path if there is one.
Roleplay Tips
External Links
- Information about default NWN class is available on NWNWiki.
REMEMBER CATEGORY CLASSES
<categorytree hideroot="true" namespaces="-">Spells</categorytree>