User:Mattamue: Difference between revisions
API notes |
|||
Line 10: | Line 10: | ||
Example API call on Arelith's mediawiki api: | 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 | * <code>http://wiki.nwnarelith.com/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Spells&gcmlimit=max&gcmtype=page&format=json&formatversion=2</code> | ||
** <code>/w/api.php?action=query</code> is a query action, can only have one action at a time | ** <code>/w/api.php?action=query</code> is a query action, can only have one action at a time | ||
** <code>&generator=categorymembers</code> 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 [https://www.mediawiki.org/wiki/API:Query#Generators see more on query & generators.] But, not positive on how this is different from list yet. | ** <code>&generator=categorymembers</code> 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 [https://www.mediawiki.org/wiki/API:Query#Generators see more on query & generators.] But, not positive on how this is different from list yet. |
Revision as of 01:07, 19 July 2022
API stuff
- 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
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>