There's a new (beta) feature that we just deployed. It's the ability to create DSTs for Wiki Pages and Items, just like we do for Characters.
There are no DSTs created for Wiki Pages or Items yet, but if you want to dive in and start creating them and using them, comment here and let me know, and I'll add you to the beta feature.
Obsidian Portal Developer
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
Oh that is awesome!
Could I be added to the Beta feature as I'd love to try and make a DnD 'Spells' DST for wiki pages.
DM of The Domains of Dread Council Meeting (...a Comedic Misadventure though the mists of a re-imagined Ravenloft! ) - COTM Feb 2023!
@ElMuggs, excellent!
I added you to the beta, so you should now see a "DSTs on Wiki Pages and Items" checkbox in your Campaign Settings Advanced tab.
Let me know if you have any questions or run into any issues!
Obsidian Portal Developer
Great, could you point me to the 'how to make a DST' resource if it's not too much bother, as I've never done this before ? :)
DM of The Domains of Dread Council Meeting (...a Comedic Misadventure though the mists of a re-imagined Ravenloft! ) - COTM Feb 2023!
Sure!
In the footer of the backend pages there's a link to "Dynamic Sheet Templates".
That links to here:
https://www.obsidianportal.com/dynamic_sheet_templates
At the top of that is a "Read Me First" section that has a link to the tutorial, which is here:
https://help.obsidianportal.com/article/173-creating-a-dynamic-character-sheet-template-dst
Obsidian Portal Developer
I'll take an invite to the beta please.
@nuadaria, most definitely! Added!
You should now see a "DSTs on Wiki Pages and Items" checkbox in your Campaign Settings Advanced tab.
Let me know if you have any questions or run into any issues!
Obsidian Portal Developer
Awesome, thank you so much!
OK, I give. I have namespaced my CSS but thus far I am unable to see any of it apply regardless of selecting tags or classes under that.
HTML sample
CSS sample
I'm certain there's something very simple I am missing here. I can see the "ds_gazetteerTemplate" class being added to the erapper div but even trying to select that and manipulate it directly seems to fail.
Thanks for any help.
@nuadaria
You didn't miss anything. There was a bug preventing the css and js from being applied to the saved version of the page ... sorry for the hassle!
Try it now and let me know if you have any more issues.
Obsidian Portal Developer
Just like magic, it works now. Now to ummm... make this css not look like it was written by a mostly back end dev pretending to be full stack.
@thaen Before I pull my hair out here, is there something possibly that might be preventing the usage of the CSX libraries on a wiki page? If not I've just cocked something up and I'll go back to poking.
Related. Only one of my campaigns seems to be able to see the Dynamic Sheet Template field on new wiki pages. Double checked that the others (I am also DM of those) have the "DSTs on Wiki Pages and Items" checkbox checked at /settings/advanced-settings
Even a brand new campaign doesn't seem to work.
I'd like to play in an environment that doesn't have a bunch of custom css floating about so I know what this thing is really going to look like. Fairly confident I have ported most of the css over but I've surely missed something.
Before I pull my hair out here, is there something possibly that might be preventing the usage of the CSX libraries on a wiki page? If not I've just cocked something up and I'll go back to poking.
I'm not familiar with the CSX libraries, but I would open the console on the browser and see if it's quietly throwing any errors.
I don't think there is any processing on the js, so you shouldn't be running into any issues in development. BUT, I think in the DST documentation, it says that DSTs can't use external libraries ... aside from Chainsaw's. So you shouldn't have issues developing your DST, but you might get a request from the approver to remove the external library (or roll whatever you need into your code locally). (As I understand it, this is so the content of the libraries can't be changed out after the fact and break the DST.)
Related. Only one of my campaigns seems to be able to see the Dynamic Sheet Template field on new wiki pages. Double checked that the others (I am also DM of those) have the "DSTs on Wiki Pages and Items" checkbox checked at /settings/advanced-settings
Even a brand new campaign doesn't seem to work.
Try setting the Game System of the Campaign to your DST's Game System. The field only shows if there are DSTs to show. (There are some edge cases that are exceptions ... but that's the general case.)
Obsidian Portal Developer
@thaen The system selection was 100% the issue, thanks for that.
I should have been more clear, I was referring to the Chainsaw's work, specifically the dynamic lists bit. I'll keep poking at it though. It will be easier to rule out any of my other custom work now that I can use this DST in a fresh game.
I solved my own problem. It was most definitely me. I had forgotten to include one of the required divs for those libraries to function. Sadly there was no error, I just had to go back to one of the sheets in the repo and start comparing.
Not exactly sure where the best place to get feedback for this is but thought I'd start here (also in discord). I have taken a stab at turning one of my wiki page formats into something a little more generic. It's a sort of Gazetteer type thing based on a familiar wiki style of thing. I'm including a pic of it in a vanilla game and in one with custom styling. I left the color on for the table (this can be overridden in custom css of a site) but felt it looked a better example of what you can do with that readily visible.
Please let me know what you think: